47
promesstec GmbH
I Niedersachsenstraße 4 I D-48465 Schüttorf I Tel.:+49 (0)5923/ 90 229 0 I Fax:+49 (0)5923/ 90 229 29
E-Mail: [email protected] I Internet: www.promesstec.com
*Error Code:
Hi Byte = 0
Lo Byte = Error Code:
bit 0
add volume overflow (undue increase)
bit 1
Frame Error
bit 2
empty pipe
bit 3
Input/ Output Overflow
bit 4
reserved
bit 5
reserved
bit 6
reserved
bit 7
reserved
request:
address
1 Byte
function code (03h)
1 Byte
start address
2 Byte
register number
2 Byte
CRC32
2 Byte
reply:
address
1 Byte
function code (03h)
1 Byte
number of bytes
1 Byte 2xN*
register value
N* x 2 Bytes
CRC32
2 Byte
*N=
Number of registers
Error:
address
1 Byte
Error Code (83h)
1 Byte
Exception code
1 Byte
CRC32
2 Byte
Example
Read volume Register 02h-09h:
request:
address
01h
function code
03h
start address Hi
00h
start address Lo
02h
(Volumen ∑)
register number Hi
00h