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

Pages: 1 [2]
16
Open Discussion / Re: Click event using Basic Button Advance HMI
« on: June 22, 2016, 05:52:48 PM »
Yes:
My objective is to write to PLC  depending on the certain parameters in my program. Mostly just a bit.

17
Open Discussion / Click event using Basic Button Advance HMI
« on: June 22, 2016, 03:49:37 PM »
I am trying to Perform Click using VB.Net code to Click Basic Button (Advanced HMI) .

'Set up another button to Click Button BT!, which is windows button and it works fine.

Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Me.BT1.PerformClick()
    End Sub
When I try it on AdvancedHMI button it does not work.
btbStop is PLC stop button.

I want to use the Click to change bits in PLC. Thus if I can activated Button in code, I can make it work.

Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Me.btbStop.PerformClick()
    End Sub

Any Ideas.

Thanks

18
I did set up using basic label. Used F47201 as indicated on our last discussion.

You can see as attached the results.

What do you think.

Thanks

Lee

19
I tried 47202 and I did get some response. Attached screen. The data not does not match what's in register and still displays an error.

Also, tried F47202 with no results.

I have attached a couple of screen shots.

Thanks

20
I have Used F47201 , I now get a com error 999 no value returned from driver. I have attached some images of the screens.
I am making connection Modbus RTU as seen on the test screen using same set up. Of course as stated in my previous post the Register I am pulling from is Input/Output holding (Float) which is 7201.

Any further suggestions?

Thanks

21
I am getting an error "Invalid First Digit In Address". Connected Modbus RTU to Scanner 3100. Address on register is 7201 (Decimal) which is in a floating point holding register.

Thanks for previous assistance.

Any Ideas?
Thanks

22
I need to read and write to registers on a Flow computer/Scanner with Modbus using TCP/IP  HMI.

Can I do this using Advanced HMI ? Have used it with Micrologix AB.


Any suggestions?

Thanks
Lee


Pages: 1 [2]