Hi,
I'm doing a program in a TP177B that is communicating with a rtu SCADA PACK 334 by Modbus TCP.
In the application there are two users. I have to send to RTU the number 1 when the first user Log in an the number 2 when the second user Log in and send zero when any user Log out.
How can I do this? Is possible using scripts in a TP177B? Can Somebody send an example?
Thanks for your help.
You cannot use scripts on TP177B. However you have integrated functions of the panel and one of them is called GetUserName which gets currently logged user name into string tag. You can call this function with some button or, what is better, on screen load event. Then you can at least send user name. As long as scripts are not supported on this type of HMI I don't have an idea of how to convert username into digit.
Regards,
--------------------------------
Darius
Automation engineer/programmer