ST_EcSlaveConfigData

The structure ST_EcSlaveConfigData contains the EtherCAT configuration data for an EtherCAT slave device.

TYPE ST_EcSlaveConfigData:
STRUCT
    nEntries        : WORD;
    nAddr           : WORD;
    sType           : STRING[15];
    sName           : STRING[31];
    nDevType        : DWORD;
    stSlaveIdentity : ST_EcSlaveIdentity;
    nMailboxOutSize : WORD;
    nMailboxInSize  : WORD;
    nLinkStatus     : BYTE;
END_STRUCT
END_TYPE

Name

Type

Description

nEntries

WORD

Used internally

nAddr

WORD

Address of an EtherCAT slave

sType

STRING

EtherCAT type of a slave

sName

STRING

Name of an EtherCAT slave

nDevType

DWORD

EtherCAT device type of a slave

stSlaveIdentity

ST_EcSlaveIdentity

Identity of an EtherCAT slave (see ST_EcSlaveIdentity)

nMailboxOutSize

WORD

Mailbox OutSize of an EtherCAT slave

nMailboxInSize

WORD

Mailbox InSize of an EtherCAT slave

nLinkStatus

BYTE

Link status of an EtherCAT slave

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_EtherCAT