Execution Timing Of Iord Instruction - Omron C200H-MC221 Operation Manual

Motion control unit
Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

IORD Instruction
Example 2
Execution condition
R1
R3
R2

4-10-4 Execution Timing of IORD Instruction

1, 2, 3...
The acceleration time (500 ms) of the X axis is received at DM 0100 to DM 0101.
DIFU(13)
IORD
25506 (=)
After Reception
DM
Refer to the following for the execution timing and processing method of the
IORD instruction.
Transfer data
IORD instruction
1. The PC performs a format check to confirm whether the designation of the
operand of the IORD instruction is correct. ER Flag 25503 will be turned
OFF if the designation is correct. ER Flag 25503 will be turned ON and the
IOWR instruction will not be executed if the designation is wrong.
2. The MC Unit performs a data check to confirm if the MC Unit can process the
data designated with the operand. The Equal Flag 25506 will be turned ON if
the MC Unit can process the data. The Equal Flag 25506 will be turned OFF
and the IOWR instruction will not be executed if the MC Unit cannot process
the data.
3. The MC Unit transfers the data to the PC. The Equal Flag 25506 will be
turned ON when the data transmission is completed.
Work bit
R1
Set the address of the acceleration time of the X
axis.
#4406
Set the source unit number (0) and a total of two
#0002
words to be transmitted.
D0100
Set the first word of the destination to store the
acceleration time data.
OUT (Work bit)
R3
R2
OUT (Work bit)
D0100
0500
Means 500 ms.
D0101
0000
Format
Data
Data processing
check
check
(1)
(2)
Within one cycle
Section 4-10
Set
(3)
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents