Siemens SIMATIC S5 CP 523 Manual page 142

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 7
Start address 128 is set on the CP 523. The module is to be operated in Interpretive mode. The
message frames to be transmitted have different lengths; the end of the message frame is
therefore signalled with 0D0D
300 ms (300 ms=001E
STL OB 22
:JU
FB
NAME :SYNC **
:JU
FB
NAME :BLOCK7
: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
(0D0D
=two carriage returns). The character delay time may be
H
H
).
H
STL FB 114
99
NAME :BLOCK7
:L
112
:T
:L
:T
:L
:T
:L
:T
:BE
Load end characters into ACCUM 1 and
KH ODOD
transfer to CP in bytes 6 and 7.
PW 134
Load message frame length into
KH 0000
ACCUM 1 and transfer to CP in bytes 4
PW 132
and 5.
KH 001E
Load character delay time into ACCUM 1
PW 130
and transfer to CP in bytes 2 and 3.
Load job number (90
KH 9072
number (7
PW 128 *
ACCUM 1 and transfer to the CP.
Communications Mode
Explanation
), parameter block
H
) and mode code (2
) into
H
H
7-37

Advertisement

Table of Contents
loading

Table of Contents