87
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 Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......