Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-30 09:34 PM
Hello,
Im kinda confused how to scale/transform my analog values from AMI0810 and eAMI0812.
First i tried using ACI40 and I_PHYS block to convert it (viz image below), but im not sure if this is the right solution. What should i bring on "SLOT" bcs right now I have there "TRUE_VALUE" from analog sensor. Maybe i didnt uderstand the "CHANNEL" correctly, bcs from HELP in Control Expert I would guess that on "SLOT" I should bring something what defines on which slot is the Sensor located and Channel is the I/O channel of the sensor. But SLOT value wants type INT so now I have no idea how am I supposed to get the right data from it.
I also found on other forums that "SCALE" on the device does the trick but i probably didnt uderstand it correctly bcs this doesnt seems right to me. How would the program know that when i have Temperature sensor which scale is from 0-60 °C and it is 16 bit how to scale it based only on number of bits.
The output i wanna achive is that i need to transform analog value from Thermometer, flowmeter and surfacemeter to they REAL value and then later use this values to control the application and display them on HMI.
If Im somewhere wrong dont hesitate to correct me.
Thanks in advance for your Ideas.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-31 01:05 AM
Hi,
You could use the SCALING function block but would need to convert the input value to REAL first
The PARA variable is a structure with the scaling parameters
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-02 11:38 AM
You should do as Hennie_Smith says.
You should also consider taking it the next step further and wrapping it all up inside a DFB, and pass the raw input and the channel health bit as input parameters.
Something that we also like to do is change the default raw input channel range of 0-10000, to 4000-20000 (i.e, uA, if you are using 4-20mA), as this means it is easier to talk with the sparkies looking at their multimeters when electrical fault finding.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-31 01:05 AM
Hi,
You could use the SCALING function block but would need to convert the input value to REAL first
The PARA variable is a structure with the scaling parameters
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-02 11:38 AM
You should do as Hennie_Smith says.
You should also consider taking it the next step further and wrapping it all up inside a DFB, and pass the raw input and the channel health bit as input parameters.
Something that we also like to do is change the default raw input channel range of 0-10000, to 4000-20000 (i.e, uA, if you are using 4-20mA), as this means it is easier to talk with the sparkies looking at their multimeters when electrical fault finding.
Link copied. Please paste this link to share this article on your social media post.
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.
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