E_EcAdressingType

Addressing in EtherCAT is either position-dependent (eAdressingType_AutoInc), based on a fixed, configured address (eAdressingType_Fixed) or applies to all slaves (eAdressingType_Broadcast).

TYPE E_EcAdressingType :
(
eAdressingType_AutoInc:=1, (* Adress slave by it's position. (adp = 1-position, 1.Slave = 0, 2.Slave = 0xffff(-1) etc) *)
                (* EtherCAT commands: APRD, APWR, APRW *)
eAdressingType_Fixed, (* Adress slave by configured ethercat slave address (adp = configured address) *)
                (* EtherCAT commands: FPRD, FPWR, FPRW *)
eAdressingType_Broadcast    (* Adress all slaves. *)
                (* EtherCAT commands: BRD, BWR, BRW *)
);
END_TYPE

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_EtherCAT