Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Support Questions / Re: Changing the Look of a Button
« Last post by Archie on February 28, 2024, 02:37:34 PM »
- In Solution Explorer expand down AdvancedHMIControls
- Exapand down the Controls folder
- Right Click BasicButton.vb and select View Code
- Go down to about line 405, just below #Region "Events"
- Add this code
Code: [Select]
    Protected Overrides Sub OnEnabledChanged(e As EventArgs)
        MyBase.OnEnabledChanged(e)

        If Not Me.Enabled Then
            Me.BackColor = Color.Black
        End If
    End Sub
72
Support Questions / Re: how to deal withe many MODBUS devices on the same Com Port ?
« Last post by Archie on February 28, 2024, 08:44:13 AM »
Hi Archie,
I have tested the driver with two devices connected via a usb-Rs485 converter with polling time 100ms and time out 300;
the stable 3.99x version works correctly,
the new version (3.99xbeta4), on the other hand, always generates TimeOut errors on the controls.
This is on the list to be looked into.
73
Hi Archie,
I have tested the driver with two devices connected via a usb-Rs485 converter with polling time 100ms and time out 300;
the stable 3.99x version works correctly,
the new version (3.99xbeta4), on the other hand, always generates TimeOut errors on the controls.
74
Support Questions / Re: Changing the Look of a Button
« Last post by Arvanoss on February 27, 2024, 06:32:16 AM »
Thanks Archie,

I am using the PLCAddressHighlightX and PLCAddressSelectTextAlternate to display reactions to the button press, these are basic Jog and Run buttons.

Is there an option/method to add a "Enable Forecolor" and "Enable Backcolor"?

Thanks
75
Support Questions / Re: Changing the Look of a Button
« Last post by Archie on February 26, 2024, 10:01:06 AM »
You can use the PLCAddressAhighlight property to change the color. Put the same address as used in PLCAddressEnabled
76
Support Questions / Changing the Look of a Button
« Last post by Arvanoss on February 26, 2024, 08:02:15 AM »
Good Morning Everyone,

I have a working project that the operators are asking for a change.

I have several Basic Buttons that are Enabled and Disabled based on the machine condition.  The operators would like the Disabled state to be a different color as they are having trouble determining if the button is Disabled.

Is there some code I can add to the button to change the color when Disabled??

Thanks
77
Support Questions / Re: Adding Conditions
« Last post by Arvanoss on February 23, 2024, 12:52:36 PM »
Thanks Archie,  I set it up like that and it works well.
78
Support Questions / Re: Adding Conditions
« Last post by Archie on February 23, 2024, 10:36:41 AM »
The easiest way to do this is to use a DataSubscriber2 to watch all the variables. Then in the Datasubscriber2 code set the Visible property of the BasicButton
79
Support Questions / Adding Conditions
« Last post by Arvanoss on February 23, 2024, 10:13:47 AM »
Good Morning Everyone,

I have a program that works but I want to make the BasicButtons show and hide.
I can add PLC Addresses to the 'PLCAddressVisible' but cannot add multiple addresses.

is there a way to add additional 'PLCAddressVisible' addresses to the BasicButton code to accept multiple conditions??

I don't have PLC change permissions.

Thanks
80
Support Questions / Re: RE: Make Global Object
« Last post by Archie on February 22, 2024, 08:36:06 PM »
The IPAddress you checked, was that in the editing of the GroupedObject? Do you get an error in the BasicLabel on the grouped object?
Pages: 1 ... 6 7 [8] 9 10