IORD Instruction to Transfer Data
Ladder Program Example
Execution Condition
R1
R2
Data after Reading [DM]
Ladder Program Example
Data after Reading [DM]
DIFU
R3
IORD
#00088000
=Flag
D00100
BF15
D00101
0034
D00102
614E
D00103
00BC
D00104
FC88
D00105
FDB0
D00106
E240
D00107
0001
Example 2) Read the Axis 1 Manual Feed Acceleration Time (500[ms]) to
D00100 to D00101.
Execution Condition
R1
R3
R2
D00100
01F4
D00101
0000
Example 3) Read the servo parameters using IORD instruction
• To read the servo parameters, the servo parameter axis has to be speci-
fied for the IOWR instruction in advance. Write the axis No. in 6000h of
IORD/IOWR control code (address in the MC Unit).
(Work bit)
R1
Specifies the address PL0456 Hex as the
first position data address in the MC Unit
#0456
the No. of transferred words: 8 words
transfer destination unit No.: 0
(Four position data x 2 words = 8 words)
D00100
Specifies the first word of destination where
the position data will be stored.
OUT
R3
(Work bit)
(Work bit)
OUT
R2
← 3456789
← 12345678
← −38765432
← 123456
DIFU
R1
IORD
#55C6
#00028000
D00100
=Flag
OUT
R3
OUT
R2
← 500 [ms]
Section 5-3
(Work bit)
Specifies the address 55C6 Hex as the Axis
1 manual feed acceleration time
Specifies 2 words as the number of transfer
words and the transfer source unit No. 0
Specifies the first destination word where
the manual feed acceleration time will be
stored.
(Work bit)
(Work bit)
213
Need help?
Do you have a question about the CS1W-MCH71 MOTION CONTROL UNIT - 09-2004 and is the answer not in the manual?
Questions and answers