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

Pages: 1 ... 3 4 [5] 6 7 ... 43
61
Open Discussion / RSLogix 5000 Find Priority
« on: October 17, 2022, 12:36:57 PM »
This post is inspired by the question from PLCTalk site

Code: [Select]
There are 5 Hoppers. Each with 2 level sensors; one is at the 75% full level and the other is at the 25% full level.
I need to fill hoppers that fall below the 25% level (High Priority) first, then any that fall below the 75% level (Normal Priority).







62
Open Discussion / Re: RS Logix 5000 bit toggle
« on: October 14, 2022, 01:31:20 PM »
No, this is one rung to rule them all.  As oppose to examples from PLCTalk site.

63
Open Discussion / RS Logix 5000 bit toggle
« on: October 13, 2022, 08:34:15 PM »



64
Open Discussion / Re: Locking Application to Specific Computer
« on: September 29, 2022, 09:17:33 PM »
The code below will get the macAddress for the connected Enet adapter, thus avoid mac spoofing.

Code: [Select]
For Each nic As NetworkInterface In NetworkInterface.GetAllNetworkInterfaces()

            If nic.OperationalStatus = OperationalStatus.Up Then
                macAddresses += nic.GetPhysicalAddress().ToString()
                Exit For
            End If
        Next

        If macAddresses.Contains("WS_MacAddress") Then
            'Run software
        Else
            'exit
        End If

65
Support Questions / Re: issue with strings / Allen Bradley
« on: September 22, 2022, 05:22:34 PM »
from his screenshot, it's not program scope tags.

 'PLCAddressValue' = Robot1LineABUILD.PALLETID

66
Open Discussion / Re: Tag Descriptions
« on: September 22, 2022, 05:16:43 PM »
I use the tag description with PV 5510.

67
Open Discussion / Re: Start up problems VS and AdvancedHMI
« on: September 11, 2022, 09:20:15 AM »
The link was just a reference that I last played with VS2022.

A fresh downloaded AAHMI project will compile with VS2022+Win10 and no error.

68
Open Discussion / Re: Start up problems VS and AdvancedHMI
« on: September 10, 2022, 08:58:40 AM »
It does.  I changed them from 4.8 to 4 , clean and build, no problem.
My PC is win10 & VS2022.

https://www.advancedhmi.com/forum/index.php?topic=3042.msg17694#msg17694


69
Open Discussion / Re: Tag Descriptions
« on: September 09, 2022, 10:31:23 AM »
Good thought! are you using it as your alarm message and such?

70
Support Questions / Re: Add Excel 16.0 Object Library
« on: September 09, 2022, 08:52:57 AM »
It's been a while since I have used the Excel COM object, but it does require Excel to be installed in the PC you are opening the project on.

I prefer to use a library that does not require Excel. I used to use EPPlus until they added a requirement for an expensive license fee. I have recently been testing ClosedXML which can be added to a project using the Nuget Manager.

You can use EPPlus 4.5.3.3  Their last 'free' version if I am not mistaken.

71
Support Questions / Re: Connect to a PLC through A1 port to A2 port
« on: August 10, 2022, 09:55:53 AM »
You can do this with RSLINX. Not sure with AAHMI.

Edit:  I would say no, because with Rslinx you can go online with PLC. But I did not recall that I can tunnel thru with HMI, even with upload/download

72
Open Discussion / Re: Tag name with a new Datatype HMIBC
« on: July 13, 2022, 01:43:39 PM »
The HMIBC tag external access was set to Read/Write.

Yes, I could set an XIC myTag to turn on the OTE myHMIBC.out.

But setting the PLCAddressClick to myHMIBC.out did not work for me.

73
Open Discussion / Tag name with a new Datatype HMIBC
« on: July 13, 2022, 11:14:22 AM »
With the advance of Panelview 5510, Rockwell introduced  a new data type called HMIBC.

I tried to use it with BasicButton, when pressing on the button, I'd get a 'CIP Priviledge violation' message.

I also tried to access its tag bit/bool level to no avail:  ButtonState, EnableOut, Out.

74
Support Questions / Re: Entering negative value on default HMI keypad
« on: July 10, 2022, 02:26:51 PM »
Hey look, I brought back Godra.  I am glad you are still around!!!

75
Support Questions / Re: Entering negative value on default HMI keypad
« on: July 10, 2022, 01:17:16 PM »
Godra may have fallen victim to Covid-19, RIP brother.


Pages: 1 ... 3 4 [5] 6 7 ... 43