Siemens S7-1500 TIME datatype addressing

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!

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

This thread contains a work-around for reading DATE_AND_TIME datatypes, which may help you out.

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

Thanks chi - that took care of it!