FB_SimCoE402_Inverter

This simulation corresponds to an inverter axis and can be used to replace a real inverter drive by providing compatible mapping elements and emulating behavior very similar to that of a real axis.
The FB provides mapping elements for CoE interfaces of basic frequency inverters (FI) that match the interfaces implemented by the adapter FB for this drive type. Mapping is done in the same way as for the real drive unit.
Syntax:
FUNCTION_BLOCK ABSTRACT FB_SimCoE402_Inverter EXTENDS FB_SimAxCommon
VAR_INPUT
EtC_Device AT %Q* : FB_EtC_SimDevice;
END_VAR
I/O variables
Name | Type | Direction | Description |
---|---|---|---|
EtC_Device | FB_EtC_SimDevice | Input/Output | Diagnostic interface for an EtherCAT-capable device. |
Properties
Name | Type | Access | Description |
---|---|---|---|
ActualPosition | LREAL | Get, Set | Simulated axis position. |
FB_SimCoE402_Inverter | |||
Load | LREAL | Get, Set | Here you can specify a load that is claimed by a simulated process. |
MaxTurnRate | LREAL | Get, Set | The maximum turn rate of the drive. |
MinTurnrate | LREAL | Get, Set | A minimum turn rate can be specified here. If a value > 0.0 is specified, the drive ignores set turn rates below this threshold and a dead band is created. If the default is less than 10 RPM, it is assumed that the inverter supports vector control. |
OutputFactor | LREAL | Get, Set | Multiplier for the output. |
RampTime | LREAL | Get, Set | Here the time for the ramp from zero to |
ReferenceLoad | LREAL | Get, Set | A reference value for Load. |
VectorControlled | BOOL | Get | A If |
FB_SimAxCommon | |||
ActualVelocity | LREAL | Get, Set | Simulated axis velocity. |
AbsolutSwitch | BOOL | Get | This runtime value provides information about the simulated feedback signal as defined by |
AbsSwitchHighEnd | LREAL | Get, Set | This parameter defines the threshold value for the case . |
AbsSwitchHighSelect | BOOL | Get, Set | This parameter defines the active |
AbsSwitchLowEnd | LREAL | Get, Set | This parameter defines the threshold value for the case |
CycleTime | LREAL | Get, Set | This parameter must be initialized with the update calling cycle of the |
DenyEnable | BOOL | Get, Set | A |
EncoderInterpolation | LREAL | Get, Set | This parameter must be initialized with the same value as the corresponding parameter in the motion technology:
|
EncoderNoiseLevel | LREAL | Get, Set | The simulated axis offers the possibility to disturb the reported position with a pseudo-random white noise. This is realized by a |
EncoderWeighting | LREAL | Get, Set | This parameter must be initialized with the same value as the corresponding parameter in the motion technology:
|
EncoderZeroShift | LREAL | Get, Set | This parameter must be initialized with the same value as the corresponding parameter in the motion technology:
|
HighSideBlock | LREAL | Get, Set | The simulated position of the actuator is limited to a value less than or equal to this parameter. |
HighSideEndswitch | LREAL | Get, Set | This parameter defines the |
HighSideSpringLengt | LREAL | Get, Set | This parameter defines the length of a simulated spring-like effect at the upper side of the actuator stroke. |
LowerEndSwitch | BOOL | Get | This runtime value provides information about the state of a simulated sensor. Becomes |
LowSideBlock | LREAL | Get, Set | The simulated position of the actuator is limited to a value above or equal to this parameter. |
LowSideEndswitch | LREAL | Get, Set | This parameter defines the |
LowSideSpringLength | LREAL | Get, Set | This parameter defines the length of a simulated spring-like effect at the lower side of the actuator stroke. |
MovingMass | LREAL | Get, Set | This parameter can be used to define a moving mass. It is used to calculate dynamic acceleration and deceleration forces, torques or pressures. |
NoBlock | BOOL | Get, Set | If this parameter is set to |
Reversed | BOOL | Get, Set | The simulated axis works inverted. |
UpperEndSwitch | BOOL | Get | This runtime value provides information about the state of a simulated sensor. Becomes |
Methods
Name | Description |
---|---|
This method can be used to simulate an error situation on the simulated axis. | |
FB_SimCoE402_Inverter | |
Cyclic() | Cycle method |
TriggerError()1 | A call to this method places the simulated drive into the error state. |
Prerequisites
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.56 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v12.8.2.0) |