Siemens SIMATIC S5-100U System Manual page 290

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

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)
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
:
:
000A
:L
IB
67
000C
:SLW
6
000E
:T
IW
70
0010
:
0012
:L
IB
66
0014
:SLW
6
0016
:T
IW
68
0018
:
001A
:L
IB
65
001C
:SLW
6
001E
:T
IW
66
0020
:
0022
:L
IB
64
0024
:SLW
6
0026
:T
IW
64
0028
:
002A
:
002C
:JU FB 250
002E NAME :RLG:AI
0030 BG
:
KF +0
0032 KNKT :
KY 0,4
0034 OGR
:
KF +1000
0036 UGR
:
KF +0
0038 EINZ :
F
003A XA
:
FW 100
003C FB
:
F
102.0
003E BU
:
F
102.1
0040
:
0042
:BE
11-18
in IB64
in IB65
in IB66
in IB67
Read in channel 3
Read in channel 2
Read in channel 1
Read in channel 0
Module on slot 0
Channel/No. 0, unipolar representation
Upper limit 1000 (1000 mV)
Lower limit 0
0.0
No meaning
Output, 0 to 1000 mV in KF
Error bit for parameter assignment
Range overflow
(always 0 with this module)
Explanation
EWA 4NEB 812 6120-02b
S5-100U

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents