If the message is incorrect (unequal
CRC 16 values), the slave does not
respond.
If the message received is correct but
the slave is unable to process it
(incorrect address, incorrect data, etc.),
the slave returns an error message with
the following contents:
functions
functions 3 and 4: read n words
The number of words must be less than
or equal to the word field size
(see memory board).
function 3: read output or internal
words;
function 4: read input words.
MGE UPS SYSTEMS
response
slave
address
(1 to FF)
1 byte
example
01
06 H
01
16 H
request
slave address
1 byte
request
slave address
1 byte
example
reading words at location 90 to 99 of slave at address 28H (voltage fields)
request
28
03
0090
response
28
03
14
word 0090
SineWave™ JBUS communication system installation: E-51027160XT/AC
error codes:
1. unknown function code
2. incorrect address
3. incorrect data
4. station not ready
9. field overlap
function code
received and
MS bit = 1
1
1 byte
1 byte
00
00
00
00
DD CB
request
01
86 50
response
address of
3 or 4
first bit
MSB
1 byte
2 bytes
number of
3 or 4
bytes read
1 byte
1 byte
000A
A8 45
XXXX
YYYY
CRC 16
word 009A
errors handled
by the
communication
port
CRC 16
2 bytes
number of
CRC 16
words
LSB
MSB
LSB
2 bytes
2 bytes
first word
last word
PF
pf
PF
pf
2 bytes
2 bytes
CRC 16
2 bytes
11