User manual WTS Ver.1.16
Seite 36 von 52
14 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 paragraph SERIAL COMMUNICATION SETTING).
Following communication modes available (see paragraph SERIAL COMMUNICATION
SETTING):
:
communication compatible with W60000, WL60 Base, WT60 Base, TLA60 Base
instruments;
:
communication compatible with TD RS485 instruments.
Captions:
$: Beginning of a request string (36 ASCII);
& o &&: Beginning of a response string (38 ASCII);
aa: 2 characters for instrument address (48
÷
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 for Check-Sum (for furthers information, see paragraph CHECK-
SUM CALCULATION);
CR: 1 character for string end (13 ASCII);
\: 1 character for separation (92 ASCII).
1. SETPOINT VALUES SETTING:
The PC transmits: $aaxxxxxxyckckCR
where: xxxxxx = 6 characters for the setpoint value (48
÷
57 ASCII);
y = A (set the value in the Setpoint 1)
y = B (set the value in the Setpoint 2)
Possible instrument responses:
- correct reception: &&aa!\ckckCR
- incorrect reception: &&aa?\ckckCR
2. SETPOINTS STORAGE INTO EEPROM MEMORY:
The setpoints value relevant to the two setpoints programmed via the PC are stored to the
RAM volatile memory and lost upon instrument power off. It is necessary to send a special
command to save them permanently in the EEPROM memory. Please note that the writing
number allowed in the EEPROM memory is limited (about 100000).
The PC transmits: $aaMEMckckCR
Possible instrument responses:
- correct reception: &&aa!\ckckCR
- incorrect reception: &&aa?\ckckCR