![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
|
|
#1 |
|
Member
![]() Join Date: Aug 2011
Location: Missouri
Posts: 3
|
I am using vb.net and am trying to communicate with a micrologix 1400 plc. I am using Netgear Logix to communicate. I used the same driver in the past to communicate with a Compact Logix controller. I am needing to know what the syntax for the communications is. Anyone have an example or can point me where to find an example. With the Compact system the syntax was ContolLogixTag.Name = "Some_Bit". I could read and right to that bit. Anyone have any ideas?
|
|
|
|
#2 |
|
Member
![]() Join Date: May 2003
Location:
Posts: 1,254
|
Welcome...
See this thread http://www.plctalk.net/qanda/showthread.php?t=42656
__________________
"It is the tragedy of the world that no man knows what he doesn't know - and the less a man knows, the more sure he is that he knows everything." Author Unknown |
|
|
|
#3 |
|
Member
![]() Join Date: Aug 2011
Location: Missouri
Posts: 3
|
I have looked into this advanced HMI and it doesn't look like it will work for my application. I am reverting back to the Ingear driver but I still can't get it to work with the micrologix controller. Any Suggestions?
|
|
|
|
#4 |
|
Member
![]() Join Date: Aug 2011
Location: Missouri
Posts: 3
|
I watched the youtube video. Very informative. The only problem is that I don't have all of the controls that was shown in the video. The property PLCAddress is not available to me. Any reason why? I just have command buttons, labels, and text boxes. I am using Microsoft Visual Basic 2008 Express Edition.
|
|
|
|
#5 | |
|
Lifetime Supporting Member
|
Quote:
You also need to put the EthernetIPforSLCMicroComm driver onto the form and give it the IP Address of the PLC. Then you should just have to drop an object on the form, say a gauge, and give give it an address in PLCAddressValue. When you run it, it should talk. (at least this worked for me with the CLX driver, I don't have a MicroLogix) Last edited by dmroeder; August 18th, 2011 at 10:54 AM. |
|
|
|
|
#6 |
|
Member
![]() Join Date: Oct 2012
Location: Cabuyao
Posts: 1
|
Hi... Can you teach me how to create a program from vb8 that reads and write to plc5 or plc500 without connecting rs232..??? i have a rslinx classic but i dont know how to link it to vb8... there are to many errors when i try to program it... Dim OpcServer As New RsiOPCAuto.OPCServer
Dim OpcGroup As RsiOPCAuto.OPCGroup Dim OpcItem As RsiOPCAuto.OPCItem Dim vItem As String = "" Try OpcServer.Connect("RSLinx Remote OPC Server", "192.168.195.128") ' Add this group to the shared topic OpcGroup = OpcServer.OPCGroups.Add("INDEC") OpcGroup.IsSubscribed = False OpcGroup.IsActive = False OpcGroup.UpdateRate = 250 OpcGroup.OPCItems.DefaultAccessPath = "OPC_Test" OpcGroup.OPCItems.AddItem("OPC_Bit001", 1) OpcItem = OpcGroup.OPCItems.Item(1) OpcItem.Read(2, vItem) OpcItem = Nothing OpcServer.OPCGroups.RemoveAll() OpcGroup = Nothing OpcServer.Disconnect() OpcServer = Nothing 'Add and Error the list box Catch ex As PlatformNotSupportedException MsgBox("Error In Get Plc Data: " & ex.Message) End Try MsgBox(vItem) it does not work.... the errors are Error 1 Type 'RsiOPCAuto.OPCServer' is not defined. Error 2 Type 'RsiOPCAuto.OPCGroup' is not defined. Error 3 Type 'RsiOPCAuto.OPCItem' is not defined. hope you can help me..thanks..... |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Micrologix 1400.... | Brijm | LIVE PLC Questions And Answers | 13 | April 8th, 2012 06:15 PM |
| Eaton HMI to AB Micrologix 1400 communications | whatever | LIVE PLC Questions And Answers | 3 | October 5th, 2010 10:50 PM |
| micrologix 1400 configuration with rslogix 500 | sruthi | LIVE PLC Questions And Answers | 3 | July 30th, 2010 01:09 AM |
| MicroLogix 1400 problem | shoelesscraig | LIVE PLC Questions And Answers | 4 | September 12th, 2009 04:41 AM |
| MicroLogix 1400 to Intouch | LogicON | LIVE PLC Questions And Answers | 3 | July 16th, 2009 07:31 AM |