13 CANopen Communication Card „ Normal mode In normal mode, the user has to set up PDO parameters between DVP-FPMC (Master) and the Slave. In addition, use FROM/TO instructions to set up the control registers of DVP-FPMC and apply SDO protocol to write in the PDO parameters of servo. Please follow the PDO setting process below: z PDO transmission parameter settings PDO parameters contain Frame ID and synchronization cycle. Set range of frame ID is between 181h~578h. Please note that Frame ID and synchronization cycle should be the same between the corresponding PDOs of Master and Slave. The 2 types of PDO, the transmitting PDO (TPDO) and the receiving PDO (RPDO) will be explained as below:
1. TPDO settings 1800H~183FH of DVP-FPMC serves as TPDO, corresponding to RPDO of the Slave. For example, set up the OD index H1800 (TPDO) of Master to communicate with the OD index 143F(RPDO) of Slave with the frame ID H181 and sync cycle time 240 as the diagram below. FPMC Slave OD Index CR# Transmit PDO Received PDO 2. RPDO settings 1400H~143FH of DVP-FPMC serves as RPDO, corresponding to TPDO of the Slave. For example, set up the OD index H1438 (RPDO) of Master to communicate with the OD index 1800 (TPDO) of Slave with the frame ID H400 and sync cycle time 5 as the diagram below.
FPMC Slave Transmit PDO CR# OD Index Received PDO z PDO mapping parameter settings Set up the mapping target and the data length of PDO data buffer. The max data length can be 64 bits, DVP-PM Application Manual 13-23 H1800 Syn c cycle=240 Frame ID=H181 143F Sync cycle=24 0 Frame ID=H181 H1438 Sync Cycle=5 Frame ID=H400 1800 Sync Cycle=5 Frame ID=H400