
CP 523 Communications Mode
Example: Transferring parameter setting data for parameter block 7
Start address 128 is set on the CP 523. Set the parameters as follows in ”3964(R) mode”:
• Message frame delay time: 4000 ms
• Time-out: 2000 ms
• Character delay time: 220 ms
• Connection buildup attempts: 6
• Number of Send attempts: 6
• Transmission: with block check character (BCC)
• Priority: low
* FB 99 waits until the CP 523 can accept job requests ( 4.1)
** ( 5.2)
STL FB 116STL OB 22 Explanation
:JU FB 99
NAME : SYNC*
:JU FB 116
NAME :BLOCK7
:BE
Load message frame delay time
(400
•
10 ms) into ACCUM 1 and transfer
to CP in bytes 6 and 7
Load acknowledge delay time
(200
D
•
10 ms) into ACCUM 1 and transfer
to CP in bytes 4 and 5
Load character delay time (22
D
•
10 ms)
into ACCUM 1 and transfer to CP in bytes
2 and 3
Load job number (90
H
), parameter
block number (7
H
) and
mode code (3
H
) into ACCUM 1 and
transfer to CP
Load connection buildup attempts (6)
and number of Send attempts (6) into
ACCUM 1 and transfer to CP in bytes 4
and 5
Load ”with BCC” (01
H
) and ”low
priority” (00
H
) into ACCUM 1 and
transfer to CP in bytes 2 and 3
Load job number (90
H
), parameter block
number (7
H
) and
follow-up request code (A
H
) into
ACCUM 1 and transfer to CP
NAME :BLOCK7
:L KH 0190
:T PW 134
:L KH 00C8
:T PW 132
:L KH 0016
:T PW 130
:L KH 9073
:T PW 128**
:L KH 0606
:T PW 132
:L KH 0100
:T PW 130
:L KH 907A
:T PW 128**
:BE
The status byte can be scanned approx. 30 ms after the job request is issued to check whether
correct initialization values were forwarded (X4 is returned to indicate errored values
( 7.4.1)).
Note:
EWA 4NEB 811 6044-02a
7-41
Kommentare zu diesen Handbüchern