Siemens SIMATIC S5 CP 523 Manual page 193

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

Advertisement

CP 523
8.1.2
Setting "SEND" FB 200 Parameters
If you want to send a message frame of specific size, specify the length of the message frame to be
sent (in words) in the QLAE parameter. The "ENDZ" parameter is not significant here. In 3964(R)
mode, the message frame size must be specified.
If you want to send a message frame with end-of-text characters (variable length), specify "zero"
in the QLAE parameter and two end-of-text characters in the "ENDZ" parameter. Both end-of-text
characters must be in the same data word.
Example: End-of-text character 0D 0D
valid:
DW n
DW n+1
ENDZ
(End-of-text char.)
=
0
0
><
=
0
0
><
EWA 4NEB 811 6044-02a
H
KH: 44 44
invalid:
KH: 0D 0D
Table 8-2. Setting the "ENDZ" and "QLAE" Parameters
QLAE
(Frame length)
0
><
0
><
=
0
=
0
Using the "SEND" and "Receive" Function Blocks
DW n
KH: 44 0D
DW n+1
KH: 0D 00
Transmission mode
Message frame of specific length
Message frame of specific length
NOT PERMISSIBLE
Message frame with end-of-text characters
8-3

Advertisement

Table of Contents
loading

Table of Contents