Omron NT20 User Manual page 219

Programmable terminal
Hide thumbs Also See for NT20:
Table of Contents

Advertisement

Lamps, Touch Switches, Numeral Setting
Example of Determination of Touch Switch Status
198
This example uses the touch switches as normal switches (bits) in order to
use the NT20 as an operating panel.
• Support Tool Settings
Make the following settings using the Support Tool.
Touch switch #10:
Function "Notify Bit"
Display attribute "Light"
Control bit 05000 (Run flag) ... Guide message: "RUN"
Notify bit 06000
Touch switch #11:
Function "Notify Bit"
Display attribute "Light"
Control bit 05000 (Stop flag) ... Guide message: "STOP"
Notify bit 06001
Data registered for the screen: touch switch #10, touch switch #11
Touch switch #10
Line 1
RUN
STOP
Touch switch #11
• PLC Program
Create the following ladder program.
1 scan ON
Touch switch #10 notify bit
11212
06000
06001
Touch switch #11 notify bit
05001
Touch switch #10 notify bit
06000
06001
05000
Touch switch #11 notify bit
Stop flag
05001
(touch switch #11 control bit)
Run flag
05000
(touch switch #10 control bit)
Section 5-3

Advertisement

Table of Contents
loading

Table of Contents