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

Name

Type

Description

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.

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)