Mitsubishi NZ2GFCF-D62PD2 User Manual page 196

Cc-link ie field network high-speed counter module
Table of Contents

Advertisement

(c) Counter function programs
• Program for starting/stopping the counter
• Program for reading counter present value
• Program for the preset/replace function
• Program for reading the latch count value (latch counter input terminal)
• Program for the count disable function
• Program for the latch counter function
194
Turn on CH1 Count enable command.
Turn off CH1 Count enable command.
Read CH1 Present value to D1116 to D1117.
Turn on CH1 Preset/replace command.
Turn off CH1 Preset/replace command.
Read CH1 Latch count value
(Latch counter input terminal) to D1124 to D1125.
Turn on CH1 Latch count value update flag reset
command (Latch counter input terminal).
Turn off CH1 Latch count value update flag reset
command (Latch counter input terminal).
Turn on CH1 Selected counter function
start command.
Turn off CH1 Selected counter function
start command.
Turn on CH1 Selected counter function
start command.
Turn off CH1 Selected counter function
start command.
Read CH1 Latch count value to D1118
to D1119.
Turn on CH1 Update flag reset command
(Latch count value).
Turn off CH1 Update flag reset command
(Latch count value).

Advertisement

Table of Contents
loading

Table of Contents