ADTECH9 Series CNC Programming Manual
4.10.22.
WRITEPLC Write Physical or Auxiliary Output Point
Function description: Write the auxiliary point with the signal quantity interacting with PLC and larger than
1024
Parameter: NUM: Port No. VAL Output Signal value (0 or 1)
Note: (NUM<512 Write physical output point OUT)
(NUM >=1024 NUM < = 7999 write auxiliary point, which is the auxiliary point with the signal quantity
interacting with PLC)
Returned value: If correct, it returns 0; If error, it returns the value >1
INT16U WRITEPLC(INT32U NUM,INT8U VAL)
4.10.23.
READPLC Read Physical or Auxiliary Output Point
Function description: Read physical or auxiliary output point
Note: (NUM < 512 Read physical input point)
(NUM >=1024 NUM < = 7999 Read auxiliary output point, which is the auxiliary point with the signal
quantity interacting with PLC)
If correct, it returns the auxiliary output coil value 0 or 1; If error, it returns value>1
INT16U READPLC(INT32U NUM)
4.10.24.
WAITPLC Timeout Waiting for Read of Physical or Auxiliary Input
Point
Function description: Timeout waiting for read of physical or auxiliary input point
Parameter NUM physical input point 0-511 or the auxiliarypoint 1024-7999 with signal quantity interacting
with PLC VAL read effective value (0 or 1) TIMEOUT>0 Timeout (ms) 0 Wait continuously until the
signal is detected or [Press the Reset to quit]
Returned value In case of VAL, it returns 0 In case of no VAL after timeout, returns 1; In case of error, it
returns the value>1
INT16U WAITPLC(INT32U NUM,INT8U VAL, INT32U TIMEOUT)
4.11
Special M Code
M Code for axis synchronization and dynamic mapping
Summary of Contents for CNC9640
Page 1: ...ADTECH9 Series CNC Programming Manual ...
Page 21: ...ADTECH9 Series CNC Programming Manual Workpiece Coordinate System Diagram ...
Page 44: ...ADTECH9 Series CNC Programming Manual 2 Occasions that inner corner rotates ...
Page 45: ...ADTECH9 Series CNC Programming Manual ...
Page 62: ...ADTECH9 Series CNC Programming Manual Manual insertion ...
Page 65: ...ADTECH9 Series CNC Programming Manual Tool radius compensation start and axis Z cut in action ...
Page 117: ...ADTECH9 Series CNC Programming Manual ...
Page 118: ...ADTECH9 Series CNC Programming Manual ...
Page 142: ...ADTECH9 Series CNC Programming Manual ...
Page 143: ...ADTECH9 Series CNC Programming Manual ...