76
Support Questions / Re: Advanced HMI driver performance problem
« on: June 14, 2023, 08:28:51 AM »
Have you tried version 3.99y Beta which is available from this forum?
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.
I submitted 6 or 7 spam posts.There are probably an average of a couple legitimate registrations each day.
How often are new users registering?
Edit: I guess I can just look at the member list to get an idea.
Private Sub RadioButton1_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton1.CheckedChanged
If RadioButton1.Checked Then
OmronEthernetFINSCom1.IPAddress = "192.168.1.80"
BasicLabel36.PLCAddressValue = "D4082"
Label23.Text = BasicLabel36.PLCAddressValue
End sub
Private Sub RadioButton2_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton2.CheckedChanged
If RadioButton2.Checked Then
OmronEthernetFINSCom1.IPAddress = "192.168.1.81"
BasicLabel36.PLCAddressValue = "D4120"
Label23.Text = BasicLabel36.PLCAddressValue
End sub
Private Sub SubscribeToComDriver()
If Not DesignMode And IsHandleCreated Then
CreateSubscriptionHandler()
SubScriptions.SubscribeAutoProperties()
End If
End Sub
- Set a breakpoint at "SubScriptions.SubscribeAutoProperties()" If PA Is Nothing Then
SubscribeTo(PLCAddress, 1, Nothing, PropertyToWrite, 1, 0)
Else
SubscribeTo(PLCAddress, 1, Nothing, PropertyToWrite, PA.ScaleFactor, PA.ScaleOffset)
End If
Private Sub RotationalIndicator1_ValueChanged(sender As Object, e As EventArgs) Handles RotationalIndicator1.ValueChanged
Dim turns As Single = RotationalIndicator1.Value / 360
RotationalIndicator1.Text = turns.ToString("0.0")
End Sub
The event or property ConnectionEstablished and ConnectionClosed I can't find them.They don't exist for the Omron driver. Attached are some patch files that can be used with 3.99y Beta that adds those events.
No, I'm using the latest version 3.99xTry the version 3.99y Beta from this forum. I think it supports the @F with the Omron driver
What code do I have to use to read floating point numbers and also double integers with omron plc with the OmronEthernetFinsCom driver?.Are you using version 3.99y?
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").
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?.Are you using V3.99y beta? it has better communication handling.