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.


Topics - betilly

Pages: [1]
1
Open Discussion / Change multi colors by value
« on: January 22, 2021, 03:58:36 AM »
Hi,

im trying to change colors of basic shape by value. I added basic shapes to form and datasubscriber and add some PLCAddressValueItems (D125,D126), but doesnt work.

Thats my code

Code: [Select]
Private Sub DataSubscriber21_DataChanged(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles DataSubscriber21.DataChanged

        If e.PlcAddress = "D125" = "0" Then
            BasicShape1.BackColor = Color.LightGray

        ElseIf e.PlcAddress = "D125" = "1" Then
            BasicShape1.BackColor = Color.FromArgb(255, 255, 220)

        ElseIf e.PlcAddress = "D125" = "2" Then
            BasicShape1.BackColor = Color.FromArgb(255, 255, 170)

        ElseIf e.PlcAddress = "D125" = "3" Then
            BasicShape1.BackColor = Color.FromArgb(255, 255, 120)

        ElseIf e.PlcAddress = "D125" = "4" Then
            BasicShape1.BackColor = Color.FromArgb(255, 255, 50)

        ElseIf e.PlcAddress = "D126" = "0" Then
            BasicShape2.BackColor = Color.LightGray

        ElseIf e.PlcAddress = "D126" = "1" Then
            BasicShape2.BackColor = Color.FromArgb(255, 255, 220)

        ElseIf e.PlcAddress = "D126" = "2" Then
            BasicShape2.BackColor = Color.FromArgb(255, 255, 170)

        ElseIf e.PlcAddress = "D126" = "3" Then
            BasicShape2.BackColor = Color.FromArgb(255, 255, 120)

        ElseIf e.PlcAddress = "D126" = "4" Then
            BasicShape2.BackColor = Color.FromArgb(255, 255, 50)

        End If

    End Sub

2
Support Questions / Omron HR area
« on: January 19, 2021, 06:09:54 AM »
Hi,

im tryin to write to HR area of omron plc with latest ahmi version. When i put checkbox on form and assign plc address H13.06 to PLCAddressCheckChanged and PLCAddressCheck it wont write  true(1) to H13.06. But if i assign H8.00 to PLCAddressCheckChanged and PLCAddressCheck it writes true(1) to H8.00. I double check for set/reset bit duplication in plc program and dont exist.

But if i set bit H13.06 or H8.00 in PLC to true(1), shows checkbox is checked, that means checking bit works.

Any solution...

3
Support Questions / Rotate by 45 degree
« on: January 18, 2021, 11:31:56 AM »
Hi,

need to display object like on attached picture. Every rectangle inside of blue squere rotated by 45 degree, have own plc address and 3 colors which need to change by value (0-black 1-green 2-red). What object i need to use and how to rotate rectangle by 45 degrees, maybe basic label or ....

Thank you

4
Support Questions / Omron EthernetFINS UDP port
« on: April 30, 2020, 02:22:19 AM »
Hi,
wanna try to change UDP port to 9601 but got error. Only works when port in AHMI is set to 9600. In wireshark, i saw that if still set port to 9601, AHMI sends request to port 9600. Is changing UDP port implemented to EthernetFINS driver?

Thank you

5
Open Discussion / Latest version AHMI InterpretValueAsBCD
« on: March 25, 2020, 05:21:20 AM »
Hi,
i was using old version of AHMI in the past. Now i need to read/write to Omron E area and saw that last version supports that too, thats nice.
But when i use basiclabel and set InterpretValueAsBCD as true, if the value in register of the plc is #0 ,value 0 is not shown on display. In older versions you set Value properties of basic label to for example 0000 and if value in register of the plc was #0, it shows 0000 on display. The problem is that i need to write to register also when value is 0. Soo in newest version i dont know where to click to write to register as value 0 is not shown.

Thank you

6
Support Questions / OmronEthernetFINSCom
« on: December 18, 2018, 06:56:05 AM »
Hi, i found with newest version 3.99y beta that OmronEthernetFINSCom driver , option TreatDataAsHex dont give right values in barlevel control.

7
Hi,

is it possible to align shown value of BarLevel form to center of BarLevel, instead of right by default? My fill direction is set to right.


8
Open Discussion / Omron Ethernet(Fins) driver via internet
« on: March 13, 2017, 02:44:01 AM »
Hi, is it possible to get data to AHMI via internet? I made that i can connect to public ip address and then port forward to my plc.  When i connect to my plc via programing software (cx-programmer) i can connect to plc with no problem (monitoring, programing). When i try to get data to Ahmi app, i get error EIPTransport.SendData-No Response.

9
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.

10
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]