Print Mode
6.5
Data Transfer from the CPU to the CP 521
Data is transferred in the data cycle via the I/O bus.
6.5.1
Data from the CP 521 to the CPU
(Status of the CP 521, the printer and current clock data)
The CP 521 makes the following information available cyclically via the PII of
organization block OB 1:
Table 6-12.
Byte
0
Status of the CP 521
1
Printer status and day of the week
2 to 7
Date and time of day on the CP 521 clock
This information can then be read into the control program with load operations,
and evaluated.
Reading the status of the module in print mode (byte 0 in the PII)
Byte 0 "Status of the module" is divided into two halves. The information in one
half-byte is independent of that in the other half-byte. They can be combined as
required.
The following pages contain a description of the individual bits.
6-34
Data from the Module to the CPU
Meaning
CP 521
GWA 4NEB 812 6030-02b