
CP 523 Communications Mode
Example: Transferring parameter setting data for parameter block 2
* 5.2
** FB 99 waits until the CP 523 can accept job requests ( 4.1)
STL FB 113STL OB 22 Explanation
:JU FB 99
NAME :SYNC**
:JU FB 113
NAME :BLOCK2
:BE
Load ASCII codes for XON and XOFF
character into ACCUM 1, transfer to CP
in bytes 2 and 3.
Load ACCUM 1 with job number and
parameter block number and transfer to
CP in bytes 0 and 1.
NAME :BLOCK2
:L KH 1113
:T PW 130
:L KH 9020
:T PW 128*
:BE
Note:
The status byte can be scanned approx. 30 ms after the request was issued to check whether
correct parameter values were forwarded (X4 is returned to indicate false values ( 7.4.1)).
EWA 4NEB 811 6044-02a
7-35
Kommentare zu diesen Handbüchern