
113
Modify the contents of the bits stored in the absolute address (R, L, M, K, F, or TC).
Change the bit state between On/Off.
Can change multiple consecutive bytes.
Query (Q) frame
Response (R) frame
Read the content of the words (R, L, M, K, F, or W) assigned to the absolute address.
Can read n consecutive words.
Query (Q) frame
Response (R) frame
DA
SA
$22
N
Base
L H
Base+0
bit value
Base+N+1
bit value
-
Base+N-3bit
value
CRC
L H
DA
SA
$A2
&01
&00
CRC
L H
DA
SA
$23
$30
Base
L H
N
CRC
L H
DA
SA
$A3
L
Base+0word
L H
Base+1word
L H
-
Base+1word
L H
CRC
L H
Completion code
Fixed
N word values from the base words requested by the Q.
Length L = Nx2
To turn On the desired bit value from the base, enter $FF.
To change to Off, enter $00.
Absolute bit address (starting address)
Refer to
Absolute Addressing on Chapter 3
Word absolute address (starting address)
Refer to
Absolute Addressing on Chapter 3
Ex) Absolute address of K127 word is $01BF.
BASE L=$BF, H=$01
Number of words to be read
Write bits
Read words
Summary of Contents for Samsung NX-CPU700p
Page 1: ...NX700 Series Controller NX CPU700p User Manual ...
Page 78: ...78 Power check flow chart ...
Page 79: ...79 Run check flow chart ...
Page 80: ...80 Error check flow chart ...
Page 82: ...82 External environment check flow chart ...
Page 86: ...86 ...
Page 98: ...98 ...
Page 102: ...102 Decimal Bin Hex BCD Gray Code Cross reference Table ...
Page 104: ...104 ...
Page 121: ......