Download Type ACPU/QCPU-A (A Mode)(Common Instructions

Transcript
6. BASIC INSTRUCTIONS
AnS
AnN
Applicable AnSH
CPU
Link refresh (COM)
An
O
O
O
*
X
*
X
Y
M
L
S
Word (16-bit) device
B
F
T
C
D
W
R
A0
Constant
A1
O
O
A3N
board
*
* Execution is not possible while an interrupt program is being run.
Available Device
Bit device
O
A73
Z
V
K
H
Pointer Level
P
I
N
Error
flag
Remark
O
A3V
AnU, A2AS
A2USH-S1
A2C
AnA A2USH board A0J2H
A52G
QCPU-A
(A Mode)
Carry
flag
6.7.1
A3H
A1FX
A3M
Index
Link Refresh Instructions
Digit specification
6.7
MELSEC-A
M9012 (M9010, M9011)
COM
Functions
(1) The COM instruction is used to make faster data communication with a remote
I/O station or to receive data positively when the scan time of the master station
sequence program is longer than that of the local station sequence program.
(2) On execution of the COM instruction, the PC CPU temporarily stops the
sequence program processing and performs general data processing (END
processing) and link refresh processing.
COM instruction executed
0
COM instruction executed
END
General data processing
Link refresh
0
END
0
General data processing
Link refresh
(3) The COM instruction may be used any number of times in the sequence
program. In this case, note that the sequence program scan time increases the
period of general data processing and link refresh times.
REMARK
By general data processing, the following processings are performed.
• Communication between the PC and peripheral devices.
• Monitoring of other stations.
• Read of buffer memory of other special function modules using a computer link module.
6 − 82