# Reading Siemens Int Data Types

**URL:** <https://forum.inductiveautomation.com/t/reading-siemens-int-data-types/34025>\
**Category:** Ignition\
**Created:** [April 18, 2020, 4:33am UTC](https://forum.inductiveautomation.com/t/reading-siemens-int-data-types/34025 "2020-04-18T04:33:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ott.andrew33](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ott.andrew33/32/44625_2.png) [@ott.andrew33](https://forum.inductiveautomation.com/u/ott.andrew33)\
**Post date:** [April 18, 2020, 4:33am UTC](https://forum.inductiveautomation.com/t/reading-siemens-int-data-types/34025/1 "2020-04-18T04:33:32Z")

</div>

I am trying to read the below tags from PLC:

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

However, I get the message below:

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

Below is the OPC Item Path:

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

If I have a %MW30 Tag with Int datatype, is the syntax for that tag in Ignition [DeviceName]MI30?

Sorry if this has been asked already.

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [April 18, 2020, 2:44pm UTC](https://forum.inductiveautomation.com/t/reading-siemens-int-data-types/34025/2 "2020-04-18T14:44:34Z")

</div>

Sorry to ask the obvious but Did you try [DeviceName]MW30 ?

And you have other tags working so it’s not a connection issue ?

---

<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:** [April 18, 2020, 5:06pm UTC](https://forum.inductiveautomation.com/t/reading-siemens-int-data-types/34025/3 "2020-04-18T17:06:27Z")

</div>

To read the value as a signed Integer MI30 is correct, but MW30 should also be working.  
Did you adjust the security settings as described in [this knowledgebase article](https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/29/0/connecting-to-siemens-s7-1200-and-s7-1500)?

---

<div class="post-metadata">

**Author:** ![ott.andrew33](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ott.andrew33/32/44625_2.png) [@ott.andrew33](https://forum.inductiveautomation.com/u/ott.andrew33)\
**Post date:** [April 18, 2020, 5:36pm UTC](https://forum.inductiveautomation.com/t/reading-siemens-int-data-types/34025/5 "2020-04-18T17:36:33Z")

</div>

I have tried [DeviceName]MW30 and the issue is still there. Interesting thing is my boolean tags are working fine.

---

<div class="post-metadata">

**Author:** ![ott.andrew33](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ott.andrew33/32/44625_2.png) [@ott.andrew33](https://forum.inductiveautomation.com/u/ott.andrew33)\
**Post date:** [April 18, 2020, 10:25pm UTC](https://forum.inductiveautomation.com/t/reading-siemens-int-data-types/34025/6 "2020-04-18T22:25:34Z")

</div>

I adjusted the security settings and the issue is still there. Do you know what else could cause it? Is my syntax wrong?

---

<div class="post-metadata">

**Author:** ![ott.andrew33](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ott.andrew33/32/44625_2.png) [@ott.andrew33](https://forum.inductiveautomation.com/u/ott.andrew33)\
**Post date:** [April 18, 2020, 10:29pm UTC](https://forum.inductiveautomation.com/t/reading-siemens-int-data-types/34025/7 "2020-04-18T22:29:14Z")

</div>

I figured out what the solution was, there was a trailing space on the OPC Server name

I just deleted space in the OPC Server name:

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

Good Reads:

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