Chapter 6 Applied Instructions ③ Drop the shifting counter value: when the signal is unstable (the number of filters is not sufficient). ④ Record the counter value to the compared stack area for the entering-work-station ones, when the signal is stable. ⑤ Record the counter value to the compared stack area for the leaving-work-station ones, when the signal is stable. 12. For PLC with FW V1.06.00 (V1.06.00 included) or higher versions: The following timing diagram shows executing the high-speed counter and filter (reading from right to left). ① PLC reads the current counter value and stores the value in a register. ② Drop the counter value:
the number of filters read is less than the number of filters set. ③ Record the counter value to the compared stack area for the entering-work-station ones, when the signal is stable. 6_ ④ Record the counter value to the compared stack area for the leaving-work-station ones, when the signal is stable. ⑤ The number of filters 13. When the signal is rising- or falling-edge triggered, and the PLC completes processing the filters, the PLC reads the high-speed counter value and adds one in the value of the head index. The PLC then records the entering and leaving counter results for each work station.
The compared counter result is the current counter value + reference value + observational error. For either rising- or falling-edge triggered, the value of the head index is incremented. The maximum value for the head index mx2 (the maximum number of objects). 14. The value of the head index is cyclically incremented, when the signal is rising- or falling-edge triggered and completes processing the number of filters (the default for trigger input is OFF). The maximum value for the head index is mx2 (the maximum number of objects). For example, if you set the number of objects to 10, the value of the head index (default: 0) is incremented to 1, 2, 3 to 20 and then 1, 2, 3 to 20 repeatedly.
When the value of the head index is 0, it means no object has entered after executing the instruction. The PLC adds one to the value of the head index, and then checks the value of the tail index. If the value (after adding one) in the value of the head index equals the value of the tail index, the PLC cancels the addition and records the counter result. 6-221