6
ADVANCED USE MANUAL DD700
2 COMMUNICATION PROGRAMMING ON SERIAL
LINES
2.1
Symbols
The symbols employed to describe the characters on serial line are provided below.
Normal characters are described by simply providing their symbol.
Control characters are between brackets and expressed in capital letters.
For ex.:
<CR> stands for carriage return.
<SP> stands for the space character.
<SOH> marks the character at the start of commands for CW(**) strings
<STX> marks the character at the start of responses for CW (**)strings
<EOL> marks the character at the end of responses for CW(**) strings and can be <CR> or <CR>
<LF>.
If necessary the hexadecimal value of the character is provided in numbers and upper case
letters.
For ex.: <CR>(0DH) or $(24H).
The variables are provided in lower case in brackets.
For ex.:
<um>=unit of measurement of weight. This can be in the values:
<SP>g = grammes, g= grammes for weight check strings(**) kg = kilogrammes
<SP>t = tonnes, t = tonnes for weight check strings(**)
lb = pounds oz = ounces
With n and y number fields are provided with spaces at the beginning, decimal separator and
minus sign.
2.2
Strings
The terminal has two serial outputs on board plus 2 optional cards that can be used to connect
external devices such as printers, personal computers, PLC and so forth. The user has the
possibility of choosing the type of output protocol from the standard ones provided on the terminal.
The user also has the option of customising data serialisation from the menu.