21
Manual C118 EN Rev04
04.2017
20
Serial Data Interface
General Characteristics
Mode: RS232, without handshake leads.
4800 baud, 8 bits, no parity.
Communication provided
The interface provides results from all type measurements
performed in the C118. It uses its own protocol:
the transmission must be requested, and any request can
call for one type of measurement only.
As required by the message, this transmission may be re-
peated continuously, with updated results, or sent only once
after request.
Transmission
Request message syntax
STX n H z ETX
The type of measurement required is defined by a figure (n)
in the syntax:
n = 1: actual most recent measurement
2: minimum memorized value
3: maximum memorized value
4: computed average
5: total from SF function
H = firm sign
z = required mode of transmission:
0 = one response only after request
1 = continuous transmission
stopped by message STX n H 0 ETX
Response syntax
STX/ n/ kXXXXXXX CR ETX
n = Data type according to the above key
k = Number of decimals in the subsequent result.
This then is transmitted without a decimal point.
Data handling
Request
to transmit
Transmission
Manual C118 EN Rev04
04.2017
21
Note:
STX, ETX, CR are
not
to be understood as a sequence of
capitals, but as ASCII signs:
STX (start of text),
in HEX code = 02
ETX (end of text),
in HEX code = 03
CR (carriage return) in HEX code = 0D
Connection cable L3D01 and Data Port
Connector type of cable L3D01:
USB Mini-B male to 9 pole SUB-D male
pin No. signal
2 RxD
m
3
TxD
o
5
common zero
Important Note
frequent cause
of failures
Wiring of
data port
Note:
For programming separate RS232 adapter cable L3D01 is required.
Содержание MOVIPORT C118 Series
Страница 2: ......