Omron CS1W-MC221 - 02-2008 Operation Manual page 243

Motion control units
Table of Contents

Advertisement

IOWR and IORD Specifications
Example 2
Execution condition
R1
R3
R2
Execution Timing for IORD
1,2,3...
Transfer Time
216
Reading the X-axis Acceleration Time (500 [ms]) to D00100 to D00101.
DIFU(13) R1
IORD
#00020000
(=)
Data that Is Read [DM]
Refer to the following diagram for the execution timing and processing method
of the IORD instruction.
Transfer data
IORD instruction
Format
check
1. The CPU Unit performs a format check to see if the designations for the
IOWR instruction operands are correct. The Error Flag will be turned ON
and the IOWR instruction will not be executed if a designation is incorrect.
2. The MC Unit performs a data check to see if the MC Unit can process the
data designated with the operands. The Equals Flag will be turned ON if
the MC Unit can process the data. The Equals Flag will not be turned ON
and the IOWR instruction will not be executed if the MC Unit cannot pro-
cess the data.
3. The specified data is transferred from the MC Unit to the CPU Unit. The
Equals Flag will turn ON when the transfer has been completed.
Refer to Section 1-5 Specifications.
Work bit
Set the X-axis acceleration time address to 4406.
(1136 Hex corresponds to 4406)
#1136
Set the source unit number (0) and a total of two
words to be transmitted.
D00100
Set the address first word of the destination to
store the acceleration time data.
R3
OUT (Work bit)
R2
OUT (Work bit)
.
D0100
01F4
500 ms
D0101
0000
Data
check
(1)
(2)
Within one cycle
Section 4-2
Set
Data processing
(3)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents