Siemens SIMATIC S5 CP 523 Manual page 134

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 0
Start address 128 is set on the CP 523.
You can set its parameters as follows:
Parameters for the serial interface (parameter block 0)
2400 baud
Even parity
No BUSYsignal
RS-232-C (V.24) interface
7 data bits (11-bit character frame)
Handshaking OFF
STL OB 22
:JU
FB
NAME :SYNC**
:JU
FB
NAME :BLOCK0
:BE
*
5.2
** The program waits at FB 99 until the CP 523 can accept job request ( 4.1)
Note:
Restart organization block OB 22 is only processed if the CPU is in RUN mode before you switch
from "POWER OFF" to "POWER ON".
Note:
The status byte can be scanned approx. 30 ms after the request was issued in order to check
whether correct parameter setting data was transferred (X4 is returned to indicate errored
values ( 7.4.1)).
EWA 4NEB 811 6044-02a
STL FB 110
99
NAME :BLOCK0
:L
KH 0000
110
:T
PW 134
:L
KH
:T
PW 132
:L
KH
:T
PW 130
:L
KH 9000
:T
PW 128 *
:BE
(06
)
H
(00
)
H
(00
)
H
(01
)
H
(00
)
H
(00
)
H
Handshaking OFF
7 data bits (11-bit character frame)
No BUSY signal
0001
RS-232-C (V.24) interface
2400 baud
0600
Even parity
Transfer "Parameter setting data
parameter block 0" job number
Communications Mode
Explanation
7-29

Advertisement

Table of Contents
loading

Table of Contents