85
CPU Unit Operation
Section 2-4
Immediate Refreshing
When the immediate refreshing variation of an instruction is specified and the
instruction’s operand is an input bit or word in the Built-in I/O Area, the word
containing the bit or the word itself will be refreshed.
Note
(1) Immediate refreshing is possible only for the Built-in I/O Area. Use
IORF(097) for I/O on CP-series Expansion Units and Expansion I/O
Units.
(2) Refreshing Range
• Bit Operands
The ON/OFF status of the 16 I/O points allocated to the word contain-
ing the specified bit will be refreshed.
• Word Operands
The ON/OFF status of the 16 I/O points allocated to the specified word
will be refreshed.
(3) Refresh Timing
• Input or source operands are read just before the instruction is execut-
ed.
• Output or destination (results) operands are written just after the in-
struction is executed.
(4) Using instructions with the immediate refresh option, instruction execu-
tion time will be increased, increasing the overall cycle time. Be sure to
confirm that this will not adversely affect system operation.
IORF(097) Refreshing
When IORF(097) (I/O REFRESH) is executed, the I/O bits in the specified
range of words are refreshed. IORF(097) can be used for CP-Series Expan-
sion Units, CP-series Expansion I/O Units, and CJ-series Special I/O Units.
If high-speed response is required from input to output, execute IORF(097)
before and after the relevant instructions.
Note
IORF(097) has a relatively long execution time which increases with the num-
ber of words being refreshed. Be sure to consider the affect of this time on the
overall cycle time. Refer to the
CP Series CP1H Programmable Controllers
Programming Manual
for instruction execution times.
15
0
!LD
0.00
0
15
!OUT
100.00
0
15
!MOV
1
101
11
7
11
7
Immediate refresh
CIO 0
CIO 101
CIO 1
CIO 100
IORF
St
E
IORF
2
5
Example
St
: Starting word
E
: End word
All the words from St to E, inclusive
are refreshed.
Here, the four words from CIO 2
to CIO 5 are refreshed.
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...