Electromechanical30
Industrial
- Sep 15, 2004
- 45
Hello,
I am currently creating a SCADA system. Part of the program will read from the timer registers of a PLC. Since the PLC Timer acc and pre values are in seconds, I need to write some code that will display a HR:MIN value in a txtBox. The operator shouldn't have to try to figure out how long 5400 sec is... Any examples or web links would be great. I am fairly proficient in VB, but I don't know the proper syntax for complex mathematical operations.
Regards,
jMk
I am currently creating a SCADA system. Part of the program will read from the timer registers of a PLC. Since the PLC Timer acc and pre values are in seconds, I need to write some code that will display a HR:MIN value in a txtBox. The operator shouldn't have to try to figure out how long 5400 sec is... Any examples or web links would be great. I am fairly proficient in VB, but I don't know the proper syntax for complex mathematical operations.
Regards,
jMk