Справочник Пользователя для Mitsubishi Electronics 0
68
8.3
Coincidence Output Function
This function compares the present counter value with the preset coincidence output point setting value and outputs a
signal when they match.
Up to two coincidence outputs can be set for each channel.
When using external output of the coincidence signal, turn on CH Coincidence signal enable command (Y2, YA)
beforehand.
signal when they match.
Up to two coincidence outputs can be set for each channel.
When using external output of the coincidence signal, turn on CH Coincidence signal enable command (Y2, YA)
beforehand.
(1) Operation of the coincidence output
The I/O numbers (X/Y) and the buffer memory addresses in (1) are for coincidence output point No.1.
For those of coincidence output point No.2, refer to the following.
For those of coincidence output point No.2, refer to the following.
• List of I/O Signals (Page 26, Section 3.4)
• List of Buffer Memory Areas (Page 27, Section 3.5)
• List of Buffer Memory Areas (Page 27, Section 3.5)
No.
Description
1)
Write a coincidence output point setting value to CH Coincidence output point No.1 (Un\G4, Un\G5, Un\G36,
Un\G37) of the high-speed counter module in 32-bit signed binary.
Un\G37) of the high-speed counter module in 32-bit signed binary.
2)
When the count value matches with the coincidence output point setting value, CH Counter value small (point
No.1) (X3, XA) turns off and CH Counter value coincidence (point No.1) (X2, X9) turns on.
No.1) (X3, XA) turns off and CH Counter value coincidence (point No.1) (X2, X9) turns on.
3)
Turn on CH Coincidence signal No.1 reset command (Y0, Y8) to reset CH Counter value coincidence (point
No.1) (X2, X9).
If CH Counter value coincidence (point No.1) (X2, X9) remains on, the next coincidence signal cannot be output.
No.1) (X2, X9).
If CH Counter value coincidence (point No.1) (X2, X9) remains on, the next coincidence signal cannot be output.
4)
When the counter value exceeds the coincidence output point setting value, CH Counter value large (point No.1)
(X1, X8) turns on.
(X1, X8) turns on.
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
1) 100
2)
3)
4)
103
102
101
100
99
98
to
2
1
0
Counter input pulse
CH Count enable command
(Y4, YC)
(Y4, YC)
CH Coincidence signal enable
command (Y2, YA)
command (Y2, YA)
CH Coincidence output point No.1
(Un\G4, Un\G5, Un\G36, Un\37)
(Un\G4, Un\G5, Un\G36, Un\37)
CH Counter value small
(point No.1) (X3, XA)
(point No.1) (X3, XA)
CH Counter value coincidence
(point No.1) (X2, X9)
(point No.1) (X2, X9)
CH Coincidence signal No.1 reset
command (Y0, Y8)
command (Y0, Y8)
CH Counter value large (point No.1)
(X1, X8)
(X1, X8)
CH Present value
(Un\G2, Un\G3, Un\G34, Un\35)
(Un\G2, Un\G3, Un\G34, Un\35)