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

Pages: [1]
1
Support Questions / control pilot light using timer and momentary button
« on: January 13, 2022, 10:39:54 PM »
Hello,
I am truing to control teh pilot light using a timer in code, not with a plc.  So In my screen I have a momentary button, teh pilot light, and a timer.  Timer is set to tick every second.  I use the momentary button to start the timer

Here Is what I have:
Code: [Select]
    Private Sub MomentaryButton1_Click(sender As Object, e As EventArgs) Handles MomentaryButton1.Click
        Timer1.Start()
    End Sub

    Dim toggle As Boolean = False

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        If toggle = False Then
            PilotLight1.LightColor = AdvancedHMI.Controls.PilotLight.LightColors.Green
            toggle = True

            If toggle = True Then
                PilotLight1.LightColor = AdvancedHMI.Controls.PilotLight.LightColors.White
                toggle = False

            End If


        End If
    End Sub

    Private Sub MainForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    End Sub

Code builds fine, but when I run it, and click the momentary button the pilot light stays in its default green state.

Where did I go wrong?

JIm

2
Support Questions / AdvancedHMIdrivers is not defined
« on: January 13, 2022, 07:43:39 PM »
I updated my IDE from 3.99a to 3,99xR1 and when I imported my digital panel meters pack and hit build I get the following error for all of the meters:

Severity   Code   Description   Project   File   Line   Suppression State
Error   BC30002   Type 'AdvancedHMIDrivers.IComComponent' is not defined.   AdvancedHMIControls   C:\Users\jgmDESIGNS\Downloads\AdvancedHMIv399xR1\AdvancedHMIControls\PurchasedControls\DigitalPanelMeterBlue.vb   21   Active


It seems that I need to purchase updated controls?

Jim

3
Support Questions / Latest VErsion of AHMI
« on: January 12, 2022, 02:50:22 PM »
All,
I downloaded a few years ago Version 399a and that is what I have been using.

After reading things it looks like the latest is Version 399xR! which I just downloaded.

But when I launch the 'v35.sln' file that is in teh extracted folder, I get an empty project and an empty toolbox.....

What am I dong wrong?

4
Support Questions / sending data to PLC over modbus
« on: January 10, 2022, 10:07:23 PM »
Hello again,
  With a lot of head scratching I am slowly getting this going.  My next point on my list is being able to send numeric data to a holding register in teh PLC.  I would like to use a text entry box, but that seems like the wrong item to use.

What would I use to enter an integer and when I click a send button, or press enter, it will send the integer to teh plc over ModbusTCP?

Also, I have added a data source thinking that would help, but nope...how do I delete it?

Jim

5
Support Questions / Toolbox documentation and add ons
« on: January 10, 2022, 09:02:58 PM »
hello,
Is there any manual with explanations of functions for all of the items in the toolbox?  Its rather frustrating having to do a google search for each item individually and in many cases not getting a full document of what the tool does and what all the parameters in teh properties do other than the short explanations within the IDE.

Second, From what I am seeing, all of teh pay-for add ons on the website seem to be in the toolbox already.  Am I wrong?  I don't mind paying for the add ons if they arent

Thanks
Jim

6
Hello all,
  I have a basic button that toggles a rely on my PLC as a test.  All well and good so now I would like it to chance color on mouse click.

And as another test I would like the button to change to another color when I close a contact on the PLC

I am looking at the EVENTS (Lighting bolt) and when I select the MOUSE CLICK>BUTTON1_MouseClick populates and I get a VB script window.

Is there a simple graphical way to change teh look of the button on a mouse click?

Same thing for teh contact closure.

Thanks,
Jim

7
Support Questions / Basic Button to CLICK PLC over ethernet exmple
« on: January 10, 2022, 06:15:53 PM »
Hello,
I am somewhat new to using this software and I am trying to understand how to interface to the Automation Direct CLICK PLC using Ethernet.

I am familiar with Modbus and ModbusTCP on teh PLC side, but I am not so sure about how to get the ball rolling in this software suite.

Is there anyone that couple give me a few pointers on what comms driver I should be using, and how to do a simple button set up on the HMI side, and what to set the PLC up to do?  I am looking through prior posts and scratching my head somewhat.

Thanks, Looking forward to the feedback

Jim

8
Support Questions / Is there a plain old serial port option?
« on: March 22, 2016, 11:19:00 PM »
Hello,
First post so my apologies if this is not the proper place to pose this question.

I am rather new to Adv. HMI and I am wondering if there is a way I can interface to a simple RS232 port I have on my PC, or usb/232 converter?

From what I see in the drivers everything is PLC specific.

Cheers,
Jim

Pages: [1]