Direct And Indirect Parameter Settings For The L2 Function Blocks - Siemens SIMATIC S5 Manual

Interface of the programmable controller
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Integral Standard Function Blocks L2-SEND and L2-RECEIVE
5.2

Direct and Indirect Parameter Settings for the L2 Function Blocks

You can set parameters either directly or indirectly for the L2-SEND and L2-RECEIVE function
blocks.
The advantage of indirect parameter settings: you can assign new parameters to the standard
function blocks from the STEP 5 program. The parameters are then located as a parameter list in a
data block.
Table 5-6 is an example of direct parameter settings for the L2-SEND function block. Table 5-7 is
an example of indirect parameter settings for the L2-SEND function block.
Table 5-6. An Example of Direct Parameter Settings for the L2-SEND Function Block
Direct Parameter Settings
JU
NAME
:
A-NR
:
QTYP
:
DBNR
:
QANF
:
QLAE
:
Table 5-7. An Example of Indirect Parameter Settings for the L2-SEND Function Block
Indirect Parameter Settings
JU
NAME
:
A-NR
:
QTYP
:
DBNR
:
QANF
:
QLAE
:
DB
DW 14
DW 15
DW 16
DW 17
DW 18
5-4
FB 252
L2-SEND
KY 0,5
KS DB
KY 0,9
KF +10
KF +33
FB 252
L2-SEND
KY 0,0
KS YY
KY 0,10
KF +14
KF +0
10
KY 0,17
KS
DB
KY 0,8
KF +22
KF +45
Explanation
Data are sent to station 5.
The data to be sent are located
in data block DB9
starting with data word DW10.
Net data length is 33 words.
Explanation
Irrelevant
ID for indirect parameter assignment
The parameters for the job are located in data block
DB10 beginning with data word DW14.
Irrelevant
Data are sent to station 17.
The data to be sent are located in data block DB8
starting with data word DW22.
Net data length is 45 words.
S5-95U, SINEC L2
EWA 4NEB 812 6112-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinec l2S5-95u

Table of Contents