Lamps, Touch Switches, Numeral Setting; Notification And Control Of Touch Switches - Omron NT20S Operation Manual

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

Advertisement

Lamps, Touch Switches, Numeral Setting

6-4

Lamps, Touch Switches, Numeral Setting

Reference: When the status of an NT20S touch switch is changed - for example by pressing it -
6-4-1

Notification and Control of Touch Switches

208
This section describes the commands for operating the lamps, touch switches.
In order to change the display status (lit (flashing) or unlit) of a lamp or touch
switch, use the Lamp and Touch Switch Display Commands. There are two such
commands, one for bit specification and the other for number specification.
The Lamp and Touch Switch Display Status Enquiry Command is used to ascer-
tain the status of a lamp or touch switch. When this command is executed the
NT20S returns the Lamp/Touch Switch Display Status Response Command.
the Touch Switch Number Output Command is sent to the host. When a numerical
value is input by pressing a touch switch to which a numeral setting function has
been allocated, a Number Input Notify Command is sent to the host.
If a touch switch is pressed, the corresponding touch switch number or bit informa-
tion is sent to the Host. Conversely, to turn ON a touch switch or cause it to flash,
the touch switch # or bit information is sent from the Host.
The type of data relating to the touch switch notification is specified with the "bit
input attribute" in the screen attributes when creating the screen data with the sup-
port tool. It is not permissible to use both notification and control by a touch switch
number and notification and control by bit information on the same screen.
Press
START
abcde
Lit
S Bit touch switch method (bit input permitted setting)
If a touch switch is pressed, bit information is sent in accordance with the posi-
tion of the touch switch. It can be used as a normal bit input switch at the PC side.
When this method is used, if more than one touch switch is pressed at the same
time, the information of all the pressed touch switches (0 to 63) is reported to the
Host.
S Touch switch # method (bit input not-permitted setting)
If the touch switch status is changed, the touch switch number set when the
touch switch is created is sent as a 8-digit hexadecimal number.
NT20S
Touch switch # or
bit information
Lighting command
Section 6-4
HOST

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents