Mitsubishi Electric MELSEC iQ-R Series User Manual page 35

Programmable controller
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Program example 4
This example shows a program that resets the CH1 sampling pulse number, CH1 accumulating count value, and CH1 input
pulse value.
(106)'CH1 Overflow detection flag' (Un\G6) is read.
(124)Reset request (1) is stored in 'CH1 Counter reset request' (Un\G386). 'Counter resetting' is turned on.
(135) 'Counter resetting' is turned off.
■Program example 5
This example shows a program that resets CH1 Carry over detection flag.
(141) 'CH1 Carry over detection flag' (Un\G7) is read.
(162) Reset request (1) is stored in 'CH1 Carry over reset request' (Un\G387). 'Carry over resetting' is turned on.
(171)'Carry over resetting' is turned off.
■Program example 6
This example shows a program that reads CH1 sampling pulse number.
(177) 'CH1 Sampling pulse number' (Un\G0) is read.
■Program example 7
This example shows a program that reads CH1 accumulating count value.
(200) 'CH1 Accumulating count value' (Un\G2, Un\G3) is read.
■Program example 8
This example shows a program that reads CH1 input pulse value.
(220)'CH1 Input pulse value' (Un\G4, Un\G5) is read.
7 OPERATION EXAMPLES
7.2 Program Examples
7
33

Advertisement

Table of Contents
loading

Table of Contents