212
Lamps, Touch Switches, Numeral Setting
Section 6-4
6-4-2
Notification of numeral setting input and touch switch status
The following describes the commands for notifying the host when numeral setting
is performed (i.e., when the contents of a numeral memory table are changed by
pressing a touch switch) or when a touch switch is pressed, when operating the
NT20S.
When a numerical value is input by numeral setting, the NT20S sends a Number
Input Notify Command to the host. The command sent differs depending on
whether a 4-digit or 8-digit number is input.
When a touch switch is pressed, the NT20S sends a Touch Switch Number Output
Command or Touch Switch Bit Output Command to the host. The command sent
depends on the set screen attributes.
4-digit Number Input Notify
Format
1B
[ESC]
45
E
d
1
* *
d
2
* *
n
1
* *
n
2
* *
n
3
* *
n
4
* *
d
3
* *
0D
[CR]
d
1
d
2
d
3
:
Numeral memory table address to which number was input (3-digit
hexadecimal) 000 to 07F
H
(0 to 127)
n
1
n
2
n
3
n
4
: Input number data (4-digit BCD)
Description
A number with 4 transferred digits set with the NT20S number setting function is
reported to the Host with this command.
Caution:
This command cannot be used for negative numbers. Always set “8” as the num-
ber of transferred digits when negative numbers may be input.
8-digit Number Input Notify
Format
1B
[ESC]
46
F
d
1
* *
d
2
* *
n
1
* *
n
2
* *
n
3
* *
n
4
* *
d
3
* *
n
6
* *
n
7
* *
n
8
* *
0D
[CR]
n
5
* *
d
1
d
2
d
3
:
Numeral memory table address to which number was input (3-digit
hexadecimal) 000 to 07F
H
(0 to 127)
n
1
n
2
n
3
n
4
n
5
n
6
n
7
n
8
: Input number data (8-digit BCD)
Description
A number with 8 transferred digits set with the PT number setting function is re-
ported to the Host with this command.
When a negative number is written, n1 becomes “F” (46
H
) and the number com-
prises 7 digits.
Summary of Contents for NT20S
Page 1: ...Cat No V020 E1 04 NT20S Programmable Terminal OPERATION MANUAL ...
Page 2: ...i ...
Page 3: ...ii ...
Page 4: ...iii NT series Programmable Terminal Operation Manual Revised August 1997 ...
Page 5: ...iv ...
Page 7: ...vi ...
Page 11: ...x ...
Page 19: ...xviii ...
Page 129: ...110 ...
Page 169: ...150 ...
Page 253: ...234 ...