Hello,
I cannot achieve to monitoring the value of the variables running in the program.
Can somebody help me?
Hello,
I cannot achieve to monitoring the value of the variables running in the program.
Can somebody help me?
More details please?
- What variables are you trying to monitor - Locations, Reals, Strings etc.
- What are you using to monitor - Teach Pendant, Terminal etc.
- Small Code example may be.
More details please?
- What variables are you trying to monitor - Locations, Reals, Strings etc.
- What are you using to monitor - Teach Pendant, Terminal etc.
- Small Code example may be.
hello,
I would like to know the value of a real variable from the KcWintcp.
But if you can explain me how to see them also in the teach pendant I will apreciate a lot.
Thanks in adavance
KCWinTCP is an online editor (CLI), therefore you can only 'return' values as opposed to constantly monitor them.
- You can monitor the IO in realtime only.
Use:
TYPE real_variable
PRINT real_variable
LIST/R real_variable
IFPWPRINT 1,1,1,1,1="REAL VARIABLE="+$encode(real_variable); (For Teach Pendant - IF Panel Window Displaying)
- Or use variable display option in Interface Panel Setup - Aux 0509 (D and E Controllers - Not available on C Controller from memory).
If you wish you to monitor them constantly, I would create a PC Program containing variations of the above and run it continuously.