SimActuator
This class simulates a digital linear actuator.
Syntax:
FUNCTION_BLOCK FB_SimActuator
I/O variables
Name | Type | Direction | Description |
---|---|---|---|
bSensBase | BOOL | Output | Sensor for the base position of the actuator. |
bSensWork | BOOL | Output | Sensor for the working position of the actuator. |
bValveBase | BOOL | Input | Valve for the base position of the actuator. |
bValveWork | BOOL | Input | Valve for the working position of the actuator. |
Properties
Name | Type | Access | Description |
---|---|---|---|
DelayBase | LREAL | Get, Set | Delay between signal for base position and sensor signal. |
DelayWork | LREAL | Get, Set | Delay between signal for the working position and sensor signal. |
Enable | BOOL | Get, Set | Enable the simulation. |
HasMidPosition | BOOL | Get, Set | The simulated actuator valve has a middle position. |
SpringReturned | BOOL | Get, Set | The simulated actuator valve is spring-returned. |
Methods
Name | Description |
---|---|
Cyclic() | Cycle method |
Interfaces
Type | Description |
---|---|
I_SimActuator | Standard interface on FB_SimActuator. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.55 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v3.12.5.0) |