Siemens S5-100U User Manual page 335

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

Connecting the S5-100U to SINEC L1
STL
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
Figure 13-2. Programming Example for Setting Parameters in FB1
13-4
-
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
S5-100U
EWA 4NEB 812 6120-02

Advertisement

Table of Contents
loading

Table of Contents