Mitsubishi Electric MELSEC iQ-R Series User Manual page 34

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

Advertisement

Program examples
■Program example 1
This example shows a program that starts the count operation when CH1 Count enable is turned on and stops when CH1
Count enable is turned off.
(0) 'CH1 Count enable' (Y18) is turned on.
(21) 'CH1 Count enable' (Y18) is turned off.
■Program example 2
This example shows a program that resets CH1 Accumulating counter comparison flag.
(44) 'CH1 Comparison signal reset request' (Y10) is turned on.
(68) 'CH1 Comparison signal reset request' (Y10) is turned off.
■Program example 3
This example shows a program that resets an error or alarm.
(71)'CH1 Error code' (Un\G9) is read. It is held even after the error is reset.
(90)'CH1 Alarm code' (Un\G10) is read. It is held even after the error is reset.
(98) 'CH1 Error reset request' (Y8) is turned on.
7 OPERATION EXAMPLES
32
7.2 Program Examples

Advertisement

Table of Contents
loading

Table of Contents