APC 6000 사용자 설명서

다운로드
페이지 38
6739389EN/FB 
- 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).
response
request
20
01
02
20
01
0404
66 FE
example
0E
404
40B
request:
response:
last bit transmitted
first bit transmitted
1 byte
1 byte
1 byte
✷ 
 bytes
2 bytes
1 byte
1 byte
2 bytes
2 bytes
2 bytes
byte detail:
slave address
1 or 2
CRC 16
slave address
1 or 2
CRC 16
Unused bits are set to zero
address of
first bit
MSB LSB
number of bits
to read
number of
bytes
read
first
byte
read
last
byte
read
00101110
10101001
(binary values)
FB B7
40C
411
Reading bits at location 404 to 411 of slave at address 20H (charger signals)
JBUS protocol
 (continued)