Lit (Flashing) And Unlit Touch Switch Statuses (Changing The Status Of Allocated Bits); Notifying The Host That A Switch Has Been Pressed (Determining Touch Switch Status) - Omron NT20S Operation Manual

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

Advertisement

Lamps, Touch Switches, Numeral Setting
5-3-4
Lit (Flashing) and Unlit Touch Switch Statuses
(Changing the Status of Allocated Bits)
Procedure 1. Use the support tool to allocate the touch switch lamp bits to the PC memory.
5-3-5
Notifying the Host that a Switch has been Pressed
(Determining Touch Switch Status)
This section describes how to change the statuses of allocated bits and thereby
the statuses of the touch switches displayed by the NT20S.
The statuses of touch switches displayed by the NT20S are changed by switching
the control bits allocated in the PC memory ON and OFF.
Lit
Touch switch #1
The status of the lamp bit reflects the touch switch status, as follows:
0 (OFF):
Unlit
1 (ON):
Lit (inverse display) or flashing
2. When creating the screen data using the support tool, register the touch
switch for a screen.
3. Create the PC program to switch the lamp bit of the touch switch ON and
OFF.
Set whether the lamp lights continuously or flashes when the bit comes ON
by setting the touch switch display attribute with the support tool.
This section describes how the status of a touch switch (whether it has been
pressed or not) is ascertained.
With the NT20S, when a touch switch is pressed, the notify bit allocated to that
touch switch in the PC memory is automatically notified.
Touch switch #1
NT20S
NT20S
Section 5-3
PC
Allocated bit (touch switch #1)
1
1 (ON)
PC
Allocated notify bit (touch switch #1)
1
183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents