APC 6000 user manual Functions, Function 1 and 2 read N bits

Page 9

Functions

Function 1 and 2: read N bits

function 1: read output or internal bits;

function 4: read input bits.

The number of bits must be less than or equal to the bit field size (see memory board).

JBUS protocol (continued)

 

request

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

slave address

 

 

1 or 2

 

address of

number of bits

CRC 16

 

 

 

 

first bit

 

 

 

 

to read

 

 

 

 

 

 

MSB LSB

 

 

 

 

 

 

 

 

 

 

 

1 byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 byte

 

2 bytes

2 bytes

2 bytes

response

 

 

 

 

 

slave address

1 or 2

number of

first

last

CRC 16

bytes

byte

byte

 

 

read

read

read

 

1 byte

1 byte

1 byte

 

bytes

2 bytes

byte detail:

 

 

 

 

 

last bit transmitted

first bit transmitted

Unused bits are set to zero

example

Reading bits at location 404 to 411 of slave at address 20H (charger signals)

request:

20 01 0404 0E 66 FE

response:

20

01

02

10101001

00101110

FB B7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(binary values)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

40B

 

404 411

 

40C

 

 

 

 

6739389EN/FB - Page 9

Image 9
Contents GTC link communication interface Mgetm GalaxyTM2 6739389EN/FB Contents Introduction PresentationACQ module COM moduleInterface Communication settingsJbus protocol Principle Synchronizing data exchangesDescription 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 operationParallel connected UPS with Static Switch cubicle Operation without batteryUPS without Mains Operation with battery Block diagram Unitary UPSMeasured quantities Normal operation Load on battery Main status bits UPS operating informationOperating modes Load on Mains Load on bypass Parallel connected UPS Main status bits of system operations Normal operation Load on battery DisconnectedStatic Switch cubicle Static Switch Main indicators of system operationsNormal 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 formatGeneral definitions Signaling field Tables of measured dataCurrent fields Voltage fields Power fields Frequency fieldsBattery and adjustments fields Tables of binary dataRectifier-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