
B–61863E/15
5. FUNCTIONAL INSTRUCTIONSPMC SEQUENCE PROGRAM
195
Specify the rotor indexing number.
Specify the address storing the current position.
Specify the address storing the goal position (or command value), for
example the address storing the CNC output T code.
Calculate the number of steps for the rotor to rotate, the number of steps
up to the position one position before, or the position before the goal.
When the calculating result is to be used, always check that ACT=1.
The direction of rotation for control of rotation via the shorter path is
output to W1. When W1=0, the direction is forward (FOR) when 1,
reverse (REV). The definition of FOR and REV is shown in Fig.5.12.8.
If the number given to the rotor is ascending, the rotation is FOR; if
descending, REV. The address of W1 can be determined arbitrarily.
When, however, the result of W1 is to be used, always check that ACT=1.
1
10
11
12 2
3
4
5
6
7
8
9
(a)
An example of a 12–position rotor
Indexing fixed position
FOR REV
1
4
3
212
11
10
9
8
7
6
5
(b)
Indexing fixed position
FORREV
Fig. 5.12.8 Rotation direction
5.12.4
Rotor Indexing Number
5.12.5
Current Position
Address
5.12.6
Goal Position Address
5.12.7
Operation Result
Output Address
5.12.8
Rotating Direction
Output (W1)