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

Pages: 1 2 3 [4]
46
Open Discussion / Re: New Version 3.99v Now Available
« on: February 25, 2017, 03:23:59 AM »
Can you explain function of new component SimpleWebServer?

47
Support Questions / Re: PLC comms driver
« on: February 23, 2017, 03:15:25 AM »
Ok now it works but not as i want. I have my button to change IPAddress on main form and one more form with parameters which i wanna change IPAddress. Now if i start debuging and click button for change IPAddress, the IP  changed, but if you first go to second form and then back to main and click button, the IP wont change. As soon as second form is open, ip change button dont work anymore.
Now if u have more IPs to change u need to stop debuging and start it again to change IP. Its possible to close the form with "back" button completely? I think thats the problem, because already open form is running in the back. 

And one more  question for Archie. How its about data, only open form get data, or all forms getting data although you havent seen them. A asking this because of a cellular 3g data usage. 

It works correctly with multiple ip change if you open .exe file and add Me.Close() to my back button for close form.
 

48
Support Questions / Re: PLC comms driver
« on: February 22, 2017, 07:51:26 AM »
Hi Darrell, did you try to change the ip for comm as Archie told? I tried but it didnt work.

49
Support Questions / Re: Omron Ethernet(Fins) and Raspberry pi 3 Problem
« on: February 20, 2017, 07:43:50 AM »
I am trying to use just one DataSubscriber2 for my alarm massages, but doesnt work as it should
Code: [Select]
Private Sub DataSubscriber21_DataChanged(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles DataSubscriber21.DataChanged
       
        If e.PlcAddress = "D15006" & e.Values(0) = "1" Then
            Label1.Text = "Alarm 1"
        ElseIf e.PlcAddress = "D15006" & e.Values(0) = "2" Then
            Label1.Text = "Alarm 2"
End If
End Sub


   

50
Support Questions / Re: Omron Ethernet(Fins) and Raspberry pi 3 Problem
« on: February 10, 2017, 05:37:07 PM »
Thanks for code example. I tried Datasubscriber and it works like it must, i got message which i want.
One Datasubscriber in form is just for one PLCAddress? If i want add another PLCAddress for message i need to add additional Datasubscriber? What about Datasubscriber2, i saw that has property for Collection (to add more PLCAddresses).

Now i am trying to understand the code, if i understand right "e.values(0)" is linked to my PLCAddress with communication driver, but what means

" If e.Values IsNot Nothing AndAlso e.Values.Count > 0 Then " ?

What about if i use Datasubscriber2 with two PLCAddresses in Collection i need to change code to e.values(1) for second PLCAddress (this works that way, like array()? )

51
Support Questions / Re: Omron Ethernet(Fins) and Raspberry pi 3 Problem
« on: February 09, 2017, 02:02:20 AM »
First i think that error was because i have old mono. Soo i install the latest mono, and it didnt work too. But when i try with MessageDisplayByBit it works. This two controls must be composite similar or i am wrong? In the last attempt i used MessagelistByValue, works fine, but cannot change MaxmessagesInList in properties in my case to one. I didnt find in code where that parameter is defined.
And i dont have any knowledge of VB programming. I search for examples of VB programing for plcs and didnt find much. Soo any link will be helpfull.

52
Support Questions / Re: Omron Ethernet(Fins) and Raspberry pi 3 Problem
« on: February 07, 2017, 01:53:57 AM »
Hi, me again. A few days ago i try to use MesssageDisplayByValue on my AHMI project, and again when run app on windows, its all ok, but when i try to open app on RPi i get an error. Is any other possibility to show alarm message by value?
Thank you

53
Support Questions / Modbus rtu to raspberry pi
« on: January 26, 2017, 05:00:39 AM »
Hi, i need some help with modbus rtu driver to communicate with raspberry pi via mono. If i use Modbus ip driver and connect plc to raspberry pi with ethernet cable all works ok, and get data. Now i have plc which support only modbus rtu, usb to serial cable and when i start AHMI app on windows OS works fine. But when i try to run it on raspberry pi i dont get any data. When i check on pi where is my usb to serial adapter, i get that adapter is attached to ttyUSB0. Now when i run my app on windows OS it wasnt a problem, i just need to write COM port number to driver settings. Now i dont know how is with linux based OS and how are COMs organized.

54
Support Questions / Re: Omron Ethernet(Fins) and Raspberry pi 3 Problem
« on: December 27, 2016, 07:36:49 AM »
Nice, ill use basic label with input which works like a charm.
Thank you again.

Have a nice day

55
Support Questions / Re: Omron Ethernet(Fins) and Raspberry pi 3 Problem
« on: December 27, 2016, 07:09:20 AM »
Ok, i check what makes my error. When add KeyboardInput to write to register.
 

56
Support Questions / Re: Omron Ethernet(Fins) and Raspberry pi 3 Problem
« on: December 27, 2016, 06:50:45 AM »
Yea, blank form works great, checkbox, formchange buttton too. It looks like when i add analog value display, get an error.

57
Support Questions / Omron Ethernet(Fins) and Raspberry pi 3 Problem
« on: December 27, 2016, 03:57:50 AM »
Hi,

I working on Omron plc and latest version AHMI. On my laptop when i start the application i made, things work perfect, write/read bits, registers etc. But when i run my AdvancedHMI.exe file on my raspberry pi3 (latest raspbian-Jessie i think) with mono i get an error and application just close itself. Soo i came here to ask someone who knows more about mono or can help me with my problem. I added screenshoot from terminal window.

Thanks for help,
and Big thanks to Archie for AHMI software.


Pages: 1 2 3 [4]