Справочник Пользователя для Mitsubishi Electronics QD64D2

Скачать
Страница из 154
5
FUNCTIONS
5.3 Using the Counter Value Comparison Function
5.3.2 Using the continuous comparison function
5
 - 15
1
O
V
ER
VI
E
W
2
S
YST
EM
 
CONF
IGURA
T
ION
3
S
P
E
C
IF
ICA
T
IONS
4
P
R
O
C
EDURES
 AND 
S
E
T
T
INGS
 B
E
F
O
RE
 
OP
E
R
A
T
ION
5
F
UNCT
IONS
6
UT
IL
IT
Y
 P
A
CK
A
G
E
 (
G
X
 
C
onfi
gurato
r-C
T
)
7
P
R
OGRA
M
MING
8
TR
O
U
BL
ESHO
O
T
IN
G
(2) Operation of the continuous comparison function 
Setting example for comparing between point 1 (1000) and point 2 
(21000) repeatedly using the continuous comparison No.1 is indicated 
below.
(a) Initial setting
Write the following values beforehand. *1
   Continuous comparison No.1 start point setting (Un\G50) = 1 
   Continuous comparison No.1 repeat point setting (Un\G51) = 2 
   Continuous comparison No.1 ON time setting (Un\G52) = 1ms 
   Continuous comparison No.1 point 1 setting (Un\G54 and 55) = 1000 
   Continuous comparison No.1 point 2 setting (Un\G56 and 57) = 21000
 * 1 The continuous comparison point can be set up to 16 points each. Beforehand, set all points to be 
used. (Refer to Section 3.4.1) 
If the settings of buffer memories for the continuous comparison No.1 start point setting (Un\G50) 
and so on are improper, an error (Error code 201 to 222) occurs and the continuous comparison 
cannot be started.
(b) Operation diagram
Figure 5.4 Operation example of the continuous comparison function
1)
2)
6)
3)
*1
*1
*1
*1
4)
5)
21001
*2 t1<t2< (t1+1ms)
Count enable command 
(Y06)
Continuous comparison 
No.1 execution command 
(Y09)
During continuous 
comparison No.1 execution 
(X09)
Continuous comparison No.1 
point monitor during comparison 
(Un\G86)
Counter value small No.1 
(X03)
Coincidence output No.1 terminal 
(EQU1)
Counter value coincidence No.1 
(X02)
Counter value large No.1 
(X01)
*1 t1 = Continuous comparison No.1 ON time setting (Un\G52)
Present value 
(Un\G12 and 13)
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
OFF
0
1
1
0
2
1
t1
t1
t2
t2
999 1000 1001
20999 21000