Siemens SIMATIC S5-95F Manual page 363

Table of Contents

Advertisement

S5-95F
Structure of the Coordination Byte Receive (KBE)
Figure 13-9 shows the structure of the Coordination Byte Receive (KBE).
7
6
5
Figure 13-9. Structure of the Coordination Byte Receive (KBE)
Structure of the user program for receiving data:
Check bit 7 in the KBE to see whether you can retrieve data from the Receive Mailbox. In order
for you to be able to read data out of the KBE, bit 7 must be "0".
The following errors and status codes are also flagged in the KBE:
At least one slave failed
Bus at RUN (STOP)
Special Features
If you reserved too little space in memory for the Receive mailbox, the available space is padded
(flag area up to flag byte 255, data block up to and including the last data word); the remaining
Receive data cannot be stored. In this case, the PLC does not report an overflow.
Sample programs for sending and receiving data can be found in the SINEC L1 Manual (in the
section entitled "Programming").
Interval for Receiving Frames
Note
Please note that the S5-95F cannot receive a new frame until it has processed the
previous one. You should therefore arrange communications between nodes so that
frames are received at least 100 ms apart, otherwise the S5-95F may not accept the
next frame.
EWA 4NEB 812 6210-02
KBE
4
3
2
1
0
S5-95F on SINEC L1
0: No errors
1: Error during last data transfer
0: No slave failed
1: At least one slave failed
0: Bus at STOP
1: Bus at RUN
0: Program can access Receive
Mailbox
(operating system has no access)
1: Operating system entering data into
Receive Mailbox
(program has no access)
13-9

Advertisement

Table of Contents
loading

Table of Contents