18. May 2021
© Copyright 2020, PROCEQ SA
11
The following connection settings have to be set on the serial port of the PC:
Setting
Baudrate
115200
Databits
8
Stop Bits
1
Parity
None
Flow control
None
After opening the corresponding COM ports, the ZGM 1120 Glossmeter is immediately ready
for use.
6.2 Communication protocol
6.2.1 Command string
The communication with the ZGM 1120 Glossmeter is completely string based. That means
all commands are composed of ASCII-character strings. This enables a simple control of the
device, for example with a commercial terminal program such as „HyperTerminal“.
A command consists in each case of:
an operation code (OP-Code)
the serial number of the corresponding ZGM 1120 Glossmeter
a transaction-ID (TID)
optionally one or more parameters
The components of the command string are separated from each other by
„|“ character (ASCII 0x7C).
Every command string is completed with a „:“ (ASCII 0x3A).
Example:
1| 401120999|xy|1|0:
6.2.2 Return string
The answer of the ZGM 1120 Glossmeter to a command string consists of the following parts:
the operation code of the command performed (OP-Code)
the serial number of the corresponding ZGM 1120 Glossmeter
Содержание ZEHNTNER ZGM1120
Страница 1: ...ZGM1120 Glossmeter Technical Manual...