Sending Data - Siemens SIMATIC S5-100U System Manual

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

Connecting the S5-100U to SINEC L1

13.3.1 Sending Data

The prerequisites for sending data are as follows:
The parameters are set in DB1 for the location of the Send Mailbox (see section 13.2.2).
The data to be sent, additional information (length of the send data "net data"), and destination
slave number are then transferred to the Send Mailbox.
Figure 13-4 shows which information has to be stored in what part of the Send Mailbox.
Example:
Send Mailbox in the flag area
(beginning with flag byte 1)
Flag byte 1
Length of the "net data"
(0 to 64 bytes)
Flag byte 2
Numb. of the dest. slave*
Flag byte 3
Data ("net data")
maximum of 64 bytes
Flag byte 66
*
Number of the receiver:
1 to 30 = Slaves
Structure of the Coordination Byte Send (KBS)
Figure 13-5 shows the structure of the Coordination Byte Send (KBS).
Bit
7
6
5
Figure 13-5. Structure of the Coordination Byte Send (KBS)
13-8
Example:
Send Mailbox in the data block
(beginning with data word DW1)
DW1
DW2
DW33
0 = Master
31 = Broadcast
Figure 13-4. Structure of the Send Mailbox
KBS
4
3
2
1
0
DL
Length of the "net
Number of the
data"
destination slave*
1st data byte
2nd data byte
63rd data byte
64th data byte
0:
No error
1:
Error during last data transfer
0:
No express transmission
1:
Request a bus interrupt for this
transmission (express transmission)
0:
Program is able to process Send
Mailbox (operating system has no
access)
1:
Send Mailbox is enabled (program has
no access)
EWA 4NEB 812 6120-02b
S5-100U
DR

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents