This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
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 InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-3009:34 PM
Transforming analog value to REAL/INT value
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.