LK3U PLC High-speed counter instructions
Counter number | Distinguish | Input terminal assignment | ||||||||
X000 | X001 | X002 | X003 | X004 | X005 | X006 | X007 | |||
One-way single count input | C235 | H/W | U/D | |||||||
C236 | S/W | U/D | ||||||||
C237 | S/W | U/D | ||||||||
C238 | H/W | U/D | ||||||||
C239 | S/W | U/D | ||||||||
C240 | S/W | U/D | ||||||||
C241 | H/W | U/D | R | |||||||
C242 | S/W | U/D | R | |||||||
C243 | S/W | U/D | R | |||||||
C244 | H/W | U/D | R | S | ||||||
C245 | S/W | U/D | R | S | ||||||
One-way double count input | C246 | S/W | U | D | ||||||
C247 | S/W | U | D | R | ||||||
C248 | S/W | U | D | R | ||||||
C249 | S/W | U | D | R | S | |||||
C250 | S/W | U | D | R | S | |||||
Two-way double count input | C251 | H/W | A | B | ||||||
C252 | H/W | A | B | R | ||||||
C253 | H/W | A | B | R | ||||||
C254 | H/W | A | B | R | S | |||||
C255 | H/W | A | B | R | S | |||||
H/W: hardware counter | S/W:Software Counter | U:increase counter input | D:down counter input | |||||||
A:Phase A input | B:Phase B input | R:external reset input | S:external start input | |||||||
* Only X0-X5 supports high-speed input function, X6 and X7 do not support high-speed input function. | ||||||||||
DHSCS, DHSCR, DHSZ instruction | ||||||||||
* Three high-speed comparison instructions, the maximum number of simultaneous driving: 4 times (greater than 4 reports 6705); | ||||||||||
*When using hardware high-speed counter comparison, the response frequency does not change; DHSCS and DHSCR are performing real-time comparison; however, the interval comparison of DHSZ hardware is not real-time, but about 5us comparison; | ||||||||||
* When using the hardware high-speed counter, as long as DHSCS, DHSCR, DHSZ are driven, the comparison result will be output; | ||||||||||
* When using the software high-speed counter, the comparison is performed only when the high-speed counter has input; LK3U PLC-Communication port pin definition LK3U PLC Supported instructions LK3U PLC Special relay M function description LK3U PLC Special register D function description LK3U PLC High-speed counter instructions LK3U PLC High-speed counter instructions |