ASCII Mode
7.3.1
Setting the CP 521 Parameters with Job 90XX
You can use the
"Transfer parameter setting data" job to transfer data for a
parameter block to the CP 521.
Note:
You can only initialize parameter blocks 0, 2 and 7 with the
parameter setting data" job. Parameter blocks 1, 3, 4, 5 and 6 are only
significant in print mode. They cannot be initialized from the user program.
When evaluating data from the CP 521 (PII), you must take into account that you
will not receive the correct response to a CPU job request (PIQ) until two cycles
after initiation of the job.
1. PC
1. DC
CPU passes job
to CP 521
Transfer of job
PC=program cycle, DC = data cycle
Figure 7-1. Job Transfer and Error Evaluation
This has the following significance for parameter setting with the user program:
•
At least seven program cycles are required for setting parameters in the three
parameter blocks
•
If errors occur (error message 08
required.
7-6
2. PC
2. DC
CP 521 receives
job from CPU
Error message
transferred
), correspondingly more program cycles are
H
CP 521
H
"Transfer
3. PC
CPU can
evaluate error
message
GWA 4NEB 812 6030-02b