
return linefeed).
The entire frame has a variable length. The number of frames still to follow is given with “n”.
The number of variable bytes is defined in the fourth and fifth Byte with the data word “len”.
The entire length of the response is (10 + len) bytes.
The command “get_value” is an exception. The response to this command takes place with
a protocol for measured values.
Prefix
Code
n
len
No.
len bytes
Postfix
3B
xx
B
HB
LB
aa bb cc p1
p2 ... pn 0D
0A
Table 6: Protocol for responding to commands
Example: Releasing commands
Send:
0x26 01 62 65 72 6C 69 6E
Example: Locking commands
Send:
0x26 00 62 65 72 6C 69 6E
Example: Request serial number
Send:
0x23
Send:
0x1F
Receive
0x 3B 1F
01
00 08 30 35 30 30 38 34 34 39 30 35 30 0D 0A
Send
0x24
Result: The serial number is “08449050”.
Example: Change status(Send measured value OFF/ON)
To permanently save the value send stop or start measured value, the command
set_tx_status (0x28<p1>) can be used.
Parameters in HEX
Parameters in Bit
Current
After switching on
00
0 0 0 0 0 0 0 0
Send measured value OFF
Send measured value OFF
01
0 0 0 0 0 0 0 1
Send measured value OFF
Send measured value ON
02
0 0 0 0 0 0 1 0
Send measured value ON
Send measured value OFF
03
0 0 0 0 0 0 1 1
Send measured value ON
Send measured value ON
Send:
0x23
Send:
0x29
Receive
:
0x 3B 29
01
00 01 30 33 33 01 0D 0A
Result: Current-OFF , After switching on-ON
ME-Meßsysteme GmbH
Neuendorfstr. 18a
Tel.: +49 3302 89824 60
Mail: [email protected]
38
16761 Hennigsdorf
Fax: +49 3302 89824 69
Web: www.me-systeme.de
Summary of Contents for GSV-4
Page 2: ......