Siemens SIMATIC S5 CP 523 Manual page 192

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

Advertisement

Using the "SEND" and "Receive" Function Blocks
8.1.1
Calling "SEND" FB 200
"SEND" FB 200 can be called in cyclic programs and in programs servicing timed
process
interrupts.
*
: JU
NAME
: SEND
DES:
: BADR : KF
DES:
: Q-DB : B
DES:
: QANF : KF
DES:
: QLAE : KF
DES:
: ENDZ : KH
DES:
: STAT : FY
DES:
: KBS : FY
DES:
: RKPL : BI
Name
Parameter
(Identif.)
Type
BADR
D
Q-DB
B
QANF
D
QLAE
I
ENDZ
D
STAT
Q
KBS
Q
RKPL
I
* Please note that FB 200 uses scratch flags.
8-2
STL
FB 200
Table 8-1. Block Parameters for "SEND" FB 200
Data
Type
KF
Start address of the module
Number of the source data block
KF
Number of the first source data word
BY
Number of data words to be transferred (message frame
length: max. 128 data words): Forwarding of a number in
KF format in the relevant byte
KH
Hexadecimal pattern for the end-of-text character
(ASCII character)
BY
Status byte
BY
Coordination byte 'send' (CBS)
BI
0: For Interpretive and Transparent mode (no flagging in
CBS)
1: For 3964(R) mode (flagging in CBS)
LAD / CSF
FB 200
BADR
Q-DB
QANF
QLAE
ENDZ
RKPL
Description
CP 523
interrupts and
*
FY
STAT
FY
KBS
EWA 4NEB 811 6044-02a

Advertisement

Table of Contents
loading

Table of Contents