S5-95F
S5-95F on SINEC L1
Structure of the Coordination Byte Receive (KBE)
Figure 13-9 shows the structure of the Coordination Byte Receive (KBE).
Figure 13-9.
Structure of the Coordination Byte Receive (KBE)
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)
a a a
a a a
a a a
a a a
7
a a a
a a a
a a a
a a a
6
a a a
a a a
a a a
a a a
5
a a a
a a a
a a a
a a a
4
a a a
a a a
a a a
a a a
3
a a a
a a a
a a a
a a a
2
a a a
a a a
a a a
a a a
1
a a a a
a a a a
a a a a
a a a a
0
KBE
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
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
13-9