- 43 -
ASCII BIDIRECTIONAL PROTOCOL
The instrument replies to the requests sent from a PC/PLC.
It is possible to set a waiting time for the instrument before it transmits a response (see
parameter in the
SERIAL COMMUNICATION SETTINGS
section).
Following communication modes availables (see
SERIAL COMMUNICATION SETTINGS
section):
-
: communication compatible with instruments series W60000, WL60 Base, WT60 Base,
TLA600 Base
-
: communication compatible with TD RS485 instruments
Captions:
$
................... Beginning of a request string (36 ASCII)
&
or
&&
......... Beginning of a response string (38 ASCII)
aa
................ 2 characters of instrument address (48
y
57 ASCII)
!
................... 1 character to indicate the correct reception (33 ASCII)
?
................... 1 character to indicate a reception error (63 ASCII)
#
................... 1 character to indicate an error in the command execution (23 ASCII)
ckck
........... 2 ASCII characters of Check-Sum (for further information, see section
CHECK-SUM CALCULATION
)
CR
................ 1 character for string end (13 ASCII)
\
................... 1 character of separation (92 ASCII)
1.
SETPOINT PROGRAMMING
Warning:
the new values of setpoint are active immediately.
The PC transmits
the ASCII string:
$aaxxxxxxyckckCR
where:
xxxxxx
...... 6 characters for the setpoint value (48
y
57 ASCII)
y
= A ............. set the value in the setpoint 1
y
= B ............. set the value in the setpoint 2
y
= C ............ set the value in the setpoint 3
y
= D ............ set the value in the setpoint 4
y
= E ............. set the value in the setpoint 5
Possible instrument responses:
-
correct reception:
&&aa!\ckckCR
-
incorrect reception:
&&aa?\ckckCR
-
ff
parameter exceeds the maximum allowable:
&aa#\ckckCR
Example: to set 500 in the setpoint no. 4, the PC must transmit
the following command:
$01000500D40(Cr)