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 - lpou

Pages: [1]
1
Support Questions / Re: Program locks up if connection is interrupted
« on: April 24, 2023, 12:52:41 PM »
I agree, You would have to create the IsConnected property in the drivers, to avoid the execution of read or write in the plc, if there is no connection, and thus avoid delay times.

2
Support Questions / Re: Program locks up if connection is interrupted
« on: April 23, 2023, 03:27:22 AM »
With the Timeout 200 property the total time is 34 sec., with the Timeout at 3000 it is 38 sec., I don't understand why. The solution that I have implemented that works for me is with Ping. Example:

Dim p As New Ping
Dim response = p.Send("192.168.250.1", 100)
        If response.Status.ToString <> "TimedOut" Then
           Try
                OmronEthernetFinsCom.Write("W61.01", 1)
            Catch ex As Exception
           End Try
        end if.

With the use of Ping, the waiting time is 3 seconds, with the 6 plcs disconnected.



3
Support Questions / Re: Program locks up if connection is interrupted
« on: April 22, 2023, 07:35:32 AM »
No, the waiting time is the same, about 46 sec. , if the 6 plcs are disconnected. How can you reduce the Timeout?. I'm also testing with Ping, but the timeout is also high. How can you reduce the timeout of Ping?.

4
Support Questions / Re: Program locks up if connection is interrupted
« on: April 22, 2023, 05:27:31 AM »
Yes.

5
Support Questions / Re: Program locks up if connection is interrupted
« on: April 21, 2023, 02:59:14 PM »
The event or property ConnectionEstablished and ConnectionClosed I can't find them.
If I use the ComError event
the delay time is about 4 sec.
I have 6 plc in the network, if all of them are disconnected, the delay time is 46 seconds.
How can I monitor if the plc is connected without having to read or write to the plc, since it causes execution time until the ComError event occurs.

6
Support Questions / Re: Program locks up if connection is interrupted
« on: April 20, 2023, 10:34:48 AM »
I have to control a network with 6 omron plcs with the OmronEthernetFinsCom driver, the problem is that if there are plcs not connected, and I execute a read or write instruction to the plcs not connected, the delay time is high. My question is,You can control if a plc is not connected,so do not perform a read or write access on it and avoid communication delay.

Example: if OmronEthernetFinsCom is connected Then OmronEthernetfinsCom.Read("D10") end if

7
Open Discussion / Re: Floating Numeric display
« on: April 18, 2023, 01:56:15 PM »
With version 3.99y it works fine. Since I have made my application with version 3.99x, it is possible to implement it in an easy way in version 3.99x, to perform readings of double integer and floating numbers, and not have to change all the program I have made to version 3.99y.

8
Open Discussion / Re: Floating Numeric display
« on: April 18, 2023, 01:04:18 PM »
No, I'm using the latest version 3.99x

9
Open Discussion / Re: Floating Numeric display
« on: April 18, 2023, 12:08:44 PM »
What code do I have to use to read floating point numbers and also double integers with omron plc with the OmronEthernetFinsCom driver?.

I tried the following code, but it doesn't work, I get the error "The string entry is not formatted correctly"
         Dim ValueFloat As Single = EthernetFins_ST60.Read("D2000@F")
         Dim ValueDint As Integer= EthernetFins_ST60.Read("D2000@L").

10
Open Discussion / Re: Siemens S7 driver
« on: April 07, 2023, 05:02:00 PM »
I have to work with siemens s7-1500, what is the best easy and reliable way to do it with adhmi, and if possible?.

11
Support Questions / Re: Program locks up if connection is interrupted
« on: April 07, 2023, 03:31:44 AM »
I already found the solution to the question of how to run multiple applications in the tips and tricks section.
Is there a way to control if a plc is connected before executing a read or write in it, to avoid the error or if we control the error that there is no delay time. For example
if OmronEthernetFINSCom1 is connected then.
It is possible to use or implement the property?

12
Support Questions / Re: Program locks up if connection is interrupted
« on: April 07, 2023, 02:43:57 AM »
I am using version 3.99x.
I have an other question.
 How can I run multiple apps at the same time?

13
Support Questions / Re: Program locks up if connection is interrupted
« on: April 06, 2023, 06:15:33 PM »
How to prevent the program from crashing when accessing a plc that is not connected?. It can be controlled with some instruction that the plc is connected before accessing to read in it?.

Pages: [1]