
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
186
[Example 2]
Use of the counter to store the position of a rotor. (See Fig.5.9.6 (b))
L1
R200.1
REV
CTR
(SUB 5)
POS
X36.0
R200.1
0002
“ 1 ”
R200.1
R200.0
L1
R200.1
L1
R200.1
(UPDOWN)
(CN0)
(RST)
(ACT)
(3)
(2)
(1)
(0)
L1
R200.1
Fig. 5.9.6 (b) Ladder diagram for the counter, example 2
4
1
2
3
5
6
7
8
9
10
11
12
Fixed position for indexing
Fig. 5.9.6 (c) Indexing for a rotor
Fig.5.9.6 (b) shows a ladder diagram for a counter to store the position of
a rotor of Fig.5.9.6 (c).
(1) Control conditions
(a) Count start number
When a 12–angle rotor shown in Fig.5.9.6 (c) is used, the count
starting number is 1. Contact A of L1 is used for making CN0=1.
(b) Specify up and down
The signal REV changes according to the then direction of
rotation. It becomes 0 for forward rotation and 1 for reverse
rotation. Thus, the counter is an up counter for forward rotation
and a down counter for reverse rotation.
(c) Reset
In this example, since W1 is not used, RST=0, and contact B of
L1 is used.