IAI America XSEL-QX User Manual
Page 344

320
Part 4 Commands
z ECMD3 (Get overrun sensor status)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
ECMD 3
Axis
number
CC
[Function]
Reflect in the output field the overrun sensor status corresponding to the “axis number”
specified in operand 2.
(Note)
x The overrun sensor status to be obtained is not an electrical level of H or L, but a
differential/non-operating status that takes into consideration the setting of Axis-specific
parameter No. 15, “Overrun-sensor input polarity.”
If “0” (Not used) is set in Axis-specific parameter No. 15, “Overrun-sensor input polarity,”
the sensor status (output field) is deemed indeterminable and its use will be prohibited.
The output port/flag specified in the output field will be operated only when this command
is executed.
Accordingly, this command must be executed repeatedly if you want to constantly reflect
the sensor status in the output port/flag.
[Example]
ECMD
3
1
890
Output the overrun status of axis 1 to output port No.
890.
z ECMD4 (Get creep sensor status)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
ECMD 4
Axis
number
CC
[Function]
Reflect in the output field the creep sensor status corresponding to the “axis number”
specified in operand 2.
(Note)
x The creep sensor status to be obtained is not an electrical level of H or L, but a
differential/non-operating status that takes into consideration the setting of Axis-specific
parameter No. 16, “Creep-sensor input polarity.”
If “0” (Not used) is set in Axis-specific parameter No. 16, “Creep-sensor input polarity,”
the sensor status (output field) is deemed indeterminable and its use will be prohibited.
The output port/flag specified in the output field will be operated only when this command
is executed.
Accordingly, this command must be executed repeatedly if you want to constantly reflect
the sensor status in the output port/flag.
[Example]
ECMD
4
2
315
Output the creep status of axis 2 to output port No. 315.