PROMOTION TECHNICAL REFERENCE MANUAL
Document 15774(1.0.0.0)
29
Branch Always Command
When defining key output, enter
BA
as the two HEX digits to unconditionally branch to the
label value that follows.
For example, to jump unconditionally to label “1” after the terminal receives the character
“Y,” your key output definition would look like:
B4h ‘1’ ‘N’ ‘E’ ‘X’ ‘T’ BDh ‘Y’ BAh ‘1’
Conditional Branch Command
When defining key output, enter
B5
as the two HEX digits to branch to the label value that
follows when the Handshake-In line is between -3 and -30 volts.
If the Handshake-In line is b3 and +30 volts, programmable key processing and
output will continue normally with the character following the conditional branch’s label
value.
In the following example, the terminal acts as a remote monitoring device that checks the
paper status and assumes the following:
1.
The host will power up in a “STOPPED” state.
2.
When the paper is low, the host asserts a -V on the line connected to handshake input
of the terminal.
3.
When the unit begins to run, the host will transmit “R.”
4.
When the unit stops, the host will transmit “S.”
5.
Parameters settings for the terminal include DISABLE ECHO, ESCAPE MODE =
PRIVATE and SCREEN SIZE = 24 x 8.
BFh BEh B4h ‘1’ 1Bh ‘E’ ‘S’ ‘T’ ‘O’ ‘P’ ‘P’ ‘E’ ‘D’ B5h ‘2’ 0Dh 0Ah ‘P’ ‘A’ ‘P’ ‘E’ ‘R’ ‘ ’ ‘L’
‘O’ ‘W ’ 4Bh ‘2’ BDh ‘R’ 1Bh ‘E’ ‘R’ ‘U’ ‘N’ ‘N’ ‘I’ ‘N’ ‘G’ ‘B5h ‘3’ 0Dh 0Ah P’ ‘A’ ‘P’ ‘E’ ‘R’
‘ ’ ‘L’ ‘O’ ‘W ’ B4h ‘3’ BDh ‘S’ BAh ‘1’
Handshake-Out Manipulation Commands
Handshake-Out Manipulation commands are useful to signal an external device. The
Handshake-Out line will maintain voltage levels b3 and +15 volts or -3 and -15
volts. Effective line load resistance should always be greater than 3K ohms (RS-232 interface
only).
Assert Handshake-Out Equals -V Command
When defining key output, enter
B8
as the two HEX digits to assert the Handshake-Out line
at the interface connector to between -3 and -15 volts (-V).
Note:
Use of this command requires that you disable the terminal’s Handshake parameter.