FB_SimAxCommon

This class is used as a common platform for carrying out various types of axis simulations. It is not intended to instantiate objects.
Syntax:
FUNCTION_BLOCK FB_SimAxCommon
Properties
Name | Type | Access | Description |
---|---|---|---|
ActualPosition | LREAL | Get, Set | Simulated axis position. |
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. |
Interfaces
Type | Description |
---|---|
I_SimAxCommon | Standard interface for |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |