ST_SercosParamAttrib
ST_SercosParamAttrib contains the data of the bit string nAttrib split into separate variables.
TYPE ST_SercosParamAttrib :
STRUCT
nFactor : UINT; (* bits 0..15 *)
eLength : E_SercosAttribLen; (* bits 16..18 *)
bCommand : BOOL; (* bit 19 *)
eType : E_SercosAttribType; (* bits 20..22 *)
bReserved1 : BOOL; (* bit 23 *)
nComma : USINT; (* bits 24..27 *)
bWriteProtCP2 : BOOL; (* bit 28 *)
bWriteProtCP3 : BOOL; (* bit 29 *)
bWriteProtCP4 : BOOL; (* bit 30 *)
bReserved2 : BOOL; (* bit 31 *)
END_STRUCT
END_TYPE
Requirements
Development environment | Target system type | PLC libraries to include |
---|---|---|
TwinCAT v2.8.0 Build > 735 | PC (i386) | TcIoFunctions.Lib ( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib are included automatically ) |