CheckAxisState()
Checks the current state of the TF8560 axis.
Syntax:
METHOD CheckAxisState : BOOL
VAR_INPUT
eState: BOOL;
bSendEvent: BOOL;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
eState | E_AxisState | Axis condition to be checked |
bSendEvent | BOOL | Logging an event when the checked state does not match. |
Outputs
Name | Type | Description |
---|---|---|
CheckAxisState | BOOL | Is TRUE if the axis state matches. |
Possible events
ID | Description | Alarm/Message |
---|---|---|
1000 | Axis is not in state ‘{0}’ | Message |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |