Siemens SIMATIC S5 CP 523 Manual page 140

Serial i/o module
Hide thumbs Also See for SIMATIC S5 CP 523:
Table of Contents

Advertisement

CP 523
Example:
Transferring parameter setting data for parameter block 2
STL OB 22
:JU
FB
NAME :SYNC**
:JU
FB
113
NAME :BLOCK2
:BE
*
5.2
** FB 99 waits until the CP 523 can accept job requests ( 4.1)
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
STL FB 113
99
NAME :BLOCK2
:L
:T
:L
:T
:BE
Load ASCII codes for XON and XOFF
character into ACCUM 1, transfer to CP
KH 1113
in bytes 2 and 3.
PW 130
Load ACCUM 1 with job number and
KH 9020
parameter block number and transfer to
PW 128*
CP in bytes 0 and 1.
Communications Mode
Explanation
7-35

Advertisement

Table of Contents
loading

Table of Contents