1
Support Questions / Re: Read from a Omron PLC without using any controls
« on: January 27, 2016, 09:57:34 AM »
I cannot use the object OmronEthernetFINSCom, I have to use OmronSerialHostLinkCom object.
I try to read in this way:
Dim OmronConnection As New AdvancedHMIDrivers.Omron.OmronSerialHostLinkCom
set the comunication parameters at start
Dim appstring = OmronConnection.Read("D500", 1)
But it go in exception in the HostLinkBaseCom.vb at line 1116 (Function WaitForResponse) with this exception: "Object reference not set to an instance of an object."
I cannot understand why it happens.
I try to read in this way:
Dim OmronConnection As New AdvancedHMIDrivers.Omron.OmronSerialHostLinkCom
set the comunication parameters at start
Dim appstring = OmronConnection.Read("D500", 1)
But it go in exception in the HostLinkBaseCom.vb at line 1116 (Function WaitForResponse) with this exception: "Object reference not set to an instance of an object."
I cannot understand why it happens.