![background image](http://html.mh-extra.com/html/mitsubishi-electric/a1s66ada/a1s66ada_user-manual_22431040.webp)
5 - 2 5 - 2
MELSEC-A
5 PROGRAMMING
5
5.2 Basic Read and Write Programs
(1) Write to A1S66ADA····················MOV, MOVP instruction
Form
MOV (P)
S
D
MOV(P) instruction
execution condition
Symbol Description
Usable
device
S
Number of the head device
containing write data, or a constant
T, C, D, W, R
D
Head number of the I/O signals
where data is to be stored
X, Y
Example
When assigning the A1S66ADA to I/O X40 to X7F and Y40 to Y7F, then writing the
binary data stored in D10 to I/O signals Y40 to Y4B
MOV
D10
K3Y40
MOV instruction
execution condition
(2) Read from A1S66ADA·····················MOV, MOVP instruction
Form
MOV (P)
S
D
MOV(P) instruction
execution condition
Symbol Description
Usable
device
S
Head number of the I/O signals
where data is stored
X, Y
D
Head number of the device where
the data read is to be stored
T, C, D, W, R
Example
When assigning the A1S66ADA to I/O X20 to X5F and Y20 to Y5F, then reading the
CH 3 digital output value, which is stored in I/O signals X20 to X2B as binary data, to
D20
MOV
K3X20
D20
MOV instruction
execution condition
Summary of Contents for A1S66ADA
Page 2: ......
Page 13: ...2 2 2 2 MELSEC A 2 SYSTEM CONFIGURATION 2 MEMO ...
Page 44: ...6 2 6 2 MELSEC A 6 TROUBLESHOOTING 6 MEMO ...
Page 51: ......