JBUS protocol (continued)

Function 16: writing n consecutive words

request

slave address

10

 

address of

 

number

 

number

 

data bytes

 

CRC 16

(*)

 

first word

 

of words

 

of bytes N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 byte

1 byte

 

2 bytes

 

2 bytes

 

 

 

1 byte

 

 

n bytes

 

2 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2 X 123

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4 N 246

 

 

 

 

MSB LSB MSB LSB MSB

 

 

 

 

 

 

 

 

 

 

 

 

MSB LSB

first word

 

 

 

 

 

 

 

 

 

 

 

 

 

 

last word

response

slave address

10

(*)

address of first word

number of words written

CRC 16

1 byte

1 byte

2 bytes

2 bytes

2 bytes

Note: if the slave address is 0, all units execute the write command without sending a response

example

Writing words 00 and 01 of slave at address 20 (synchronization counter)

(00)= 0000

(01)= 0000

request

 

 

 

20

10

0000

0002

04 0000 0000 0000 0000 5C 93

(*)

response

 

 

 

20

10

0000

0002

47 79

 

(*)

 

 

 

)

*

(

6739389EN/FB - Page 13

Page 13
Image 13
APC 6000 user manual Function 16 writing n consecutive words, Msb Lsb Msb Lsb Msb