Chapter 8 Using SDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01
8-6 Revised March, 2012
8.2 _DMC_01_check_canopen_lock
FORMAT
I16 PASCAL _DMC_01_check_canopen_lock (U16 CardNo, U16 *lock)
Purpose
Checks to see if the next command can be executed under SDO mode.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
lock U16* Selection
0: Not locked. Can execute next command.
1: Locked, must wait for current execution to
finishing executing.
Example
U16 CardNo=0;
U16 lock;
I16 status = _DMC_01_check_canopen_lock (CardNo, &lock);