
7. Programming
7.4. Basic Program
122
2MLF-HO2A, 2MLF-HD2A High Speed Counter Module User's Guide
R200
Honeywell
May 2010
Figure 58 – Read Present Count Value
The above figure demonstrates the example of reading present count value of CH0/CH1
using PLC scan program. Present count value of CH0 (U01.02, U01.03) is read onto the
areas of D00200 and D00201, and present count value of CH1 (U01.12, U01.13) is read
onto the areas of D00300 and D00301.
Setting of Compared Value and Compared Condition
The following figure shows the example of compared condition 5 (section compare-
included) with the minimum compared value of 500 and the maximum compared value
of 1000. Compared output is 0 respectively for the channel 0 and 1.
Figure 61 shows the example of the scan program with compared value and condition
specified, and compared output operation enabled.