
B–61863E/15
5. FUNCTIONAL INSTRUCTIONSPMC SEQUENCE PROGRAM
197
(a) Format
Specifies data length (1, 2, or 4 bytes). Use the first digit of the
parameter to specify the number of bytes.
1 : 1 byte
2 : 2 bytes
4 : 4 bytes
All numerical data (number of indexed positions for the rotating
elements, current address, etc.) are in the binary format.
Therefore, they require the memory space specified by data length.
(b) Rotating element indexed position address
Specifies the address containing the number of rotary element
positions to be indexed.
(c) Other parameters
For the functions and use of the other parameters, see Section 5.12.
See Section 5.12.
Fig. 5.13.6 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.
D The goal position is specified with CNC 32B of binary code (address
F26 to F29).
D The current position is entered with the binary code signal (address
X41) from the machine tool.
D The result of calculating the position one position before the goal is
output to address R230 (work area).
D Operation starts with the output TF (address F7.3) from the CNC.
D The coincidence check instruction (COIN) is used to detect the
deceleration and stop positions.
5.13.4
Parameters
5.13.5
Output for Rotational
Direction (W1)
5.13.6
Example of Using the
ROTB Instruction