Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Calibration of analog inputs and outputs for TM172

HVAC and Pumping Forum

Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • HVAC and Pumping Forum
  • Calibration of analog inputs and outputs for TM172
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
FedericoM
Commander FedericoM Commander
71
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
48
LeTomas
Lt. Commander LeTomas Lt. Commander
14
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to HVAC and Pumping Forum
Solved
otrotabi
Lt. Commander otrotabi
Lt. Commander

Posted: ‎2022-06-08 06:07 AM . Last Modified: ‎2022-06-08 06:09 AM

0 Likes
6
2247
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-08 06:07 AM . Last Modified: ‎2022-06-08 06:09 AM

Calibration of analog inputs and outputs for TM172

There are two different folders available in Ecostruxure Commissioning Tab where each analog input and output has an associated "Gain" and "Offset". They are refered to in the hardware manual but there are no examples on how to use them. I would like to know what they mean, and how to eventually use them.

 

Are they "hardware" related in terms of each particular device (factory calibrated and do not touch them) or is it possible to change them to have a better reading of a value ?

 

One typical problem we face is calibration of NTC probes, sometimes they are placed inside a tube (for example to measure water temperature) for the sensor protection.  What we usually do is assign an EEPROM variable which can be accesed in HMI to allow the user or maintenance people to adjust them.

 

calibration.png

Labels
  • Labels:
  • HVAC
  • Tags:
  • ecostruxure
  • english
  • hmi
  • hvac
  • TM172
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2022-06-08 06:28 AM

0 Likes
5
2238
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-08 06:28 AM

The values in the calibrate AI/AO folder are factory seetings for the raw values of the AI/AO.

They are adjustable in a special way. But normaly they should not be edited. 

Because if you change them you change the calibrated factory setting and you must know what you do. 

The values are based on raw values and regding to this they are not easy to handle.

From the last 5 years I know only one case with AO as 4..20mA were we need to touch this value.

In your case with the probe you could use directly calibration_AIx which is scaled to the measured value of the Input. 

These values are all retain and could directly used. 

See Answer In Context

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 6
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2022-06-08 06:28 AM

0 Likes
5
2239
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-08 06:28 AM

The values in the calibrate AI/AO folder are factory seetings for the raw values of the AI/AO.

They are adjustable in a special way. But normaly they should not be edited. 

Because if you change them you change the calibrated factory setting and you must know what you do. 

The values are based on raw values and regding to this they are not easy to handle.

From the last 5 years I know only one case with AO as 4..20mA were we need to touch this value.

In your case with the probe you could use directly calibration_AIx which is scaled to the measured value of the Input. 

These values are all retain and could directly used. 

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

otrotabi
Lt. Commander otrotabi
Lt. Commander

Posted: ‎2022-06-08 07:46 AM

In response to Bastian_Schmitz
0 Likes
4
2232
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-08 07:46 AM

Thanks but I do not understand completely. Except that I´d better not mess with them 🙂

 

I am used to using a Function block to add/subtract an offset from the value read by the PLC. It also warns me if the reading of the sensor is out of bounds. 

 

correction.png

 

 

 

 

 

 

 

I understand I might use Calibration_AIx eventually instead of defining another variable (rcfg_offset) for this. Is there any built-in variable I could access to know if there´s no sensor connected ?

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2022-06-08 11:39 PM

In response to otrotabi
0 Likes
3
2202
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-08 11:39 PM

If you work with REAL values, they way you have chossen is suitable in my opinion. If you want to check the analog Signal regarding to sensor failure (disconnect/shortcut) you can look on the value.

If the AI value changed to -32765 you have a misconfiguration (The AI pair is not configured proper)

If the AI value changed to -32768 you have a sensor failure (shortcut or disconnect)

These values should work in the most possible sensor configuration. But if you work with 0-5V or 0-10V you could not analyse a disconnected sensor.

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

otrotabi
Lt. Commander otrotabi
Lt. Commander

Posted: ‎2022-06-09 06:29 AM

In response to Bastian_Schmitz
0 Likes
2
2188
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-09 06:29 AM

As a side question, if you don´t mind @Bastian_Schmitz .

 

Is it better to work with INT Values instead of REAL values ? I know it takes less PLC resources (no int to real conversion are needed and less variables as well). But I find it easier to troubleshoot projects if I am reading actual values instead of INT values either in watch screen or the program debugging. 

 

I have not been faced with PLC limits when using TM172 but I do get warnings of "less than 10% of resources available" on the TM171 line, so I wander what is the way to go with this.

 

real.png

 

 

 

 

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

otrotabi
Lt. Commander otrotabi
Lt. Commander

Posted: ‎2022-06-09 07:39 AM

In response to otrotabi
0 Likes
1
2183
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-09 07:39 AM

Ok. I have convinced myself INT variables is the way to go.  I do not like having to do this everywhwere if I can help it.

 

realset.png

Let me rephrase my question. Are local variables a PLC overload ? Or they just live on Ecostruxure ? I still might include something like this when I want to have a quicker way to see real values while debugging

   

intset.png

 

 

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2022-06-09 07:58 AM

In response to otrotabi
0 Likes
0
2177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-09 07:58 AM

I think you can´t find a general answer if it is better to use INT or REAL. 

It would be depend on you application and you hardware.

If you use TM172 you can always use REAL because normaly you get no problems with memory on this hardware.

If you work with TM171O (like you explained) you could get the problem that the memory is not sufficated.

In that case it could make sense to work with 16Bit INT instead of 32Bit REAL to save memory.

On TM172 if you use REAL instead INT you could theretically the problem if you want exchange data per Modbus that the other controller need to rebuilt the REAL value. Because Modbus support only 16Bit values. Between two SE products this should no problem. But if you read out the value with a third party product you could face the issue that the Byte and/or Word order is different. In that case you will get less problems with a 16Bit value.

 

Regarding to the application i prefer to work mostly with 16Bit (UINT/INT) but if you want calculate something with a division or multiplikation it would make always sense to use a REAL value. Otherwise you result will get really unprecise.

But if you have the result you could convert it back to INT/UINT with one or two points after the comma. 

 

The main point to use REAL is that the integrated PID FB need real. I use mostly a FC in front of the inputs which convert a INT Value to Real/10.0.

 

 

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of