
354
Example
The following examples shows programming MTR(––) in a scheduled subrou-
tine, where IORF(97) is programmed to ensure that the I/O words used by
MTR(––) are refreshed each time MTR(––) is executed.
INT(89)
001
004
# 0002
INT(89)
000
004
# 0002
SBN(92)
99
MTR(––)
S
D1
D2
IORF(97)
D1
D2
RET(93)
END(01)
Flags
ER:
Indirectly addressed DM word is non-existent. (Content of
DM word is
not BCD, or the DM area boundary has been exceeded.)
25403:
SR 25403 is ON while MTR(––) is being executed.
5-29 Special I/O Unit Instructions
The Special I/O Unit instructions are used to transfer data to and from the
memory of the specified Special I/O Unit.
5-29-1
SPECIAL I/O UNIT READ – IORD(––)
C:
Control code
IR, SR, AR, DM, HR, TC, LR, #
S:
Source information
IR, SR, AR, DM, HR, TC, LR, #
Operand Data Areas
D:
First destination word
IR, SR, AR, DM, HR, TC, LR
Ladder Symbols
IORD(––)
C
S
D
@IORD(––)
C
S
D
Limitations
Only Special I/O Units mounted to the PC’s CPU Rack or Expansion I/O Racks
can be specified.
The last three digits of S must be BCD (from 001 to 128).
Special I/O Unit Instructions
Section 5-29
Содержание SYSMAC C200HE
Страница 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Страница 2: ......
Страница 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 380: ......
Страница 410: ......
Страница 438: ......
Страница 464: ......
Страница 474: ......
Страница 522: ......
Страница 538: ......
Страница 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 554: ......
Страница 560: ......
Страница 584: ......
Страница 585: ......
Страница 586: ...W303 E1 09 ...