Appendix A: D50 PLC Communication Protocol 165
Read Bits and Words
• Reads the bits and/or word contents of the specified absolute addresses.
• Can read bits and words regardless of their order and location in memory.
Query (Q) Frame
Response (R) Frame
Methods of assigning bit/word abs. address
0 0 Bit Address
0 1 Word Address
1 x Not Used
x = A0, A1,…, An Dx = D0, D1,…, Dn
ssigning absolute address for bits
bs. address for the K12 12th bit = $14CC
x = 0001 0100 1100 1100
x L = $CC, H = $14
ssigning absolute address for word
bs. address for the K12 word = $014C
x = 0100 0001 0100 1100
x L = $4C, H = $41
Absolute Address
15
14
13
0
DASA $05 L L H L H … L H L H
OA1 AN CRC
DA SA $85 Lx DO L H … L H L H
For the A0, A1,…, An requested by the Q, the content D0, D1,…, Dn of
the word/bit is returned.
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 data is 1 word (2 bytes).
The size and location of the
returned data depends on the
combination of bit/word
addresses requested. The Lx
parameter should be checked to
verify data size.
D1 Dn CRC
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com