# Siemens S7-1500 TIME datatype addressing

**URL:** <https://forum.inductiveautomation.com/t/siemens-s7-1500-time-datatype-addressing/15877>\
**Category:** Ignition\
**Created:** [November 4, 2017, 12:44am UTC](https://forum.inductiveautomation.com/t/siemens-s7-1500-time-datatype-addressing/15877 "2017-11-04T00:44:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin.jones](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kevin.jones](https://forum.inductiveautomation.com/u/kevin.jones)\
**Post date:** [November 4, 2017, 12:44am UTC](https://forum.inductiveautomation.com/t/siemens-s7-1500-time-datatype-addressing/15877/1 "2017-11-04T00:44:59Z")

</div>

Hello,

I’m trying to address a TIME datatype on a Siemens S7-1500 PLC but unable to get a good tag connection in Ignition. All the data I’m trying to access is in DB50. All other data (bools and words) connect and read fine - I just can’t figure out what the tag properties and addressing need to be for the TIME tag. The tag is offset 42.0 in DB50 of the PLC. Can anyone suggest what the tag address and data type on Ignition side should be?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 4, 2017, 12:53am UTC](https://forum.inductiveautomation.com/t/siemens-s7-1500-time-datatype-addressing/15877/2 "2017-11-04T00:53:24Z")

</div>

Unfortunately the Siemens driver doesn’t have any support for date/time datatypes right now.

[This thread](http://forum.inductiveautomation.com/t/siemens-driver-date-and-time-values/5198/8) contains a work-around for reading DATE\_AND\_TIME datatypes, which may help you out.

---

<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:** [November 4, 2017, 8:23am UTC](https://forum.inductiveautomation.com/t/siemens-s7-1500-time-datatype-addressing/15877/3 "2017-11-04T08:23:59Z")

</div>

TIME is a simple 32bit signed Integer counting milliseconds. The address DB50,DI42 should give you the correct result.

---

<div class="post-metadata">

**Author:** ![kevin.jones](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kevin.jones](https://forum.inductiveautomation.com/u/kevin.jones)\
**Post date:** [November 6, 2017, 1:02pm UTC](https://forum.inductiveautomation.com/t/siemens-s7-1500-time-datatype-addressing/15877/4 "2017-11-06T13:02:37Z")

</div>

Thanks chi - that took care of it!

---

<div class="post-metadata">

**Author:** ![steven.oosterbosch](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@steven.oosterbosch](https://forum.inductiveautomation.com/u/steven.oosterbosch)\
**Post date:** [January 24, 2022, 10:03am UTC](https://forum.inductiveautomation.com/t/siemens-s7-1500-time-datatype-addressing/15877/5 "2022-01-24T10:03:46Z")

</div>

Also, use the TextField input and not the Numeric text field. This helped me a lot!

---

<div class="post-metadata">

**Author:** ![Jim\_Perks](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@Jim\_Perks](https://forum.inductiveautomation.com/u/Jim_Perks)\
**Post date:** [July 3, 2024, 9:50am UTC](https://forum.inductiveautomation.com/t/siemens-s7-1500-time-datatype-addressing/15877/6 "2024-07-03T09:50:41Z")

</div>

This was helpful 7 years later, thank you. 🙂
