Helo
The software on my computer running good but, Why when I run on another computer it gives the error message : "Cannect Comunicatioate with the PLC with the specifide UnitID"
or sometimesI get the error message (I do not know when): Message an attachment
try
{
if (plc == null)
{
Ethernet ethernet = new Ethernet("10.0.0.123", 20256, EthProtocol.TCP, 3, 3000);
plc = PLCFactory.GetPLC(ethernet, 0);
// Serial serial = new Serial(SerialPortNames.COM1, BaudRate.BR115200, 3, 3000, DataBits.DB8, System.IO.Ports.Parity.None, System.IO.Ports.StopBits.One);
// plc = PLCFactory.GetPLC(serial, 0);
}
dataTables = new DataTables(plc, DataTablesReadOptions.StructureAndValues);
dataGridView1.DataSource = null;
updateTablesListAndGrid();
ReadRange.Enabled = true;
WriteRange.Enabled = true;
ReadTable.Enabled = true;
WriteTable.Enabled = true;
UpdateTable.Enabled = true;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
Files:
Data Tables DLL Example.exe
Unitronics.ComDriver.DLL v1.0.0.33
Unitronics.DataTables.DLL v1.0.0.9
Xceed.Compression.dll
Xceed.Compression.Formats.dll