EasyManua.ls Logo

Intermec CK30

Intermec CK30
448 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended CommandsChapter 7
330 TE 2000
5250 Terminal Emulation Programmer’s Guide
Get Optical Inputs (#I)
Note: This extended command is supported on 248X Terminals only.
The Get Optical Inputs extended command returns a value representing
the state of all four optical inputs. This value is represented by an ASCII
character in the A–P range. If the ASCII value of the letter “A” is sub-
tracted from the value returned, the result will be a number from 0 to 15,
representing the state of the four inputs by bit positions: bit 0 is the optical
input 1; bit 1 is the optical input 2; etc. If a bit is “0” (or off), then the
input is off . If a bit is “1” (or on), then that input i s on. The following
table i temizes all possible combinations.
Get Optical Input Returned Values
Value Returned Optical Inputs: 1 2 3 4
A Off Off Off Off
B On Off Off Off
C Off On Off Off
D On On Off Off
E Off Off On Off
F On Off On Off
G OffOnOnOff
H On On On Off
I Off Off Off On
J On Off Off On
K Off On Off On
L On On Off On
M Off Off On On
N On Off On On
O OffOnOnOn
P On On On On
Line 1, Columns 2 and 3, contains the extended command “#I”. Line 2,
Column 1, receives the returned data in the following format, where “X”
is the return v alue:
\\0X<cr>
Line 24, Column 1, has the return status field. The status value returned
here will be “0” (the character for zero, not the value zero) for a good sta-
tus, indicating that the transaction is complete and without error. An error
will occur if this command is attempted from the wrong type of terminal.
However, no error is detected whe n you hav e a 248X Terminal without
terminal blocks. The status value returned when an error occurs is “1” (the
character, not the value).

Table of Contents

Other manuals for Intermec CK30

Related product manuals