11/17/2012 4:30 PM | |
Joined: 9/27/2006 Last visit: 10/10/2024 Posts: 12285 Rating: (2685)
|
Hello faizudin; The following manual will give you information on your analog module and on the scaling of TC inputs. SIMATIC S7-300 S7-300 Automation System Module Data Chapter 6.7 shows the 6ES7331-7KF02-0AB0 analog input module connections ansd parameters. For TC connections the range modules should be placed in the A position, as you mention. Parameters for the TC channels should also be selected properly in the HWConfig editor. You do not mention that you have done so, but let’s presume all configurations and wiring have been done properly. Chapter 5 discusses the analog values representation In Step 7; table 5,32 shows how the TC type T values are represented (see the attached table). Notice that if you read (decimal) 4000 in your analog input address (say PIW 512, look at the HWConfig configuration for that analog input) the temperature you are reading corresponds to 400.0 °C. If you read -2700 in the same address the corresponding temperature is -270.0. Notice the pattern? To convert the integer value to the correct temperature you start by converting the decimal value in the PIWxxx address that corresponds to you channel to a REAL value (use the convert instructions I-DI and then DI-R); once the value is REAL, then simply DIV_R by 10.0. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 11/17/2012 4:44 PMLast edited by: dchartier at: 11/17/2012 4:41 PM |
|
This contribution was helpful to1 thankful Users |
11/21/2012 5:32 PM | |
Posts: 18 Rating: (0) |
Hi dchartier, Attachmentjpeg.zip (743 Downloads) |
12/4/2012 9:50 PM | |
Joined: 11/15/2012 Last visit: 8/25/2022 Posts: 24 Rating: (2) |
thank you very much "dchartier" , god save you , i'm starting to learn it , it's very important , thanks a lot |
5/23/2018 11:25 AM | |
Joined: 6/19/2017 Last visit: 9/6/2024 Posts: 8175 Rating: (172) |
New question published by AutoGen_9629035 is split to a separate thread with the subject Analog input Thermocouple type configuration. Best regards |
Follow us on