7
- 11
7.2 Program Example when GX Configurator-CT is not Used
7.2.2 Program example when dedicated instructions are not used
7
PROGRAMMING
Set only when the
linear counter
function is used.
Set only when the
periodic pulse
counter function
is used.
<Present value storage>
Module
READY
Present value
read signal
<Processing at count coincidence>
Module
READY
CH1
Counter
value
coincidence
<Preset execution>
Module
READY
Preset
command
signal
<Periodic pulse counter function>
Module
READY
<Overflow detection processing>
Module
READY
Previous
periodic
pulse count
value
storage
Judgment
value for
updated
periodic
pulse count
value
Periodic
pulse
count data
read
command
Periodic pulse
count start
command
Overflow
status
storage
Overflow
occurrence
confirmation
LED signal
Overflow
status
storage
CH1 Periodic
pulse counter
start command
CH1 Preset
command
CH1
Coincidence
signal reset
command
CH1
Coincidence
signal reset
command
Coincidence
confirmation
LED signal
Present
value
storage
CH1
Present
value A
Previous
periodic
pulse count
value
storage
Previous
periodic
pulse count
value
storage
CH1
Overflow
detection flag
CH1
Coincidence
signal reset
command
CH1
Counter
value
coincidence
Coincidence
LED clear
signal
CH1
Counter
value
coincidence
CH1
Coincidence
signal reset
command
\
\