Sample Applications and Programming Aids
Programming the CPU
As there is no parameter interchange between IP 265 and CPU in this example, the CPU need only
set the RUN bit in the control word.
The RUN command for the IP 265 is forwarded to the IP 265 in the CPU's restart routine.
If the IP is in slot 2, the section of the CPU user program for IP 265 control might look as follows:
•
STL in the CPU user program:
OB 21/22
Segment 1
0000
:L
0001
:T
.
.
.
ABCD
:BE
13-6
0000
KH
0200
QW
80
Set RUN bit for IP 265 in
the CPU restart routine
Normal CPU user program:
No processing of IP 265 input
or output data
IP 265
EWA 4NEB 812 6130-02a