AdvancedHMI Software
General Category => Support Questions => Topic started by: camiloo77 on March 06, 2019, 01:49:12 PM
-
I'm trying to read some variables from Beckhoff CX90200 TwinCat 3 but is not possible yet.
TextBox1.Read=TwincatCom1.Read("MAIN.bVble[1]")
...
TextBox9.Read=TwincatCom1.Read("MAIN.bVble[9]")
An exception appear: 'No Response from PLC. Ensure driver settings are correct'
Driver settings are working with all Advanced HMI controls.
Any idea to resolve this?
-
Did you see this post about TwinCAT 3
https://www.advancedhmi.com/forum/index.php?topic=1958.msg10949#msg10949
-
Thanks Archie for your answer, I'm using port 851 and the rest of the project is working correctly.
Any suggest to read addresses with TwincatCom1.Read ??
Thanks again
-
When you say the rest of the project, do you have controls such as a BasicLabel showing values from TwinCAT? If so, the read should work because behind the scenes they use the same me BeginRead to retrieve values.
Do you have TwinCAT installed on the PC you are running the AdvancedHMI application? If so, that could be causing some issues. It does with TwinCAT 2, but I never tested it with TwinCAT 3 to see if it has the same bug in the AMS Router,
-
Hi Archie,
I have working controls like BasicLabel, AnalogValueDisplay and they're working correctly but reading with code doesn't.
Twincat is not installed on AdvancedHMI PC. Is there other way to read Addresses with AH??
When I try read a address, AdvancedHMI stop and focus in code: "MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException:'No Response from PLC. Ensure driver settings are correct."
I'm sure about driver settings because AH components are working.
Thanks for help. :)