Connecting the S5-100U to SINEC L1
S5-100U
Structure of the Coordination Byte Receive (KBE)
Figure 13-7 shows the structure for receiving data (KBE).
Figure 13-7. Structure of the Coordination Byte Receive (KBE)
7
6
5
4
3
2
1
0
KBE
Bit
0:
No error
1:
Error during last data transfer
0:
No slave failed
1:
At least one slave failed
0:
Bus in STOP mode
1:
Bus in RUN mode
0:
No message
1:
Data arrives as express transmission
0:
Program can access the Receive
Mailbox
(operating system can not access)
1:
Operating system accepts data into the
Receive Mailbox
(program can not access)
Structure of the Control Program for Receiving Data:
1.
Check bit 7 of the KBE to see if it is possible to read the data from the Receive Mailbox. Bit 7
must be set to “0” so that the Receive Mailbox can be read.
2.
In addition, you can scan through the KBE for the following errors and operating conditions:
-
At least one slave has failed.
-
The bus is in RUN (STOP) mode.
-
The received data pack comes as an express transmission.
Special Features
If you have reserved too little memory for the Receive Mailbox, the available memory area is filled
up completely (flag area FY0 to FY255, DW0 to DW255). Therefore, the remaining receive data
cannot be stored. In this case, the programmable controller does not generate an overflow
message.
You can find sample programs for sending and receiving data in the
SINEC L1 manual (in the
chapter on “Programming”).
13-10
EWA 4NEB 812 6120-02b
Summary of Contents for SIMATIC S5-100U
Page 6: ...EWA 4NEB 812 6120 02b ...
Page 16: ...EWA 4NEB 812 6120 02b ...
Page 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Page 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Page 23: ......
Page 27: ......
Page 36: ...EWA 4NEB 812 6120 02b ...
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 102: ...EWA 4NEB 812 6120 02b ...
Page 156: ...EWA 4NEB 812 6120 02b ...
Page 232: ...EWA 4NEB 812 6120 02b ...
Page 268: ...EWA 4NEB 812 6120 02b ...
Page 272: ...EWA 4NEB 812 6120 02b ...
Page 336: ...EWA 4NEB 812 6120 02b ...
Page 352: ...EWA 4NEB 812 6120 02b ...
Page 412: ...EWA 4NEB 812 6120 02b ...
Page 482: ...EWA 4NEB 812 6120 02b ...
Page 484: ...EWA 4NEB 812 6120 02b ...
Page 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Page 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Page 516: ...EWA 4NEB 812 6120 02b ...
Page 522: ...EWA 4NEB 812 6120 02b ...
Page 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Page 524: ...EWA 4NEB 812 6120 02b ...
Page 530: ...EWA 4NEB 812 6120 02b ...
Page 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Page 532: ...EWA 4NEB 812 6120 02b ...
Page 534: ...EWA 4NEB 812 6120 02b ...
Page 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Page 536: ...EWA 4NEB 812 6120 02b ...
Page 542: ...EWA 4NEB 812 6120 02b ...
Page 543: ...Index EWA 4NEB 812 6120 02b ...
Page 544: ...EWA 4NEB 812 6120 02b ...
Page 550: ...EWA 4NEB 812 6120 02b ...