Connecting the S5-100U to SINEC L1
S5-100U
Figure 13-2. Programming Example for Setting Parameters in FB1
L
KF
1
T
FY
65
L
KH
4D00
T
FW
66
L
KY
100,0
T
FW
67
L
KH
4D00
T
FW
69
L
KY
101,0
T
FW
70
L
KH
4400
T
FW
72
L
KY
2,0
T
FW
73
L
KH
4400
T
FW
75
L
KY
3,0
T
FW
76
L
KH
EE4D
L
KH
EA7F
TNB
14
L
KH
0000
T
FW
64
T
FW
66
T
FW
68
T
FW
70
T
FW
72
T
FW
74
T
FW
76
L
KH
0080
T
FY
100
L
KH
0000
T
FY
101
BE
STL
-
Load slave number and
store it in flag byte 65
- Load “Flag” data identifier and store it
in flag byte 66
- Load flag byte 100 and store it
in flag byte 67
- Load “Flag” data identifier and store it
in flag byte 69
- Load flag byte 101 and store it
in flag byte 70
- Load “Data word” identifier and store it
in flag byte 72
- Store DB number “2” and DW number “0”
in flag bytes 73 and 74
- Load “Data word” identifier and store it
in flag byte 75
- Store DB number “3” and DW “0”
in flag bytes 76 and 77
- Transfer flag area FY64 to 67 to the system
data area:
- Load upper source address
- Load upper destination address
- Transfer a block of data 14 bytes long
Erase all buffer areas
- Load hexadecimal number “0000”
- Set all bits of FY64 to 77 to “0”
Default setting of the KBE;
Data can be received from the bus.
- Load binary number 1000 0000
- Set bit 7 to “1” and bits 6 to 0 to “0”
Default setting of the KBS;
Program has access to the send mailbox
- Load binary number 0000 0000
- Set bits 7 to 0 to “0”
Block end
Explanation
13-4
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 ...