Transmitting Non-Failsafe Data - Siemens SIMATIC S5-95F Manual

Table of Contents

Advertisement

S5-95F

13.2.3 Transmitting Non-Failsafe Data

The prerequisites for transmitting data are as follows:
The location of the Send mailbox has been specified in DB1 (see section 13.2.1)
The data to be transmitted, additional information (such as the length of the Send data ("net
data") and the destination slave number) have been forwarded to the Send mailbox.
Figure 13-6 shows which information has to be stored in what part of the Send mailbox.
Example:
Send mailbox in flag area
(starting with FY 1)
Flag byte 1
Length of the "net data"
(in bytes (0 to 64))
Flag byte 2
Destination slave number
Flag byte 3
Data bytes ("net data")
max. 64 bytes
Flag byte 66
*
Number of the receiver;
Structure of the Coordination Byte Send (KBS)
Figure 13-7 shows the structure of the Coordination Byte Send (KBS).
7
6
5
Figure 13.7 Structure of the Coordination Byte Send
EWA 4NEB 812 6210-02
*
0
= Master
1 to 30 = Slaves
31
= Broadcast
Figure 13-6. Structure of the Send Mailbox
KBS
4
3
2
1
0
Example:
Send mailbox in data block
(starting with DW 1)
DL
DW 1
Length of the "net
data"
DW 2
1st data byte
DW 33
63rd data byte
0: No errors
1: Error during last data transfer
0: Program can process Send mailbox
(operating system has no access)
1: Send mailbox enabled
(program has no access)
S5-95F on SINEC L1
DR
Destination slave
*
number
2nd data byte
64th data byte
13-7

Advertisement

Table of Contents
loading

Table of Contents