Author Topic: ARGH!!! Frustrated with HMI setup Pretty Much Solved.  (Read 5636 times)

malt_master

  • Newbie
  • *
  • Posts: 11
    • View Profile
ARGH!!! Frustrated with HMI setup Pretty Much Solved.
« on: June 11, 2014, 04:50:24 AM »
6-12-14 7:55 p.m. MST

Well Me thinks I have it figured out. I still have an issue with the reset button, it doesn't want to function, but that is because the timer goes into a fault when it reaches 17k+
I solved that by replacing it with a OSR and a toggle switch. Works like a dream now.

Now my I can really get the ball rolling.

Thanks for all the input and for the great program Archie.
BTW I'm running Visual Studio Express 2012 for Windows Desktop and RSLogix Pro on a ML1000(20 I & 12 O). I also have built the trainer with it.




Hi all.. as I bow in Archie's direction.
I have downloaded and install the latest AdvancedHMI V3.5
I also have downloaded and installed Visual Studio Express 2012
I have RSLinx and RSLogix connected to an AB Micrologic 1000 using the serial cable on com-1
The trainer I built has my PBs and toggles and works great when I am just doing Ladder Logic programming.

Ok.. here are where I have problems:
In the video where T4:0.ACC is entered in the "PLCAddress", I do not have that. my options are:
For the Digital PanelMeterA1
1.0 CommComponent. (I entered DF1Comm1
2.0 PLCAddressKeypad. Left Blank
3.0 PLCAddressText. Left Blank
4.0 PLCAddressValue. T4:0
5.0 PLCAddressVisible. Left Blank

Question 1: where do I put T4:0.ACC in the Panel Meter Properties?

Question 2: The Momentary PB:
1.0 CommComponent. (I entered DF1Comm1
2.0 PLCAddressValue. T4:0.ACC
3.0 PLCAddressVisible. Left Blank

When I run it I get a "Failed to processor type"
    I did a search here and shut down RSlinx as suggested and I still get the error.
Also, the DF1Comm1 is not automatically inserted as the video indicates nor is the B3:0 show up anywhere.
My Ladder Is identical to the video.
I am really frustrated. ADV-HMI seems so easy to use but I am lost as to how to resolve the issues above..

I'll give my first born to he/she who solves my problem..  :D :'(  (JK.. you'd track me down and kill me..lol)

TIA
Larry C aka malt_master






« Last Edit: June 12, 2014, 10:01:05 PM by malt_master »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: ARGH!!! Frustrated with HMI setup
« Reply #1 on: June 11, 2014, 07:27:49 AM »
4.0 PLCAddressValue. T4:0
Question 1: where do I put T4:0.ACC in the Panel Meter Properties?
This will need to be T4:0.ACC because T4:0 alone consists of 3 elements and you have to tell which one to use.
Question 2: The Momentary PB:
2.0 PLCAddressValue. T4:0.ACC
The momentary button is for writing to bits (e.g. B3/0). If you want it to reset the timer, you will need to put a bit address in PLCAddress click and use some accompanying ladder code.
When I run it I get a "Failed to processor type"
    I did a search here and shut down RSlinx as suggested and I still get the error.
Also, the DF1Comm1 is not automatically inserted as the video indicates nor is the B3:0 show up anywhere.
My Ladder Is identical to the video.
I am really frustrated. ADV-HMI seems so easy to use but I am lost as to how to resolve the issues above..
Be sure RSLinx is completely shut down and not just minimized. You can verify this by checking the Task Manager (Ctrl-Alt-Del). If it is definitely shut down, check the COM Port you are using in RSLinx and make sure the DF1Comm1 property is using the same.

I do not remember if the ML1000 has a comm light, but if it does, you should see flash a few times on startup. If all else fails, try to set the BaudRate, Parity, StopBits, etc. of the DF1Comm component. When BaudRate is set to AUTO, it will try many combinations to see if it can find one that works. Your settings may possibly be one of the combinations that is not tried by Auto detect.

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: ARGH!!! Frustrated with HMI setup
« Reply #2 on: June 11, 2014, 11:29:53 AM »
Also the latest version is 3.61

malt_master

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: ARGH!!! Frustrated with HMI setup PART II
« Reply #3 on: June 12, 2014, 03:22:54 AM »
Ok guys.. thanks for the tips but nothing worked.

I am about ready to give up. I am not computer illiterate but rather mentally exhausted on trying to get this REALLY GREAT tool to work.
It looks so simple to install and run.
Here's where it stands now.
Here are snapshots of the meter, PB and errors when I build

malt_master

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: ARGH!!! Frustrated with HMI setup
« Reply #4 on: June 12, 2014, 03:26:05 AM »
Sorry.. the pic postings are beyond my mental ability tonight.

malt_master

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: ARGH!!! Frustrated with HMI setup
« Reply #5 on: June 12, 2014, 03:28:25 AM »
Errors on build:

malt_master

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: ARGH!!! Frustrated with HMI setup Part hmmm not sure
« Reply #6 on: June 12, 2014, 03:33:12 AM »
Now I get a message that says

malt_master

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: ARGH!!! Frustrated with HMI setup
« Reply #7 on: June 12, 2014, 03:41:38 AM »
I swear I am following the install and quick start religiously!

Is it possible that the .SLN file I have does not run under BS or VB ver 2008-2013?

If anyone would send me a known good .SLN along with your configuration in properties... I'd be greatful.

I am thinking that the directories may be an issue. Examples of known working directories..PLEASE..

TIA again.......................................!!!!!
malt

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: ARGH!!! Frustrated with HMI setup
« Reply #8 on: June 12, 2014, 08:47:12 AM »
Close Visual Studio
Browse to the Solution using Windows Explorer
Find the directories  AdvancedHMI\bin    and   AdvancedHMI\obj
Delete those directories
Reopen Visual studio
Build-R>Rebuild Solution

malt_master

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: ARGH!!! Frustrated with HMI setup
« Reply #9 on: June 12, 2014, 04:24:59 PM »
Archie.. I have tried all of you suggestions and it just wont build and I keep getting the cannot load the componet from the toolbox.. it will be deleted.

I just cant devote anymore time to trying to get it to run.
I certainly looks like a very powerful program and I wish I could use it... but.. I have to move on.

I'll try other software but I think yours is the Cadillac of them all.
Thanks for all you hard work

Larry C

malt_master

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: ARGH!!! Frustrated with HMI setup _ Progress
« Reply #10 on: June 12, 2014, 09:23:51 PM »
Well shucks.. not one to give up that easily...
I finally got it to run...
I think the issues are/were two fold:

1.0 Not stopping the RSLinx completely.
2.0 Issues with the various versions of VS and VB.

So.. this is my method:

1.0 I load RSLinx
2.0 I load RSLogix
3.0 Go on-line and download to PLC.
4.0 Completely shut down Linx.
5.0 Run AdvancedHMI
6.0 Build the program
7.0 Start the debugger/run

I think my only issue is the correct order of my steps 1 - 7 above.
Is this the correct order as the only error I get is "failed to get processor type". I believe this has something to do with how or the order in which I load and unload RSLinx.

Can you verify for me?

Thanks again.
Malt

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: ARGH!!! Frustrated with HMI setup Pretty Much Solved.
« Reply #11 on: June 13, 2014, 08:07:14 AM »
Try this work around that bypasses the process of fetching the processor type

1) Under the AdvancedHMIDrivers project in Solution Explorer, open AllenBradletPCCC.vb
2) go to line 429
3) Insert the line of code "Return &H58" as shown below:
Code: [Select]
    Public Function GetProcessorType() As Integer
        Return &H58

        If m_ProcessorType <> 0 Then