![2T Technology HV ANSI Series Technical Reference Manual Download Page 33](http://html.mh-extra.com/html/2t-technology/hv-ansi-series/hv-ansi-series_technical-reference-manual_440002033.webp)
HV ANSI Series Technical Reference Manual, MAN0340, Rev. A
4-5
Pause until n Character Received
When defining key output, enter
BD
as the two HEX digits to suspend communication until the
terminal receives a specified character (n) from the host before continuing.
For example to have the terminal send the string “START, ” wait for a specific character (in this case,
the letter “G” in the string “STARTING”) and then respond to the host by sending the string
“RUNNING” to the host, your key output definition would look like:
‘S’ ‘T’ ‘A’ ’R’ ‘T’ HBF HBD ‘G’ HBF ‘R’ ‘U’ ‘N’ ‘N’ ‘I’ ‘N’ ‘G’
Should the terminal wait for a response for more than 0.50 seconds, it will display the Wait character.
To abort the pause, press
CTRL
and
F5
simultaneously.
Branching Commands
Branch commands enable you to access the contents of another function key.
Concatenate Function Key String
Use this command to append the contents of a specified function key to the end of the character string
you are programming. As a result, you can display more than 20 characters with one key press.
When defining key output, enter the first nineteen characters as the first part of your character string,
then enter either the hex value (F1 = F1, F2 = F2 … F10 = FA) or the decimal value (F1 =241, F2 = 242 …
F10 = 250) in the twentieth position for the function key containing the next part of character your string
For example to program the F1 key display the character string, “THIS STRING CONTAINS 34
CHARACTERS” using the contents of both F1 and F2 keys:
1.
For F1, enter the first nineteen characters, then enter the numeric value (242) for F2:
THIS STRING CONTAIN
242
2.
For F2, enter the remainder of the character string:
S 34 CHARACTERS
3.
When you press F1, the terminal will now display:
THIS STRING CONTAINS 34 CHARACTERS
4.
However, when you press F2, the terminal will also display:
S 34 CHARACTERS
5.
To prevent the output of F2 you must use the Disable Function Key Output command (see
next section)
Disable Function Key Output
When defining key output, you can enter
BA
as the two HEX digits to prevent the output of a character
string programmed in a function key when that function key is pressed. For example to program the F1
key display the character string, “THIS STRING CONTAINS 34 CHARACTERS” using the contents of
both F1 and F2 keys, but prevent the output of F2:
1.
For F1, enter the first nineteen characters, then enter the numeric value (242) for F2:
THIS STRING CONTAIN
242
2.
For F2, enter the hex value BA in the first position, then enter the remainder of the string:
BA
S 34 CHARACTERS
3.
When you press F1, the terminal will display:
THIS STRING CONTAINS 34 CHARACTERS
4.
When you press F2, the terminal will not display any characters.