Siemens S5-100U User Manual page 284

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

Advertisement

S5-100U
Example 2:
Analog input module 466-8MC11 is inserted in slot 0, which means that the module's start address
is 64.
The analog values that are read in are stored in four consecutive bytes:
1st analog value
(channel 0)
2nd analog value
(channel 1)
3rd analog value
(channel 2)
4th analog value
(channel 3)
Function block 73, pictured below, reads in the analog values and pre-processes them for FB250.
The additional processing with FB250 is done just like module 464, however without an overflow bit.
FB73
NAME :READ AI
0005
:
0006
:
0007
:L
IB
0008
:SLW
0009
:T
IW
000A
:
000B
:L
IB
000C
:SLW
000D
:T
IW
000E
:
000F
:L
IB
0010
:SLW
0011
:T
IW
0012
:
0013
:L
IB 64
0014
:SLW
0015
:T
IW
0016
:
0017
:
11-18
in IB64
in IB65
in IB66
in IB67
67
3
70
66
3
68
65
3
66
3
64
Explanation
Read in channel 3
Read in channel 2
Read in channel 1
Read in channel 0
Analog Value Processing
EWA 4NEB 812 6120-02

Advertisement

Table of Contents
loading

Table of Contents