# Value scaling from PLC

**URL:** <https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591>\
**Category:** Ignition\
**Created:** [August 20, 2019, 10:41am UTC](https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591 "2019-08-20T10:41:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![miculacristianradu](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@miculacristianradu](https://forum.inductiveautomation.com/u/miculacristianradu)\
**Post date:** [August 20, 2019, 10:41am UTC](https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591/1 "2019-08-20T10:41:43Z")

</div>

Hello,

I have a PLC from B&R Automation, which have an HMI installed near it. I’m trying to read a value (temperature\_ from a register based on a list which I got from the guy who programmed the PLC.

 ![ex1](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/38c6b78224106601d4b25e88f8ab2fafd45e6910.jpeg)

The values that is read is not matching the value that is in local HMI. I tried different designators but nothing came close to that value. Is a problem of scaling this value?

 ![ex2](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7ed0fd42ca087ccb7eb2b4da31a6f2f7aa0da58e.jpeg)

Does anyone have an ideea in this case?  
Thank you!!

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 20, 2019, 11:17am UTC](https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591/2 "2019-08-20T11:17:20Z")

</div>

REAL is a floating point. Did you try IRF?

---

<div class="post-metadata">

**Author:** ![miculacristianradu](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@miculacristianradu](https://forum.inductiveautomation.com/u/miculacristianradu)\
**Post date:** [August 20, 2019, 11:21am UTC](https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591/3 "2019-08-20T11:21:00Z")

</div>

Hi. I tried IRF also, and I got this value:

 ![pic](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/ef0a3bcf2b40ad0e96e2964130b939657365acec.jpeg)

I’m expecting something near STC 42 value below:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2e3ae8593cf3d27eb4cb2ef90c0fc729202ef28b.png)

This register is for STC42.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 20, 2019, 11:37am UTC](https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591/4 "2019-08-20T11:37:09Z")

</div>

Looks like a byte order problem. Try different values for byte/word swapping and/or zero-based addressing (in the device settings, not the prefix).

---

<div class="post-metadata">

**Author:** ![miculacristianradu](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@miculacristianradu](https://forum.inductiveautomation.com/u/miculacristianradu)\
**Post date:** [August 20, 2019, 11:45am UTC](https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591/5 "2019-08-20T11:45:34Z")

</div>

Where I can do these settings? Ignition or the PLC?

Thanks!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 20, 2019, 11:54am UTC](https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591/6 "2019-08-20T11:54:02Z")

</div>

In Ignition. In the device settings in the gateway.

---

<div class="post-metadata">

**Author:** ![miculacristianradu](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@miculacristianradu](https://forum.inductiveautomation.com/u/miculacristianradu)\
**Post date:** [August 20, 2019, 1:25pm UTC](https://forum.inductiveautomation.com/t/value-scaling-from-plc/27591/7 "2019-08-20T13:25:20Z")

</div>

I had to uncheck this box.

 ![pic](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2b096e56d50a30f39c9dc39a71b07aa78c427530.jpeg)  
Now it works.

Thanks for help!!
