iX Talk

Combine or Split Time
Page 1 of 1

Author:  Kyle W. [ Tue May 05, 2015 10:04 am ]
Post subject:  Combine or Split Time

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).

CombineOrSplitTimeDemo.zip [33.73 KiB]
Downloaded 380 times

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group