1.5.10 Pulse train input function
M8060 is a start command for the built-in PLC high-speed input counting function.
M8061 is a built-in PLC high-speed input count clear command.
D8060 is the low 16 bits of the built-in PLC high-speed input count value.
D8061 is the high 16 bits of the built-in PLC high-speed input count value.
The pulse is counted by the HDI port input of SA3 and SF3. At this time, P.550 is set to 54 or input from the
M2 terminal of SE3. At this time, P.82 should be set to 54. The wiring method is the same as that in the general
mode. The highest pulse frequency that can be identified by high-speed counting is 100KHZ.
As shown in the figure below, when X0 closes and M8060 is set, the high-speed input count is started. The
current count value is stored in D8060 and D8061. D8060 transmits the low sixteen bits of the current count value
to D0, and D8061 transmits the current high-speed count value to D1. When X1 is closed, the values in D8060
and D8061 return to zero.
Note: When M8060 or M8061 is edited in the PLC program, the original function of HDI with P.550 set to 54 in
SA3 and SF3 becomes invalid when PLC is valid, and the original function of M2 terminal with P.82 set to 54
in SE3 becomes invalid.