LAN9252 limits the number of Sync managers supported to 4, so as we now support FoE and CoE for SDO we need all of them: 2 for the PDOs and 2 for the SDOs
Sync manager
Type
Address
Name
Frequency
Size
Description
0
MAILBOX
0x1000
MBXOut
-
128B
SDO and FoE request
1
MAILBOX
0x1180
MBXIn
-
128B
SDO and FoE respense
2
BUFFERED
0x1300
OrbitaIn
1kHz
-
Orbita PDO outputs at 1kHz
3
BUFFERED
0x1400
OrbitaOut
1kHz
-
Orbita PDO inputs at 1kHz
Therea are two types of Sync Managers available for EtherCAT communiction: BUFFERED and MAILBOX.
The BUFFERED type is used for the OrbitaIn, OrbitaState and OrbitaOut PDOs, because we want to send the data as fast as possible (at 1kHz).BUFFERED type buffers the data in the master and we do not see any potential data loss if the slave is not able to read/write the data in time.
The MAILBOX type is used for the ansyn data exchange with request/response mechanism handskahe confirmation.
It cannot be used in runtime (only when the LAN9252 is in the PREOP state)
It is used for SDO communcation
It is used to FoE firmware update
PDO structure
Here is the chosen structure of the PDOs. They now follow relatively well the CiA4 standard. The Indexes correspond to the indexes in the standard and the sub-indexes correspond to the axis of the actuaror 2 axis for orbita2d and 3 axis for orbita 3d.
OrbitaIn (RxPdo) - Master to Slave
OrbitaState (TxPdo) - Slave to Master
OrbitaOut (TxPdo) - Slave to Master
Attribute
OrbitaIn (RxPdo)
OrbitaState (TxPdo)
OrbitaOut (TxPdo)
sm_type
BUFFERED
BUFFERED
BUFFERED
sync manager
2
3
3
address
1000
1200
1300
name
OrbitaIn
OrbitaState
OrbitaOut
write frequency
1kHz
1kHz
1kHz
orbita2d size
43 Bytes
31 Bytes
27 Bytes
orbita3d size
63 Bytes
45 Bytes
39 Bytes
Some important notes
LAN9252 limits the number of Sync managers supported to 4, so as we now support FoE and CoE for SDO we need all of them: 2 for the PDOs and 2 for the SDOs
So both output PDOs are using the same Sync manager 3 and the input PDOs are using the Sync manager 2