![Mitsubishi Electric MELSEC FX-1HC Скачать руководство пользователя страница 8](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx-1hc/melsec-fx-1hc_user-manual_239068008.webp)
(5) BFM #13, #12 Comparison value for YH output, BFM #15, #14 Comparison value for YS output
●
After comparing the current value of the counter with
the value written in BFM #13 and #12, BFM #15 and
#14, the hardware and software comparator in the FX-
1HC outputs the comparison result.
●
YH, YS output will not turn ON if you use PRESET or
the TO instruction to set the counter value equal to the
comparison value. It will turn ON only when a match
occurs by the counting of input pulses.
●
The YS comparison operation takes about 300
µ
s, and
if a match occurs, the output goes ON.
●
Output occurs when the current value becomes equal
to the compare value but only if b1 and b2 of BFM #4
are ON. Once an output is set, it remains ON until it is
reset by b9 or b10 of BFM #4. If b3 of BFM #4 is ON,
however, one of the outputs is reset when the other is
set.
Current value
Current value
Current value
Current value
BFM #4
b9, b10
BFM #4
b9, b10
Coincidence output
Coincidence output
(6) Counter current value (BFM #21, 20)
The current value of the counter can be read by the PC. It will not be the correct value during high-speed
operations because of the communication delay. The current value of the counter can be forcibly changed
by writing a 32-bit value into the appropriate BFMs from the PC.
(7) Maximum count value (BFM #23, 22)
These store the maximum and minimum value reached by the counter. If the power is turned off, the
stored data is cleared.
(8) Comparison status (BFM #26)
When ‘1’ (ON)
Set value
>
current value
Set value
=
current value
Set value
<
current value
BFM #26 is for reading only. Write commands from the programmable controller are ignored.
(9) Terminal status (BFM #27)
BFM #27
b2
b3
b4 to b15
When ‘0’ (OFF)
YH output is OFF.
YS output is OFF.
When ‘1’ (ON)
YH output is ON.
YS output is ON.
Undefined
BFM #26
YH
b0
b1
b2
When ‘0’ (OFF)
Set value
≤
current value
Set value
≠
current value
Set value
≥
current value
When ‘1’ (ON)
Set value
>
current value
Set value
=
current value
Set value
<
current value
BFM #26
YS
b3
b4
b5
When ‘0’ (OFF)
Set value
≤
current value
Set value
≠
current value
Set value
≥
current value
BFM #27
b0
b1
When ‘0’ (OFF)
PRESET input is OFF.
DISABLE input is OFF.
When ‘1’ (ON)
PRESET input is ON.
DISABLE input is ON.