Delta Electronics PCI-DMC-A01 Computer Hardware User Manual


 
Chapter 24 Synchronization Motion Control API | PCI-DMC-A01 / PCI-DMC-B01
24-2 Revised March, 2012
24.1 _DMC_01_sync_move
FORMAT
I16 PASCAL _DMC_01_sync_move(I16 CardNo)
Purpose
Starts motion sync.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
Example
U16 CardNo=0;
I16 status = DMC_01_sync_move (I16 CardNo);
24.2 _DMC_01_sync_move_config
FORMAT
I16 PASCAL _DMC_01_sync_move_config (I16 CardNo, U16 NodeID,U16 SlotID,I16 enable)
Purpose
Enables/disables motion sync.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
enable I16 Selection
0: Disable sync
1: Enable sync
Example
U16 CardNo=0, NodeID=1, SlotID=0;
I16 enable=1;
I16 status = _DMC_01_sync_move_config(I16 CardNo, U16 NodeID,U16 SlotID,I16 enable);