Download Print this page

Mitsubishi Electric MELSEC FX-1HC User Manual page 8

Special function block
Hide thumbs Also See for MELSEC FX-1HC:

Advertisement

(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.
(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)
BFM #26
When '0' (OFF)
Set value ≤ current value
b0
Set value ≠ current value
YH
b1
Set value ≥ current value
b2
BFM #26 is for reading only. Write commands from the programmable controller are ignored.
(9) Terminal status (BFM #27)
BFM #27
When '0' (OFF)
b0
PRESET input is OFF.
b1
DISABLE input is OFF.
When '1' (ON)
Set value > current value
Set value = current value
Set value < current value
When '1' (ON)
PRESET input is ON.
DISABLE input is ON.
Current value
Current value
BFM #4
b9, b10
Coincidence output
BFM #26
When '0' (OFF)
Set value ≤ current value
b3
Set value ≠ current value
YS
b4
Set value ≥ current value
b5
BFM #27
When '0' (OFF)
b2
YH output is OFF.
b3
YS output is OFF.
b4 to b15
Current value
Current value
BFM #4
b9, b10
Coincidence output
When '1' (ON)
Set value > current value
Set value = current value
Set value < current value
When '1' (ON)
YH output is ON.
YS output is ON.
Undefined

Advertisement

loading