210
D320 PLC User's Manual
Write Bits and Words
•
Changes the content of the bits or words at the specified absolute addresses.
•
Words and bits may be modified regardless of their order and location in memory.
Query (Q) Frame
Response (R) Frame
Fixed
DA
SA
$86
$01
$00
L
H
CRC
DA
SA
$06
L
L
H
D0
L
H
D0
…
L
H
Methods of assigning bit/word absolute address
Assigning abs. address for bits
Ax = 0001 1011 1111 1100
Ax L = $FC, H = $1B
Assigning abs. address for word
0
0
Bit Address
Abs. address for the K127 word = $01BF
0
1
Word Address
Ax = 0100 0001 1011 1111
1
x
Not Used
Ax L = $BF, H = $41
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).
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.
Absolute Address
15 14
13
0
A0
A1
CRC
Summary of Contents for D320 PLC
Page 1: ...D320 PLC User s Manual...
Page 18: ...6 D320 PLC User s Manual...
Page 28: ...16 D320 PLC User s Manual...
Page 34: ...22 D320 PLC User s Manual...
Page 78: ...66 D320 PLC User s Manual...
Page 176: ...164 D320 PLC User s Manual...
Page 210: ...198 D320 PLC User s Manual...
Page 258: ...246 D320 PLC User s Manual...