EasyManua.ls Logo

Kobold ZLS-2 - Examples of Query;Answer Frames

Kobold ZLS-2
117 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User manual - DATA RECORDER and cooperating software
9.3. EXAMPLES OF QUERY/ANSWER FRAMES
The examples concern a unit with address 1. All values are given in the hexadecimal system.
Designations:
ADDR
Address of the device in the system
FUNC
Function number
REG H,L
Higher and lower part of registry number, to which the command refers to
COUNT H,L
Higher and lower part of registry counter number, to which the command refers
to, starting with the register, which is defined by REG (max. 32)
BYTE C
Number of higher bytes in the frame
DATA H,L
Higher and lower part of data word
CRC L,H
Higher and lower part of CRC sum
1. Read of ID code
ADDR FUNC REG H,L COUNT H,L CRC L,H
01 03 00 21 00 01 D4 00
The answer:
ADDR FUNC BYTE C DATA H,L CRC L,H
01 03 02 00 50 01 8C
DATA H,L - identification code (0050h)
2. Change of the device address from 1 to 2 (write to reg. 20h)
ADDR FUNC REG H,L DATA H,L CRC L,H
01 06 00 20 00 02 09 C1
DATA H - 0
DATA L - new device address (2)
The answer (the same as the message):
ADDR FUNC REG H,L DATA H,L CRC L,H
01 06 00 20 00 02 09 C1
3. Read of the displayed value (measurement) for channel 1, the device address = 01h:
ADDR FUNC REG H,L COUNT H,L CRC L,H
01 03 00 01 00 01 D5 CA
75

Table of Contents