
Chapter 7 Usage of Various Functions
7-93
3) Positioning Control Instruction(POSCTR)
Available device
Flag
Instruction
M P K L F T C S D
#
D
integer
No. of
steps
Error
(F110)
Zero
(F111)
Carry
(F112)
S
○
n1
○
○
○
○
○
○
○
○
○
○
○
5
○
S Channel
designation(0~1)
Error
(F110)
Error flag turns on when designating area is over
n1
Control instruction designation
0: Deceleration stop. 1:Emergency stop.
2: Error reset
■
POSCTR S n1
(1) Functions
•
Operates designated control operation at the rising edge of input condition.
- Deceleration stop : Stops positioning after deceleration
- Emergency stop : Stops positioning immediately without deceleration
- Error Reset : Resets occurred error and output prohibition signal.
(2) Example program
•
When input condition M0000 turns on, Ch.1 stops positioning after deceleration.
POSCTR
Positioning control instruction
Designation
Flag set