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

Programmable terminal
Hide thumbs Also See for NT-series:
Table of Contents

Advertisement

' 4  - 4     
6-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 control bits to the PC memory.
Reference
6-3-5
Notifying the PC 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 NT600S.
The statuses of touch switches displayed by the NT600S are changed by switch-
ing the control bits allocated in the PC memory ON and OFF.
NT600S
Lit
Touch switch 1
The status of the control 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 control bit of the touch switch ON and
OFF.
Set whether a touch switch will be continuously lit or blink when its bit has been
turned ON by setting the support tool touch switch display attributes.
This section describes how the status of a touch switch (whether it has been
pressed or not) is ascertained.
With the NT600S, when a touch switch is pressed, the notify bit allocated to that
touch switch in the PC memory is automatically notified.
Touch switch 1
NT600S
Section 5-3
PC
Allocated bit (touch switch #1)
1
1 (ON)
PC
Allocated notify bit (touch switch #1)
1

Advertisement

Table of Contents
loading

Table of Contents