Chapter 8 Using SDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01
8.4
_DMC_01_set_pdo_mode
FORMAT
I16 PASCAL _DMC_01_set_pdo_mode (U16 CardNo, U16 NodeID, U16 SlotID, U16 Enable)
Purpose
Sets the use of CANopen protocol (PDO or SDO).
Parameters
Name
Data Type
CardNo
NodeID
SlotID
Enable
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0; //If Slot ID is set to 0, then the Slave is a servo drive
U16 Enable=1;
I16 status= _DMC_01_set_pdo_mode (CardNo, NodeID, SlotID, Enable);
8-8
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
U16
Selection
Description
CardNo is between 0~15
Node ID
Slot ID
0: PDO: DisablePDO, use SDO
1: PDO: enable PDO
Revised March, 2012