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

Page 13

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

Image 13
Contents GTC link communication interface Mgetm GalaxyTM2 6739389EN/FB Contents Introduction PresentationACQ module COM moduleInterface Communication settingsJbus protocol Synchronizing data exchanges PrincipleDescription of request and response frames Checking received messages on the slave side Function 1 and 2 read N bits FunctionsFunction 5 writing a bit Function 3 and 4 read N wordsFunction 6 writing a word Function 8 reading error diagnosis countersFunction 15 writing n consecutive bits Function 11 reading event countersMSB LSB MSB LSB MSB Function 16 writing n consecutive wordsCRC 16 algorithm Example of CRC computation Table of Most Significant Bytes for CRC16 Computation Example of CRC 16 computation in C using table lookupJbus protocol Unitary UPS UPS theory of operationOperation without battery Parallel connected UPS with Static Switch cubicleUPS without Mains Operation with battery Unitary UPS Block diagramMeasured quantities Main status bits UPS operating information Normal operation Load on batteryOperating modes Load on Mains Load on bypass Parallel connected UPS Main status bits of system operations Normal operation Load on battery DisconnectedStatic Switch cubicle Main indicators of system operations Static SwitchNormal operation Load on Mains Load on bypass Sample commands List of variable fields Example of read data array commands sent by the terminalSystem information Message formatTables of measured data General definitions Signaling fieldCurrent fields Voltage fields Power fields Frequency fieldsTables of binary data Battery and adjustments fieldsRectifier-charger Connectivity InverterGlobal information Table of control devicesWord address Glossary of information descriptorsInverter stack overload 0=no/1=overload Word address 4C Word address 4AWord address 4E summary Word address 4DWord address C1 C10 call reset 0= not activated / 1=activated
Related manuals
Manual 46 pages 29.39 Kb