Explanation of commands – IAI America XSEL-S User Manual
Page 110

Chapter 3 Programs
102
Explanation of Commands
3.3.3 Extension Motion Control Board Input Operation Command
z
XCRP (extension motion control board axis pulse input counter clear)
Command, declaration
Extension
condition
(LD, A, O, AB, OB)
Input condition
(I/O/flag)
Command,
declaration
Operand 1
Operand 2
Output part
operation type
(output/flag)
E
N, Cnd
Cmnd
Operand1
Operand2
Pst
Optional
Optional
XCRP
Pulse input
channel No.
Prohibited
CP
[Function]
Clear the counter of pulse input channels specified in operand 1 to 0.
Caution
The counter cannot be cleared if extension motion control board axes are performing synchronous
movement by setting a specified channel as the master axis.
[Example 1] XCRP
0
Clear the counter of pulse input channel No. 0 to 0.
z
XGTP (extension motion control board pulse input counter current value acquisition)
Command, declaration
Extension
condition
(LD, A, O, AB, OB)
Input condition
(I/O/flag)
Command,
declaration
Operand 1
Operand 2
Output part
operation type
(output/flag)
E
N, Cnd
Cmnd
Operand1
Operand2
Pst
Optional
Optional
XGTP
Pulse input
channel No.
Prohibited
CP
[Function]
Read the current counter value of pulse input channel specified in operand 1 to variable 99.
[Example 1] XGTP
0
Acquire the counter of pulse input channel No. 0 to variable 99.
Caution
Extension motion control board input channel counters are 32-bit counters with sign.