Connecting the S5-100U to SINEC L1
S5-100U
Figure 13-9.
Programming “Message Processing” in FB2
C
DB3
A
F100.7
JC
=M001
L
DR0
L
KF+0
><F
JC
=M002
L
DL1
T
QB0
L
DR1
T
QB1
L
DL2
T
QB2
M2:
AN
M100.7
S
F100.7
M1:
A
F101.7
JC
=M003
C
DB2
L
KF+3
T
DL0
L
KF+0
T
DR0
L
IB3
T
DL1
L
IB4
T
DR1
L
IB5
T
DL2
AN
F101.7
S
F101.7
M3:
NOP
0
BE
Receive mailbox (DB3)
Check whether access to receive mailbox is permissible.
KBE/Bit 7=0: Access permitted
KBE/Bit 7=1: Access not permitted
Skip receive mailbox evaluation if access not permitted
Check whether the number of the source (master 0) is in
byte 2 of the receive mailbox
Skip receive mailbox evaluation if source No. 0
Transfer receive mailbox
to the PIQ
Set KBE/Bit 7=1, i.e. permit PLC access.
Program access is not permitted again until the
PLC has reset this bit.
Check whether access to the send mailbox is permitted.
KBS/Bit 7=0: Access permitted
KBS/Bit 7=1: Access not permitted
Skip send mailbox evaluation if access not permitted.
Set send mail box (DB2)
Specify length of the data packet in byte 1
of the send mailbox
Load destination number 0 (master) into byte 2 of the
send mailbox
Load input bytes 3, 4 and 5
into the send mailbox
Set KBS/bit 7, i.e. programmable controller has access to the send
mailbox
STL
Explanation
13-12
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 ...