I’m working a lot with Siemens Simatic PLC’s. These PLC’s have a special timer (S5Time) data type for timers.
It would be very nice, if this data type could be added to Ignition Siemens driver.
Now we must put the timer value in Ignition as INT, and the conversion from INT to S5time is done in PLC. If you have only a few timers, then is not some much trouble, but if you have a lot of them,…
This already came up some time ago. As a workaround you can use an additional expression tag to convert to S5TIME format. See this topic for an example.
Your ‘solution’ is working good for writing s5time to PLC.
How about reading it back (from PLC to Ignition)?
So that there can be one input/output field for setting/viewing timer values…
You my try importing the attached files. It is an UDT (S5TIME) and a templated input field.
Insert the template in a window and drag an UDT instance to the template. The UDT itself has a parameter for the OPC address.
It is a bit complicated to use custom value scaling in Ignition, so this is the best solution i found so far. S5TimeInput_Template.proj (5.54 KB) S5Time_UDT.csv (2.86 KB)
Hi there.
When I try to download the files it gives me 404. Could you upload them again please? I’m in a need to convert S5TIME to integer or float for display purposes. Thanks!