KsWriteAxisControlWord

Structured Text KsWriteAxisControlWord
Writes a value of the ControlWord variable into an axis.
Return Value
  DINT Error identification. See KsError.
Parameter
Axis AXIS_REF Reference to an axis.
Value WORD The value to write.
Used in the cyclic callback to update the control word of an axis.
Usable EtherCAT states
ecatOP