8. Function Commands
DCML, DCMLP
- 212 -
{ DCML, DCMLP ... 32-bit data negation transmission
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
3/4
Transmission command
DCML
DCMLP
DCML
S D
DCMLP
S
D
Setting data
D
Data to be inverted or
head No. of device where
data is stored.
S
Head No. of device to
store inversion results
Function
The 32-bit data designated with S is inverted bit by bit, and that results is transmitted to the device
designated with D.
1実行前
0
1 1
0
1
0 0 0
1 11
0 0
1
0
反転
b15 b0 b0b15
実行後
1
1 1 1 1 1 1 1
b15 b0 b0b15
+1
+1
000 0 000 0
S
D
S
S
D
D
Before execution S
A
fter execution D
S+1
D+1
S
D
b15
b0
b0
b15
b15
b0
b0
b15
Inversion
1 0 1 1 0 1 0 0 0 1 1 1 0 0 1 0
0 1 0 0 1 0 1 1 1 0 0 0 1 1 0 1