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

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