Omron C200H-MC221 Operation Manual page 81

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

Advertisement

IOWR Instruction
Example 1
Execution condition
R1
R3
R2
The following data items are transmitted to position data address A0456 to
A0460.
Position data
345678.90
. . . . . . . . . . .
123456.78
. . . . . . . . . . .
–387654.32
. . . . . . . . . .
123.456
. . . . . . . . . . . . .
54321.00
. . . . . . . . . . . .
DIFU
Set in the
expansion DM
area the
positioning data
described in the
following.
IOWR
25506 (=)
Settings
DM
D0100
D0101
D0102
D0103
D0104
D0105
D0106
D0107
D0108
D0109
D0110
D0111
D0112
D0113
D0114
Position data address
A0456
A0457
A0458
A0459
A0460
Work bit
R1
Set the first address of the position data
of the MC Unit to 0456.
#0456
Set the first source word of the position
D0100
data.
#0015
Set the source unit number (0) and a total
of 15 words to be transmitted (i.e., 3
words x 5 position data items).
R3
OUT (Work bit)
R2
OUT (Work bit)
0002
7890
Means 345678.90
3456
0002
5678
Means 123456.78
1234
0002
5432
Means –387654.32
B876
0003
3456
Means 123.456
0012
0002
Means 54321.00
2100
0543
Section 4-9
61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents