7. APPLICATION INSTRUCTIONS
7
−
56
MELSEC-A
Program Examples DIS
Program which stores the 16-bit data of D0 to the D10 to 13 per four bits when X0
turns on.
UNI
Program which stores the lower four-bit data of D0 to 2 to the D10 when X0 turns on.
X000
0
P
K
DIS
D0
D10
4
•
Coding
0 LD
X000
1 DISP
D0
D10
K4
10
END
Before execution
After execution
Set to 0.
Storage area
X000
0
P
K
UNI
D0
D10
3
•
Coding
0 LD
X000
1 UNIP
D0
D10
K3
10
END
Before execution
After execution
Data to be associated
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......