FB_SoEDriveEnable
The FB_SoEDriveEnable function block enables a SoE drive in order to be able to subsequently supply it with setpoints using the function block FB_SoEDriveMoveVelocity.
Inputs
VAR_INPUT
bEnable : BOOL;
END_VAR
Name | Type | Description |
---|---|---|
bEnable | BOOL | Activates the SoE drive. |
/ Inputs/Outputs
VAR_IN_OUT
stSoeDriveIoInterface : ST_SoEDriveIoInterface;
END_VAR
Name | Type | Description |
---|---|---|
stSoeDriveIoInterface | ST_SoEDriveIoInterface | Data structure to which the process image of the SoE drive must be linked. |
Outputs
VAR_OUTPUT
bStatus : BOOL;
bDriveError : BOOL;
END_VAR
Name | Type | Description |
---|---|---|
bStatus | BOOL | If bStatus=TRUE, the drive is ready for operation and follows the setpoints. |
bDriveError | BOOL | The drive is in the error state. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT 3.1.4024.22 | PC or CX (x86 or x64) | Tc2_Drive |