Combine or Split Time
Posted: Tue May 05, 2015 10:04 am
This sample program will do three things. First, it will take time from three registers (hours, minutes, seconds) and combine them into one total string to display. Second, it will take user entered hours, minutes, seconds and combine them into a total number of seconds--which can be sent to the PLC. Finally, it will take a single register containing a total number of seconds from the PLC, split it (hours, minutes, seconds) into three tags and display it as time.
This program was compiled using iX Developer 2.10 SP3 (2.16.154).
This program was compiled using iX Developer 2.10 SP3 (2.16.154).