Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nagato

Pages: [1]
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.

2
Support Questions / Read from a Omron PLC without using any controls
« on: January 26, 2016, 11:27:33 AM »
Hi,
I need to read from a Omron CJ1M PLC some variables and save them on a database. I want to do this work only using a code, for example, creating a driver object and then read all variables from that driver.
For example:
 -   declaration of the driver
 -   setting the comunications parameters in the form load
 -   read the variables in a timer sub

I hope I explain well what I want to do.
Thank you for your help.

Pages: [1]