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

Pages: [1]
1
Support Questions / Re: MicroLogix 1100 over ethernet
« on: May 31, 2016, 03:58:05 PM »
Ok I have an update after fiddling around with it...
When the address is O0/0 per your previous comment it does not work...
When I switch to O0:0 the timer,label to get data from the plc.. the label says 32 and 33 when light is on and off
It only seems one way getting info from plc the start stop buttons do not change the rungs in RUN mode...
I have attached some pics you asked about...
Thanks for you patience on this...

2
Support Questions / Re: MicroLogix 1100 over ethernet
« on: May 31, 2016, 03:35:12 PM »
I  have done that but I get a similar result..
I have attached some screenshots..
The basic Label says the same thing...
Any ideas?

3
Support Questions / Re: MicroLogix 1100 over ethernet
« on: May 31, 2016, 01:17:39 PM »
Ping worked great on 169.254.1.7...

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection
   Physical Address. . . . . . . . . : D0-67-E5-35-DE-B1
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Autoconfiguration IPv4 Address. . : 169.254.136.225(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Enabled


Would the RSLinx driver "Windows Default" vs. "Ethernet 169.254.136.225" matter.. I tried both with no change.

I added a pic of my AHMI Settings..
Anything else I could provide to make helping me easier for you?
Thanks,


4
Support Questions / Re: MicroLogix 1100 over ethernet
« on: May 31, 2016, 11:45:08 AM »
Thats how it is set up...

On PLC when running 169.254.1.7
In the program 169.254.1.7
In RSLinx 169.254.1.7

To get the PLC to work per the instructions I was following for ethernet my actual IP is 169.254.136.225 but
in the BOOTP/DHCP Server I needed to set it to 169.254.1.7. The PLC works with the RSMicro no problem with these settings.

Thanks again...

5
Support Questions / Re: MicroLogix 1100 over ethernet
« on: May 31, 2016, 12:13:12 AM »
You where right... Now it seems to be connecting but it is giving "Invalid IP address"
I will do some more looking.. I am using the IP that is on the PLC under "Eth. Config"

6
Support Questions / Re: MicroLogix 1100 over ethernet
« on: May 30, 2016, 10:55:26 PM »
Yes.. I am using I:0/0 for the label and for a button.
I'm thinking that is not correct?

7
Support Questions / Re: MicroLogix 1100 over ethernet
« on: May 30, 2016, 10:18:31 PM »
The labels did not return anything...
Oddly clicking the label opens a calculator?

8
Support Questions / MicroLogix 1100 over ethernet
« on: May 30, 2016, 09:04:25 PM »
Hello...
I have something going on but I am not sure what I am doing wrong...
I have my Advanced HMI running connected to ML1100 via Ethernet.
When I press the button control in the HMI it works... I can see it change on the rung but only in program mode.
When I move the program to RUN it does not work anymore and in both modes I do not see anything change on the PLC under I/O status.
It is a PLC trainer my company has not sure if that matters.
Let me know if you need more information to help me and I will gladly provide it..
Thanks,

9
Support Questions / Re: Help with New Guy Error (RSEmulate 500 Problem)
« on: January 26, 2016, 05:39:03 PM »
Doug, Godra..
Here is what I found.
I added termite between between the two and got Godra's project working.. Thanks Godra.
Then I created 4 AHMI .net projects using the exact same Emulator settings and RS Logix settings.

    My Original project in AHMI 3.99a                 (Error & no communication in temite)
    My Original project in AHMI 3.8.4 (Godra)  (Worked)
    Godra's project in AHMI 3.99a                     (Error & no communication in temite)
    Godra's project in AHMI 3.8.4 (Godra OG)  (Worked)

The DF1Com1 is diffrent builds and named different things in each project.
3.8.4 DF1Comm1
3.99a DF1Com1



10
Support Questions / Re: Help with New Guy Error (RSEmulate 500 Problem)
« on: January 25, 2016, 11:43:21 PM »
Godra,
Thanks for the link. I have attached my setting and the COM ports from device manager..
What I found is strange... I am not sure it is the communication because your project kinda sorta worked.
When I clicked a button it took about 10 seconds for something to happen in the RSLogix and for anything to change on your screen.
Many times the buttons would show "Failed. No data received" instead of "I:0/0" when pressed.
The same exception  "A first chance exception of type 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' occurred in AdvancedHMIDrivers.dll"
kept coming up and an error message I also attached.

I hope the pic provide something that is more helpful..
Thanks,
Charles

11
Support Questions / Re: Help with New Guy Error (RSEmulate 500 Problem)
« on: January 25, 2016, 03:59:41 PM »
Ok.. Thanks... I did install that version and same issue..
That version did allow me to debug the exception that express would not allow me to..
Here is what I found.
Error in this function on the return line...
It may be a bug in the program

    '* This is needed so the handler can be removed
    'Private Dr As EventHandler = AddressOf DataLinkLayer_DataReceived
    'Private Function SendData(ByVal data() As Byte, ByVal MyNode As Byte, ByVal TargetNode As Byte) As Integer

Private Function SendData(ByVal pccc As MfgControl.AdvancedHMI.Drivers.PCCCCommandPacket, ByVal TNS As Integer) As Integer
        If DLL IsNot Nothing AndAlso DLL.Count > MyDLLInstance AndAlso DLL(MyDLLInstance) IsNot Nothing Then
        Else
            CreateDLLInstance()
        End If

        Return DLL(MyDLLInstance).ExecutePCCC(pccc, TNS, MyObjectID)
    End Function

Values are:
MyDLLInstance=0
pccc = {MfgControl.AdvancedHMI.Drivers.PCCCCommandPacket}
TNS=1
MyObjectID=1


Edit:
A coworker or mine put the same setup on his machine and has the same results with this error...
Has anyone out there got this working with RSlogix? If so where do you think the issue is for our setup?

12
Support Questions / Help with New Guy Error (RSEmulate 500 Problem)
« on: January 24, 2016, 01:13:08 AM »
Hello..
I am just starting out and learning PLC programming...
I put together simple project and believe I followed all the instruction related to the RSLogix Emulate 500.
When I run the project I only get this message over and over:

         "A first chance exception of type 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' occurred in AdvancedHMIDrivers.dll"

It does not do anything. Is this a common issue with an easy fix? If not could someone please work the problem with me?
I'm using VS 2013 and have also tried it in VS 2010 express with the same results...
I have Virtual COM's on 3 and 4... with all the setting seen in the PDF and in some online videos and in someones project posted on dropbox.


EDIT:
I should have posted the start up output also so it can be more helpful:

'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Users\gispro\Desktop\PLC_Stuff\_VB.NET_AdvancedHMI_BetaV399a\AdvancedHMI\bin\Debug\AdvancedHMI.vshost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.DataVisualization\v4.0_4.0.0.0__31bf3856ad364e35\System.Windows.Forms.DataVisualization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x26a8 has exited with code 259 (0x103).
The thread 0x327c has exited with code 259 (0x103).
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Users\gispro\Desktop\PLC_Stuff\_VB.NET_AdvancedHMI_BetaV399a\AdvancedHMI\bin\Debug\AdvancedHMI.exe'. Symbols loaded.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll'. Cannot find or open the PDB file.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Users\gispro\Desktop\PLC_Stuff\_VB.NET_AdvancedHMI_BetaV399a\AdvancedHMI\bin\Debug\AdvancedHMIControls.dll'. Symbols loaded.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Users\gispro\Desktop\PLC_Stuff\_VB.NET_AdvancedHMI_BetaV399a\AdvancedHMI\bin\Debug\MfgControl.AdvancedHMI.Controls.dll'. Cannot find or open the PDB file.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Users\gispro\Desktop\PLC_Stuff\_VB.NET_AdvancedHMI_BetaV399a\AdvancedHMI\bin\Debug\AdvancedHMIDrivers.dll'. Symbols loaded.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Users\gispro\Desktop\PLC_Stuff\_VB.NET_AdvancedHMI_BetaV399a\AdvancedHMI\bin\Debug\MfgControl.AdvancedHMI.Drivers.dll'. Cannot find or open the PDB file.
'AdvancedHMI.vshost.exe' (CLR v4.0.30319: AdvancedHMI.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll'. Cannot find or open the PDB file.
A first chance exception of type 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' occurred in AdvancedHMIDrivers.dll
The thread 0x2884 has exited with code 0 (0x0).

EDIT:
I turned off "JUST MY CODE" per some advice I read and now I also get this exception..

   "A first chance exception of type 'System.ObjectDisposedException' occurred in System.dll"


Sooooooooooo...... Can anyone take a shot on this one? I mean... even a long shot? Hell just guess... Like help a brother out...


Thanks,
Charles

Pages: [1]