Beckhoff CX B110 Series Manual page 30

Ethercat slave optional interface for cx9020, cx5xx0 and cx20xx
Table of Contents

Advertisement

Parameterization and commissioning
Data structure sample
byTest: BYTE;
udTest: UDINT;
ARM address
Byte Offset 0
Byte Offset 4
Sum: 8 byte
You can determine the length of a data structure on both systems using the command SIZEOF. If there is a
difference here, this indicates that something is wrong with the data structure.
This problem can be solved by more skillful arrangement of the variables or by working with filler or dummy
variables.
ARM address
Byte Offset 0
Byte Offset 4
Sum: 8 byte
Filler or dummy variables can be used to adjust the length of the data structure, in order to avoid problems
caused by potential differences.
30
ARM variable
Byte
UDINT
ARM variable
Byte
UDINT
Version: 1.3
Address x86
Byte Offset 0
Byte Offset 1
Sum: 5 byte
Address x86
Byte Offset 0
Byte Offset 1
Byte Offset 2
Byte Offset 3
Byte Offset 4
Sum: 8 byte
ARM variable
BYTE
UDINT
ARM variable
BYTE
BYTE (Dummy1)
BYTE (Dummy2)
BYTE (Dummy3)
UDINT
CXxxxx-B110

Advertisement

Table of Contents
loading

Table of Contents