EasyManua.ls Logo

Siemens S5-100U - Page 284

Siemens S5-100U
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S5-100U Analog Value Processing
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) in IB64
2nd analog value (channel 1) in IB65
3rd analog value (channel 2) in IB66
4th analog value (channel 3) in IB67
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 Explanation
NAME :READ AI
0005 :
0006 :
0007 :L IB 67 Read in channel 3
0008 :SLW 3
0009 :T IW 70
000A :
000B :L IB 66 Read in channel 2
000C :SLW 3
000D :T IW 68
000E :
000F :L IB 65 Read in channel 1
0010 :SLW 3
0011 :T IW 66
0012 :
0013 :L IB 64 Read in channel 0
0014 :SLW 3
0015 :T IW 64
0016 :
0017 :
11-18
EWA 4NEB 812 6120-02

Table of Contents

Related product manuals