IP 265
4.3
Output and Input Data
IP 265 program processing is controlled by the CPU via the external I/O bus.
For each slot, 8 bytes are reserved for the IP 265 in the process image of the outputs (PIQ) and in
the process image of the inputs (PII) of the CPU. 8 bytes of output data can be stored for the IP 265
in the PIQ. The IP 265 on the other hand provides 8 bytes of input data for the CPU for further
evaluation in the PII.
The PIQ can be assigned the following output data:
•
Word 0:
Control word:
•
Word 2, 4, 6: Input parameters of the IP 265 user program
The following IP 265 input data can be evaluated in the PII:
•
Word 0:
Status word:
•
Word 2, 4, 6: Output parameter of the IP 265 user program
Contents of the PIQ
Byte 0
Control word
Byte 1
Byte 2
Byte 3
Byte 4
Input
parameters
Byte 5
Byte 6
Byte 7
Figure 4-5. Assignment of the PIQ and PII in the CPU
The PIQ and the PII can be written and read
•
by the CPU user program (normal operation)
•
with the aid of COM 265 (on-line test)
•
with the aid of the "FORCE VAR" PLC function
EWA 4NEB 812 6130-02a
Instructions for IP 265,
e.g. "Switch IP 265 to RUN"
Status of the IP 265 or of program scanning,
e.g. "IP 265 in RUN"
Byte 0
Byte 1
Byte 2
Byte 3
Output
data to
Byte 4
IP 265
Byte 5
Byte 6
Byte 7
General Operation
Contents of the PII
Status word
Output
parameters
Input data
for the
CPU
4-7