User manual

115
Read the bits and/or word contents of the assigned absolute addresses.
Can read bits and words regardless of their order and location in memory.
Query (Q) frame
If Ax denotes a bit address, the Dx data is 1 byte (On=$FF, Off=$00), and
if Ax denotes a word address, the Dx is 1 word (2 bytes).
Response (R) frame
DA SA $26 L
AO
L H
DO
A1
L H
-
CRC
L H
DA SA $A2 $01
$00
CRC
L H
Method of assigning bit/word
absolute address
15 14 13 0
0 0 Absoulte bit address
0 1 Absoulte word address
1 X Not used
Ax=A0, A1, .., An Dx=D0, D1, .., Dn
Absolute Address(Bit/Word)
Assigning absolute addresses for bits
Absolute address for the K127.12 bit =
$1BFC
Ax=0001 1011 1111 1010
Assigning absolute addresses for word
The absolute address for the K127 word =
$01BF
AX=0100 0001 1011 1111
When structuring the outgoing frame, be aware that the Dx of the
Q changes according to the bit/word Ax type, and the L (information length)
changes as well. The Dx will be either 1 or 2 bytes.
Fixed
Write bits and words