ProfessorFrink
Member
I am working on a higher level system that uses an InTouch HMI that needs to interface with a lower level system that is comprised of an S5 PLC and a WinCC HMI.
This higher level HMI (InTouch) must be able provide all of the inputs that that lower level HIM (WinCC) provides. The problem that I have run into is that some of the WinCC inputs are of the type S5Time and I cannot provide an S5Time type output with Intouch. I can provide an Int type variable to the PLC and convert it to an S5Time. The problem is that I cannot change the WinCC program (do not have the license as it was provided by the vendor as part of the subsystem). Thus I need to write a function in s5 that can in read an arbitrary input, determine if it is an Int or an S5Time, and handle it accordingly.
Is this possible?
This higher level HMI (InTouch) must be able provide all of the inputs that that lower level HIM (WinCC) provides. The problem that I have run into is that some of the WinCC inputs are of the type S5Time and I cannot provide an S5Time type output with Intouch. I can provide an Int type variable to the PLC and convert it to an S5Time. The problem is that I cannot change the WinCC program (do not have the license as it was provided by the vendor as part of the subsystem). Thus I need to write a function in s5 that can in read an arbitrary input, determine if it is an Int or an S5Time, and handle it accordingly.
Is this possible?