Omron CP1H CPU Operation Manual page 119

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

CPU Unit Operation
Immediate Refreshing
Note
IORF(097) Refreshing
Note
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.
Immediate refresh
!LD
0.00
!OUT
100.00
!MOV
1
101
(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.
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.
IORF
St: Starting word
St
E: End word
All the words from St to E, inclusive
E
are refreshed.
Example
IORF
Here, the four words from CIO 2
to CIO 5 are refreshed.
2
5
If high-speed response is required from input to output, execute IORF(097)
before and after the relevant instructions.
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.
Section 2-4
15
11
CIO 0
15
7
CIO 100
15
11
CIO 1
7
CIO 101
0
0
0
85

Advertisement

Table of Contents
loading

Table of Contents