ST_SercosParamAttrib

ST_SercosParamAttrib contains the nAttrib attribute of the Sercos parameter, broken down into individual variables.

TYPE ST_SercosParamAttrib :
STRUCT
    nFactor       : UINT;
    eLength       : E_SercosAttribLen;
    bCommand      : BOOL;
    eType         : E_SercosAttribType;
    bReserved1    : BOOL;
    nComma        : USINT;
    bWriteProtCP2 : BOOL;
    bWriteProtCP3 : BOOL;
    bWriteProtCP4 : BOOL;
    bReserved2    : BOOL;
END_STRUCT
END_TYP

nFactor: bits 0..15.

eLength: bits 16..18. (Type: E_SercosAttribLen).

bCommand: bit 19.

eType: bits 20..22. (Type: E_SercosAttribType).

bReserved1: bit 23.

nComma: bits 24..27.

bWriteProtCP2: bit 28.

bWriteProtCP3: bit 29.

bWriteProtCP4: bit 30.

bReserved2: bit 31.

Requirements

Development environment

Target platform

IO hardware

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC (x86)

Sercans SCS-P ISA; Sercans SCS-P PCI;
Beckhoff FC750x PCI

Tc2_IoFunctions (IO)