seconds to S5Time
Hi,
You can use the following:
1)Write with the OP the time (in seconds) in a PLC word.
2)Convert the word to double int.
3)Multiply by 1000 (if the time was in seconds). You get the time in ms.
4)Convert from TIME to S5Time using a function called TIM_S5TI FC40 that you can find in the library under IEC function blocks.
Best regards,
Kelkoon