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

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

Advertisement

IOWR Instruction
Example 2
Execution condition
R1
R3
R2

4-9-4 Execution Timing of IOWR Instruction

1, 2, 3...
62
The acceleration time of the X axis is changed to 500 ms.
DIFU(13)
Set in the
Set in the
expansion DM
expansion DM
area the
area the
positioning data
positioning data
described in the
described below.
following.
IOWR
25506 (=)
Settings
DM
Refer to the following for the execution timing and processing method of the
IOWR instruction.
Transfer data
IOWR instruction
1. The PC performs a format check to confirm whether the designation of the
operand of the IOWR 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. Flag 25506 will be turned ON if the MC
Unit can process the data. Flag 25506 will be turned OFF and the IOWR
instruction will not be executed if the MC Unit cannot process the data.
3. The range of the data transferred from the PC is checked. The data will be
transferred to the specified address if the data is within the acceptable
range. The data will not be transferred, bit 14 of word n+8 will be turned ON,
and the corresponding error number will be output to word n+9 or word I+12
of the expansion data area if the data is not within the acceptable range.
Work bit
R1
Set the address of the acceleration time of
the X axis.
#4406
Set the first source word of the acceleration
D0100
time data.
#0002
Set the source unit number (0) a total of
two words to be transmitted.
OUT (Work bit)
R3
R2
OUT (Work bit)
D0100
0500
Means 500 ms.
D0101
0000
Set
Format
Data
Data processing
check
check
(1)
(2)
Within one cycle
The completion time varies with the data to
be transferred and the number of words.
Section 4-9
(3)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents