
4.LADDER LANGUAGE B-63983EN/02
- 404 -
4.13.2 ROTB (Binary Rotation Control: SUB 26)
This instruction is used to control rotating elements including the tool
post, ATC (Automatic Tool Changer), rotary table, etc. In the ROT
command a parameter indicating the number of rotating element
indexing positions is a fixed data in programming. For ROTB,
however, you can specify an address for the number of rotating element
index positions, allowing change even after programming. The data
handled are all in the binary format. Otherwise, ROTB is coded in the
same way as ROT.
Format
Fig. 4.13.2 (a) shows the ladder format and Table 4.13.2 shows the
mnemonic format.
¡ Format specification
¡¡¡¡ Rotating element indexed position address
¡¡¡¡ Current position address
¡¡¡¡ Target position address
¡¡¡¡ Arithmetic result output address
DIR
W1
POS
INC
CT
SUB 26
ROTB
RN0
*
*
*
*
Fig. 4.13.2 (a) Format of ROTB instruction