![background image](http://html.mh-extra.com/html/omron/nt20s/nt20s_operation-manual_744540227.webp)
208
Lamps, Touch Switches, Numeral Setting
Section 6-4
6-4
Lamps, Touch Switches, Numeral Setting
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.
Reference: When the status of an NT20S touch switch is changed - for example by pressing it -
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.
6-4-1
Notification and Control of Touch Switches
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
Lit
Touch switch # or
bit information
Lighting command
START
abcde
NT20S
HOST
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
Страница 1: ...Cat No V020 E1 04 NT20S Programmable Terminal OPERATION MANUAL ...
Страница 2: ...i ...
Страница 3: ...ii ...
Страница 4: ...iii NT series Programmable Terminal Operation Manual Revised August 1997 ...
Страница 5: ...iv ...
Страница 7: ...vi ...
Страница 11: ...x ...
Страница 19: ...xviii ...
Страница 129: ...110 ...
Страница 169: ...150 ...
Страница 253: ...234 ...