Mitsubishi NZ2GFCF-D62PD2 User Manual page 198

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

Advertisement

(d) Program for the comparison output function
• Program for the coincidence output function
(e) Program for overflow/underflow detection processing
(f) Program for an error/warning reset
(g) Program for reading the error history
196
Turn on CH1 Coincidence output
enable command.
Turn off CH1 Coincidence output
enable command.
Output Coincidence output 1 to Y0 of
an extension module.
Read Counter value greater/smaller
signal to D1100.
Turn on Reset command
(Coincidence output 1).
Turn off Reset command
(Coincidence output 1).
Output Coincidence output 2 to Y1 of
an extension module.
Read CH1 Status to D1132.
Output CH1 Underflow detection flag to
Y2 of an extension module.
Output CH1 Overflow detection flag to
Y3 of an extension module.
Read CH1 Latest error code to D1134.
Read CH1 Latest warning code to D1135.
CH1 Error reset command
The error history read is normally
completed.
Read Error history to
D3000 to D3239.
Turn off Error history read normal
completion flag.

Advertisement

Table of Contents
loading

Table of Contents