Hello friends!
I have a big problem,
i don't know how to read an analog input
and how to work with the value of this input.
Is this in binary format after converting A/D?
[?+]: How to read Analog input in simatic manager?
-
- Posts: 122
- Joined: Fri Feb 29, 2008 4:17 pm
- Location: Europe
-
- Site Admin
- Posts: 3992
- Joined: Thu Feb 16, 2006 3:25 pm
- Location: Russia
Add Input to Symbol Table
MyAnalogInput PIW 300 INT // Integer !
Add Variable Table to your programm and insert this input.
Normal range for Analog input INT 0...27768
For convert to Real value (for example 0.0...100.0 mm) need use FC105 Scale
See Manuals with usefull examples, pictures and photos
SM331; AI 8x12 Bit Getting Started part 1: 4 -20mA
SM331;AI 8x12 Bit Getting Started Part 2: Voltage and PT100
SM331; AI 8 x 12 Bit Getting Started part 3: Thermocouples
http://support.automation.siemens.com/W ... 166/133300
Russian
http://www.automation-drives.ru/as/down ... 20mA_r.pdf
http://www.automation-drives.ru/as/down ... T100_r.pdf
MyAnalogInput PIW 300 INT // Integer !
Add Variable Table to your programm and insert this input.
Normal range for Analog input INT 0...27768
For convert to Real value (for example 0.0...100.0 mm) need use FC105 Scale
See Manuals with usefull examples, pictures and photos
SM331; AI 8x12 Bit Getting Started part 1: 4 -20mA
SM331;AI 8x12 Bit Getting Started Part 2: Voltage and PT100
SM331; AI 8 x 12 Bit Getting Started part 3: Thermocouples
http://support.automation.siemens.com/W ... 166/133300
Russian
http://www.automation-drives.ru/as/down ... 20mA_r.pdf
http://www.automation-drives.ru/as/down ... T100_r.pdf