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
Содержание SIMATIC S5-100U
Страница 6: ...EWA 4NEB 812 6120 02b ...
Страница 16: ...EWA 4NEB 812 6120 02b ...
Страница 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Страница 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Страница 23: ......
Страница 27: ......
Страница 36: ...EWA 4NEB 812 6120 02b ...
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 102: ...EWA 4NEB 812 6120 02b ...
Страница 156: ...EWA 4NEB 812 6120 02b ...
Страница 232: ...EWA 4NEB 812 6120 02b ...
Страница 268: ...EWA 4NEB 812 6120 02b ...
Страница 272: ...EWA 4NEB 812 6120 02b ...
Страница 336: ...EWA 4NEB 812 6120 02b ...
Страница 352: ...EWA 4NEB 812 6120 02b ...
Страница 412: ...EWA 4NEB 812 6120 02b ...
Страница 482: ...EWA 4NEB 812 6120 02b ...
Страница 484: ...EWA 4NEB 812 6120 02b ...
Страница 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Страница 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Страница 516: ...EWA 4NEB 812 6120 02b ...
Страница 522: ...EWA 4NEB 812 6120 02b ...
Страница 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Страница 524: ...EWA 4NEB 812 6120 02b ...
Страница 530: ...EWA 4NEB 812 6120 02b ...
Страница 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Страница 532: ...EWA 4NEB 812 6120 02b ...
Страница 534: ...EWA 4NEB 812 6120 02b ...
Страница 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Страница 536: ...EWA 4NEB 812 6120 02b ...
Страница 542: ...EWA 4NEB 812 6120 02b ...
Страница 543: ...Index EWA 4NEB 812 6120 02b ...
Страница 544: ...EWA 4NEB 812 6120 02b ...
Страница 550: ...EWA 4NEB 812 6120 02b ...