1
Support Questions / Re: PLC to C#
« on: August 10, 2015, 09:27:57 AM »
I've got an error message if I had these lines of code :
An unhandled exception of type 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' occurred in AdvancedHMIDrivers.dll
Additional information: No reponse from PLC. Ensure baud rate is correct.
If I add a BasicLabel and set its address at "0" I can get the value, but as soon as I add the Console output code, even if I didn't change the baud rate, I got this error.
Code: [Select]
var _msg = driver.Read( "d0", 1 ); Console.WriteLine( _msg );
An unhandled exception of type 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' occurred in AdvancedHMIDrivers.dll
Additional information: No reponse from PLC. Ensure baud rate is correct.
If I add a BasicLabel and set its address at "0" I can get the value, but as soon as I add the Console output code, even if I didn't change the baud rate, I got this error.