Siemens SIMATIC S5 CP 523 Manual page 144

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.
Set CP parameters as follows:
Parameters for the serial interface (parameter block 0)
2400 baud
Even parity
No BUSY signal
V.24 (RS232C) interface
7 data bits (11-bit character frame)
Handshake OFF
STL OB 22
:JU
FB
NAME :SYNC**
:JU
FB
NAME :BLOCK0
:BE
*
5.2
** FB 99 waits until the CP 523 can accept job requests ( 4.1)
Note:
Restart OB 22 is processed only when the CPU is at RUN before switching from POWER OFF to
POWER ON.
Special features pertaining to parameter setting of "3964(R) mode" in the user program
As in "Transparent" and "Interpretive" mode, you transfer all parameter setting data to the CP
with job number 90XX
in the same way as in the other modes, except that you must transfer a number of additional
parameters for "3964(R) mode". These added parameters are defined in parameter block 7. Since
it is not possible to transfer all required parameters in 8 bytes, the parameter setting of parameter
block 7 is divided into two steps. The job numbers for these steps are 9073
907A
(follow-up job request).
H
The contents of the transfer memory for job numbers 9073
and 7-20.
EWA 4NEB 811 6044-02a
STL FB 115
99
NAME :BLOCK0
:L
115
:T
:L
:T
:L
:T
:L
:T
:BE
"Transfer parameter setting data". You enter the parameter setting data
H
(06
)
H
(00
)
H
(00
)
H
(01
)
H
(00
)
H
(00
)
H
Handshake OFF
KH 0000
7 data bits (11-bit character frame)
PW 134
No BUSY signal
KH
0001
V.24 (RS232C) interface
PW 132
2400 baud
KH
0600
Even parity
PW 130
Transfer job number for "Parameter
KH 9000
setting data for parameter block 0"
PW 128*
and 907A
H
Communications Mode
Explanation
(1st job request) and
H
are listed in Tables 7-19
H
7-39

Advertisement

Table of Contents
loading

Table of Contents