66
Example 1
Data items A0456 to A0460 are received at DM 0100 to DM 0114.
Position data
Position data address
A0456 = 45678.90
DM 0100 to DM 0102
. . . . . . . .
A0457 = 123456.78
DM 0103 to DM 0105
. . . . . . .
A0458 = –387654.32
DM 0106 to DM 0108
. . . . .
A0459 = 123.456
DM 0109 to DM 0111
. . . . . . . . .
A0460 = 54321.00
DM 0112 to DM 0114
. . . . . . . .
DIFU
R1
Work bit
IORD
#0456
#0015
D0100
R3
R2
R3
R1
R2
25506 (=)
Execution condition
OUT (Work bit)
Set the first address of the position data of
the MC Unit to 0456.
Set the source unit number (0) and a total
of 15 words to be transmitted (i.e., 3 words
x 5 position data items).
Set the first word of the destination to store
the position data.
OUT (Work bit)
Settings
DM
0002
7890
3456
0002
5678
1234
0002
5432
B876
0003
3456
0012
0002
2100
0543
D0100
D0101
D0102
D0103
D0104
D0105
D0106
D0107
D0108
D0109
D0110
D0111
D0112
D0113
D0114
Means 345678.90.
Means 123456.78.
Means –387654.32.
Means 123.456.
Means 54321.00.
IORD Instruction
Section 4-10
Содержание C200H-MC221 -
Страница 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Страница 2: ......
Страница 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 16: ...xvi ...
Страница 42: ......
Страница 48: ......
Страница 196: ......
Страница 212: ......
Страница 242: ......
Страница 258: ......
Страница 304: ......