Chapter 8 Using SDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01
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
CardNo
lock
Example
U16 CardNo=0;
U16 lock;
I16 status = _DMC_01_check_canopen_lock (CardNo, &lock);
8-6
Unit
U16
Number Unit
U16*
Selection
Description
CardNo is between 0~15
0: Not locked. Can execute next command.
1: Locked, must wait for current execution to
finishing executing.
Revised March, 2012