Siemens SIMATIC S5 CP 523 Manual page 136

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

Advertisement

CP 523
Example:
Transferring the parameter setting data for parameter block 7
Start address 128 is set on the CP 523. The module is to be operated in Transparent mode. The
message frames to be transferred have a length of 6 bytes. An end-of-text character is not
required. The character delay time may be 3 s (3 s=001E
STL OB 22
:JU
FB
NAME :SYNC **
:JU
FB
NAME :BLOCK7
:BE
*
5.2
** The program in 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 in order to check
whether correct parameter values were forwarded (X4 is returned if values are false ( 7.4.1)).
EWA 4NEB 811 6044-02a
STL FB 111
99
NAME :BLOCK7
:L
KH O0O0
111
:T
PW 134
:L
KH 0006
:T
PW 132
:L
KH 001E
:T
PW 130
:L
KH 9071
:T
PW 128 *
:BE
Communications Mode
).
H
Explanation
Load no end-of-text characters into
ACCUM 1 and transfer to the CP in bytes
6 and 7.
Load frame length into ACCUM 1 and
transfer to the CP in bytes 4+5.
Load character delay time into ACCUM 1
and transfer to the CP in bytes 2+3.
Load job number (90
H
number (7
) and mode code (1
H
ACCUM 1 and transfer to the CP
), parameter block
) into
H
7-31

Advertisement

Table of Contents
loading

Table of Contents