
4.LADDER LANGUAGE B-63983EN/02
- 406 -
Output for rotational direction (W1)
See the ROT instruction.
Example of using the ROTB instruction
Fig. 4.13.2 (b) illustrates a ladder diagram for a 12-position rotor to be
controlled for rotation via the shorter path and for deceleration at the
position one position before the goal.
• The goal position is specified with NC 32B of binary code
(address F26 to F29).
• The current position is entered with the binary code signal
(address X41) from the machine tool.
• The result of calculating the position one position before the goal
is output to address R230 (work area).
• Operation starts with the output TF (address F7.3) from the NC.
• The binary compare instruction (CMPB) is used to detect the
deceleration and stop positions.