# Word to integer conversion

**URL:** <https://forum.inductiveautomation.com/t/word-to-integer-conversion/37451>\
**Category:** General Discussion\
**Created:** [August 6, 2020, 12:55pm UTC](https://forum.inductiveautomation.com/t/word-to-integer-conversion/37451 "2020-08-06T12:55:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexm](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@alexm](https://forum.inductiveautomation.com/u/alexm)\
**Post date:** [August 6, 2020, 12:55pm UTC](https://forum.inductiveautomation.com/t/word-to-integer-conversion/37451/1 "2020-08-06T12:55:02Z")

</div>

Is there a way to read a word from the PLC,convert and display it as an integer on a label for instance?

---

<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 6, 2020, 1:03pm UTC](https://forum.inductiveautomation.com/t/word-to-integer-conversion/37451/2 "2020-08-06T13:03:59Z")

</div>

What kind of conversion do you need? What type of PLC? (Most drivers offer various built-in word conversions…)

---

<div class="post-metadata">

**Author:** ![alexm](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@alexm](https://forum.inductiveautomation.com/u/alexm)\
**Post date:** [August 6, 2020, 1:16pm UTC](https://forum.inductiveautomation.com/t/word-to-integer-conversion/37451/3 "2020-08-06T13:16:59Z")

</div>

Its a Siemens 1513F-1 . I read the tag through kepware in ignition perspective.

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [August 6, 2020, 1:46pm UTC](https://forum.inductiveautomation.com/t/word-to-integer-conversion/37451/4 "2020-08-06T13:46:29Z")

</div>

I don’t know the Kepware driver, but a word in a Siemens PLC is simply an unsigned integer with a range from 0 to 65535. There should be no need for a conversion unless you configured it as signed in Kepware.
