Communications Capabilities
Example of SINEC L1 Parameter Assignments:
Set parameters in OB22 (OB21). FB 255 is used to handle parameter entry.
The formal operands indicate the type and number of the coordination bytes (CBR, CBS) and of
the data mailboxes (RMB, SMB), e.g., TCBR is a "receive" coordination byte.
OB21/OB22 STL
: JU
FB 255
NAME : L1
PARAM
SLNO :
KY 0,1
TCBR :
KS FY
NCBR :
KY 100,0
TCBS :
KS FY
NCBS :
KY 101,0
TSMB :
KS DB
NSMB :
KY 2,1
TRMB :
KS DB
NRMB :
KY 2,40
: BE
Parameter description:
SLNO:
PG bus address/data slave address (KY a, b):
a) PG bus address
b) Data slave number
TCBR/NCBR: Type of COOR byte for RECEIVE/SEND (KS):
Options are
TCBS/NCBS: Number or address of COOR byte for RECEIVE/SEND (KY a, b):
a) For type FY ˆ =
For type DW ˆ =
b) For type FY ˆ =
For type DW ˆ =
TSMB/NSMB: Type of SEND/RECEIVE MAILBOX (KS):
Options are
TRMB/NRMB: Number of the SEND/REVCEIVE MAILBOX (KY a, b):
a) Type FY ˆ =
Type DB ˆ =
b) Type FY ˆ =
Type DB ˆ =
12-14
SLAVE 1
CBR
:
FY 100
CBS
:
FY 101
SMB
:
DB2 BEG. DW1
RMB
DB2 BEG. DW40
FY
ˆ =
Flag byte
DW ˆ =
Data word (left)
Number of the flag byte
Number of the data block
ˆ "0"
Number of the data word (left)
FY
ˆ =
Flag byte
DW ˆ =
Data word (left)
Number of the flag byte with which the Send/Receive mailbox
begins
Number of the data block
"0"
Number of the data word with which the Send/Receive mailbox
begins
Description
FLAG AREA
FLAG AREA
DATA BLOCK
:
DATA BLOCK
S5-115U Manual
EWA 4NEB 811 6130-02b