NI Ethernet/IP as adaptor using explicit messaging from ControlLogix PLC

I am successfully using a ControlLogix PLC with an implicit i/o connection to a NI9792 WSN Gateway. This I/O connection only communicates control and status of the program on the 9792, however there is a bunch of data (500 bytes) that is collected every few hours that I would like to get from the 9792 with an explicit message using a couple of assemblies. How do I need to set up the MSG instruction in Logix to get this data from the 9792? According to references it should be Service 0x0e, Class 0x04, Instance n, Attribute 0x03 but this gives me an error on the PLC MSG instruction. I have tried a variety of things to get this working but have had no luck, the implicit I/O connection works fine, but the explicit connection return an error code of 0x0005 'Class or instance not supported'. I have tried a couple different assemblies and get the same result. I can however change the MSG instruction to get the identity of the NI driver (Service 0x01, Class 0x01, Instance 1, Attribute 0x00) and this works fine so I know the MSG function is working with the correct path and destination element.
In the first attachment, the bottom while loop contains the assembly I'm trying to access via the explicit MSG, the top loop is the implicit I/O connection which works fine.
The second attachment is my ControlLogix MSG instruction configuration with the error shown.
Thanks,
Dave
David Gaylord
Controls Engineer
Alcoa Howmet Research Center
Attachments:
screenshot.1.jpg ‏323 KB
screenshot.3.jpg ‏95 KB

Sorry about that, I think I had too many things going on here at the same time.  I agree that the Create Assembly Instances is working as an adaptor.  Perhaps my terminology is incorrect by calling the other a scanner, it was my impression that by giving it a IP address to communicate with that it was a scanner, as it was making the request for data or setting the data in a remote device.  Either way, I would prefer to keep the system as a simple adaptor so the setup of these systems is easier on our customers.
I do see one VI in the example that i forgot about, the Remove Assembly Instance, I'll add that to my vi and see what happens, though I doubt that will cure my problem.  I've seen on the forums that there is a limit to the amount of about 500 bytes per assembly but is there maybe a limit to the amount of assemblies or total bytes used by the EIP toolkit? 
David Gaylord
Controls Engineer
Alcoa Howmet Research Center

