Communication Protocols
Copyright IXXAT Automation GmbH
108
IEM Manual, 1.5
5.3.4.2 Protocol specific parameters
In addition to addressing by index and subindex, the EtherCAT implementation
of object flags is supported. Object flags contain additional information about
the object type (
VAR
iable,
ARR
ay or
REC
ord) and its maximum subindex
count. For PDO mapped data with subindex > 0 (ARR or REC type), the sub-
index 0 represents the highest subindex available.
5.3.4.3 Protocol specific attributes
EtherCAT offers state dependent access rights. The IEM supports limited write
access depending on the device state, extending the generic access.
Objects can be defined to be visible as backup or settings objects. The attrib-
utes have to be masked with the corresponding definitions therefore.
5.3.5 Initialization area
The initialization area is the acyclic data area used for init configuration at ear-
ly initialization phase. For EtherCAT, this area can be used for device identifi-
cation settings and data mapping contents.
5.3.5.1 Device addressing
The EtherCAT device can be addressed using data provided by the device info
area. This data have to be filled at early initialization phase. A fix station ad-
dress can be assigned and is stored automatically.
See Figure 5-16 for the layout of the structure
COM_t_ECT_DEVICE_INFO
de-
fined at COMect.h
Typedef struct
{
UINT32 dw_DeviceType_1000;
UINT32 dw_VendorId_1018_01; /* sub 1 */
UINT32 dw_ProductCode_1018_02; /* sub 2 */
UINT32 dw_RevisionNo_1018_03; /* sub 3 */
UINT32 dw_SerialNo_1018_04; /* sub 4 */
UINT16 w_StationAdr_1100;
UINT16 w_actLength_1008;
UINT16 w_actLength_1009;
UINT16 w_actLength_100A;
UINT8 s_ManufactDevName_1008[COM_k_ECT_MAX_VISIBLE_STRING_SIZE];
UINT8 s_ManufactHwVers_1009[COM_k_ECT_MAX_VISIBLE_STRING_SIZE];
UINT8 s_ManufactSwVers_100A[COM_k_ECT_MAX_VISIBLE_STRING_SIZE];
} COM_t_ECT_DEVICE_INFO;
Figure 5-16: Data structure used during configuration download