Similar Messages

  • How to do search of business partner data, using a message from external sy

    Hi CRM Gems,
    please send the answer to the following question.
    1.How to do search of business partner data, using a message from external system. What FM’s, BAPI etc that can be used for this functionality?
    your answer will be valuble to me.
    Regards,
    Krishna..

    Hi krishna,
      Look at BAPI   BAPI_BUPA_SEARCH.
    Regards.
    Manuel

  • Does iMessage use text message from carrier

    Does imessage count against your text messages from your carrier?

    No...only against your data allowance if sent over 3G.

  • Windows Server 2012 Used: Error Message from Windows 7 PC: Remote session was disconnected because there are no remote desktop license servers available to provide a license. Please contact the server administrator.

    We are using Windows Server 2012 Standard installed in VMWare / Virtual machine and to access this we use vSphere client and Remote Desktop Connection / service was already enabled and was working fine with User PCs / laptops remote desktop into the server
    2012, until it gave an error message of: Remote session was disconnected because there are no remote desktop license servers available to provide a license.  Please contact the server administrator. whilst logging into the server. 
    We DON'T use Active Directory nor and we don't use domain and not looking to use it any-time soon. 
    I checked the RD Licensing Diagnoser and it says the grace period has expired and the licensing mode for the remote desktop session host server is not configured.  I have checked the Remote Desktop Gateway has been stopped and I tried to start it and it
    resumed to stop, here I assume its where the licensing part comes in to re-enabled this. 
    I have been trying to follow these articles online: http://ryanmangansitblog.com/2013/03/27/deploying-remote-desktop-gateway-rds-2012/ and http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install  the overview part that I cannot get into,
    because I think we have to be is AD DS for this which we don't.  Is there a way around this for non domain / just standalone set-up?  Is it a must / requirement we need to be in a domain in order for Remote Desktop Connection to work? 
    Also, we have a Windows Server 2012 RDS CALs - 10 (software and licence key), will the licence key work for the Windows 2012 Server Standard?  We do not want to install the other Server mentioned which comes with CAL / licence key as its time consuming
    to reinstall other programs.  I have installed  Server role service of Remote Desktop Licencing and automatically installed other associated services needed.  in the RD Licencing Manager, the Server had a red cross and I "Activate Server"
    where I followed: http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install in Install Licences section and I have used the licence key of CAL - 10 mentioned above; it stated I have successfully completed the install licences wizard and displayed:
    10 Windows Server 2012 - RDS Per User CAL installed, and in the RD Licensing Manager the server turned into a green tick and added the licence.  
    I then tested the Remote desktop connection from my PC and the same error message was there and checked the RD Licensing Diagnoser and the same error messages was there.  I haven't restart the services of Remote Gateway / the server itself; do I really
    need to reboot server?  
    Any advice / guidance would be very much appreciated and this is a urgent matter.  
    Thank you for your time.

    Hotfix Released here:
    http://support.microsoft.com/kb/2916846

  • Use a Message from a bundle in a JavaScript string?

    I cannot use an h:outputText in a JavaScript string, for example:
    function init()
    setTitle("<h:outputText value="#{msgs.title}"/>");
    How can I get a text string from messages.properties that I want to use in some client side JavaScript code?
    Thanks in advance,
    Sam

    Hi Sergey,
    I followed your methos but got the following error msg:
    root cause
    java.lang.IllegalStateException: Component javax.faces.component.UIViewRoot@7dcf98 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
         com.sun.faces.taglib.html_basic.OutputTextTag.setProperties(OutputTextTag.java:90)
         javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:712)
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
         com.sun.faces.taglib.html_basic.OutputTextTag.doStartTag(OutputTextTag.java:155)
         org.apache.jsp.main_jsp._jspx_meth_h_outputText_0(main_jsp.java:185)
         org.apache.jsp.main_jsp._jspService(main_jsp.java:129)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.stufftolet.view.util.SecurityFilter.doFilter(SecurityFilter.java:76)
         de.mindmatters.faces.spring.RequestHandledFilter.doFilter(RequestHandledFilter.java:117)
    My javascript function is like below:
              <script type="text/javascript">
              <!--
              function init(){
                   setTitle("<h:outputText value='#{main_msg.browser_title}'/>");
              // -->
              </script>     
    and the declared resource bundle:
    <f:loadBundle basename="com.abc.view.bundle.main" var="main_msg"/>
    and I got main_en.properties and main_zh.properties.
    I call the init() function like:
    <body onLoad="init()">          
    please help, Thanks !
    regards,
    kmthien

  • Use descriptive message from Exception

    This piece of code
    if (AliasesDB.validateAddress(personInfo, add).equals("invalid.format")) {
        log.info(LogHead.getLogInfo(request, personInfo) + add + "Add alias failed - invalid format.");
        actionErrors.add(ActionErrors.GLOBAL_MESSAGE, new ActionMessage("error.webapp.format"));
        saveErrors(request, actionErrors);
        return (mapping.findForward(INVALIDALIAS));
    }calls AliasesDB.validateAddress() - a method that validates an email address and returns a descriptive String such as 'SUCCESS' or a descriptive error message such as 'invalid.format' depending on the results of the validation of the email string.
    I think that this may be a clunky design, due to my incomplete understanding of how Java exceptions work. I have available to me another method that I could use to validate an email string.
    public static boolean isNameInUse(String name, Connection c,  Ldap dir) throws  IOException, SQLException, NamingException
         PreparedStatement nameQ = c.prepareStatement("SELECT username FROM creservednames WHERE username=?");
         nameQ.setString(1,name);
         ResultSet rs = nameQ.executeQuery();
         if(rs.next() == true)
              rs.close();
              nameQ.close();
              return true;
         rs.close();
         nameQ.close();
         // search LDAP with base dc=company,dc=com
         // this includes current accounts in ou=people
         // and reserved identifiers in ou=reserve
         DirContext dc = dir.getContext();
         SearchControls sc = new SearchControls();
         sc.setSearchScope(SearchControls.SUBTREE_SCOPE);
         sc.setReturningAttributes(new String[] {"uid"});
         javax.naming.NamingEnumeration ne = dc.search("dc=company,dc=com","(|(uid="+name+")(altnName="+name+")(mailLocalAddress="+name+"@company.com))",sc);
         if(ne.hasMore()){
              return true;
         return false;
    }My requirements are that I need to be able to do something based on the results of a validation operation that could have several different outcomes. I took a look at the javadoc for NamingException - is it possible to rewrite my code so that a custom string is returned when NamingException is thrown?

    Thank you!
    I was going to ask ...
    the problem with the isNameInUse() method is it is boolean, but I'd like to allow for multiple error conditions so that I can redirect with an error message based on several types of error conditions. I was wondering if there was a way to use the NamingException class to generate multiple types of error message depending on the error condition.

  • Sending an EtherNet/IP explicit message with a service code of 0x45

    I need to configure an EtherNet/IP Xport device and in order to do this I need to be able to lock and unlock the configuration.  To toggle the lock, an explicit message must be sent with a service code of 0x45.  Once the configuration is unlocked I can use the "Ethernet CIP Set Attribute Single.vi" in the Industrial Communications toolkit to configure the device as needed.  However, I have not been able to find a way using the toolkit or LabVIEW to send a message with a modified service code to unlock the configuration.  
    Can someone either explain how this can be done with the toolkit or point me in the direction of accomplishing this using another method.
    Thanks in advance,
    Shane Lynch

    Hi shanomack54,
    I am not very sure if I understand properly your question. I am not sure if what you need can be accomplished with the Tag Write VI. I would like to send you some information that might guide you a little further, just in case I didn’t understood your question properly.
    https://decibel.ni.com/content/docs/DOC-4065 
    http://download.ni.com/support/softlib//embedded%20networks/NI-Industrial%20Communication/ethernetip... 
    http://www.ni.com/pdf/manuals/374775a.html 
    http://forums.ni.com/t5/NI-Labs/Welcome-to-EtherNet-IP-Driver-for-Communication-to-Allen-Bradley/td-... 
    https://decibel.ni.com/content/thread/7483 
    http://www.ni.com/white-paper/10473/en/ 
    You can always look into Help >> NI Industrial Communications for EtherNet/IP to obtain more information.
    Again, I am sorry if these links don’t address your issue properly. If this is so, please reply with further information.
    Thank you very much for your question.
    Regards,
    Luis C.

  • Can the Gigabit Ethernet LAN Port be used with a Thunderbolt to Gigabit Ethernet adaptor and then to a Thunderbolt Hard Drive as a back up drive?

    Can the Gigabit Ethernet LAN Port be used with a Thunderbolt to Gigabit Ethernet adaptor and then to a Thunderbolt Hard Drive as a back up drive?

    If you use ethernet to connect the two AirPort Extremes together, you'll have Gigabit speeds available at all of the ethernet ports on both routers.
    If you connect the second AirPort Extreme using wireless only and configure the Extreme to "extend a wireless network", then the maximum speeds that the second router can attain will be limited to the capability of the wireless connection. So, if you connect at normal "n" wireless speeds of say 130 Mbps, that will be the maximum speed available at the ethernet ports on the second AirPort Extreme.
    I think you can easily see the difference between Gigabit ethernet, which is 1000 Mbps compared to "n" wireless at 130 Mbps. Even if you can manage to connect at 5 GHz speeds for wireless, the max speed will be in the 300 Mbps range, more than 3 times slower than Gigabit ethernet. Normal "n" speeds will be about 7 times slower than ethernet.
    For streaming high definition video and other demanding sources, you'll need as much bandwidth (speed) as you can get. Ethernet is always the best choice if you can possibly use it. And...there's no wireless interference on an ethernet connection.
    Message was edited by: Bob Timmons

  • [svn:fx-trunk] 7120: Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.

    Revision: 7120
    Author:   [email protected]
    Date:     2009-05-19 23:46:06 -0700 (Tue, 19 May 2009)
    Log Message:
    Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.
    Removed stale import statements.
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Carol
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as

    I'm more of a 1.3 chick myself, but the words are the same just in a different language.
    1. Is Tomcat running?
    2. Have you configured the ajp13 connector on 8009 in Tomcat? (Should it be ajp13 for Apache 2.0? - I really must upgrade)

  • How to program both Polled IO and Explicit Messaging simultaneously V2.0.2

    There is an example of Polled IO V2.0.2, which I can connect to 6 devices and read.
    There is an example of Explicit Messaging V 2.0.2.
    How can I Open both connections to all devices to get polled data and explicit data and settings?

    Hello NetworkNocturnal,
    Can you please give a few more details on your application set-up? Are all 6 devices FieldPoint and on the same network? Are they all in the same project and are you currently using just one VI to execute the Polled IO? Have you tried just doing the Explicit Messaging VI on it's own as well?
    Regards,
    Deborah Y.
    LabVIEW Real-Time Product Marketing Manager
    Certified LabVIEW Architect
    National Instruments

  • Some emails don't appear in the folder list, I can only find them by using Search Messages

    As of yesterday, new emails from one regular correspondent do not appear in the list of messages when I click on Inbox. The only way I can access them is to use "Edit/Find/Search Messages". They are still in Inbox, they haven't been moved to another folder.
    Thunderbird version is 31.6.0.

    None of these apply, the messages have been received, I can find them using Search Messages but they do not appear in the folder contents.

  • I am having some trouble with receiving messages from iMessage users when I don't have my iMessage turned on. When I called for support, I spent 30 min waiting and the woman's response to me was "Turn on your iMessage." I prefer not to use it

    I have an iPhone 5s and a MacBook Pro. Ever since I updated my computer software to Yosemite, it linked my Apple ID with my phone number and I am not receiving messages from iMessage users on my phone, but rather to my computer. I don't like to use iMessage so I keep it off and would like to receive all messages as SMS texts. I have already tried changing my Apple ID password, logging off of my Apple ID in iMessage on my phone and turning it off, and changing settings on messages on my computer. Nothing is working. Either the messages continue to go to my computer or the messages trying to be sent say they cannot be sent.
    After spending 30 + minutes waiting for technical support, the woman helping me (who did not give me her name) told me I should just turn on iMessage. After explaining that I don't like having iMessage on and asking why it worked for at least a year up until this point she said "things change and sometimes we don't know why things do what they do". She asked me about various other things on my phone such as bluetooth and told me to turn on and off airplane mode and the call disconnected. I have not been contacted since, even though she has my phone number.
    I am hoping for some help and also hoping people don't get the type of service I received tonight.

    I think you can solve your problems by removing your AppleID email address from BOTH the Messages setting on your iPhone and the iMessages settings on your Mac.
    On iPhone:
    Settings > Messages > iMessage > Dissabled
    Settings > Messages > Send & Receive > touch the "(i)" < touch "Remove This Email"
    On Mac:
    Open "Messages" application
    Click "Messages menu > Preferences
    Click "Accounts"
    Select your AppleID account
    Under the "You can be reached for messages at" settings, uncheck your AppleID email address and your phone number
    Then uncheck the "Enable this account" setting
    And lastly, ask all of your friends with iPhones to delete all iMessage conversations (blue bubbles) in their entirety.
    To test, send a friend a new text using their phone number (not their email address) and watch the color of the bubble.  If it's green then you are using SMS.

  • When I use the shortcut to open a new window in safari (command N), I get a 404 error message from Google. How do I change where 'Command N' routes to?

    When I use the shortcut to open a new window in safari (command N) on my Macbook Pro, I get a 404 error message from Google. How do I change where 'Command N' routes to? 

    It's not necessary to change the Command N keystroke..
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that didn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • TS2755 Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help of how to set up messages on each

    Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks

    search google for "iphone remove picture from contact"

  • While my friend was setting up his iphone, i used my icloud. So now, when i send him a message i get the exact same message from myself. How do i fix this?

    While my friend was setting up his iphone because i had recently updated it for him he needed a itunes account to use for "bump" so i could transfer his contacts back. So i used my itunes and icloud account to sign in so he could download that because he didnt have any of those accounts. So when i logged in he was basically me, my name was his phones name aswell. Well i used "bump" his name was the same as mine. I got the contacts to work but now every time i send him a text message, (imessage) i get the exact same message from myself. How to i unverify him off of my icloud so i can be the only one using it?

    The fact that the problem only occurs when iphones are texting you leads me to think that iMessage may be the culprit. The fact that it is only iphones using SPRINT however is weird. Try turning imessage off on both yours and your sons phones to see if the problem persists. If it does, it may be a carrier problem.

Maybe you are looking for