I/O Server: Writing 3 Modbus registers in one operation

Hello,
Can the I/O Server use Modbus Function Code 16 (preset/write multiple holding registers)? Essentially, my CompactRIO needs to send a 48-bit integer to a slave device, which means I need to write 3 registers.
I found a way to do it without I/O Server (http://zone.ni.com/reference/en-XX/help/370622M-01/lvmve/modbus_master_write_read_multiple_holding_registers/ ), but I was wondering if I could do the same using I/O Server.
Thanks!

Hello JKSH,
Unfortunately, a bound shared variable cannot read\write from 3 registers at once automatically. Below is a document which details Modbus I\O Server bound shared variable capabilities.
Using Modbus I/O Servers (DSC Module or Real-Time Module)
http://zone.ni.com/reference/en-XX/help/371618G-01/lvmve/dsc_modbus_using/
You do have the option to access two adjacent 16-bit input registers as one 32-bit shared variable but not 48-bit.
Regards, 
j_bou

Similar Messages

  • I cannot use iCloud on Windows 7, as it won't recognize my apple ID when i try to sign in to icloud it i get error saying "you can't sign in because of a server error (please help some one)

    I cannot use iCloud on Windows 7, as it won't recognize my apple ID when i try to sign in to icloud it i get error saying "you can't sign in because of a server error (please help some one)

    Although your message isn't mentioned in the symptoms, let's try the following document with that one:
    Apple software on Windows: May see performance issues and blank iTunes Store

  • Mac mini server has suddenly stopped seeing one or the other bluetooth devices! Batteries have been changed and they will connect to an older Mac mini. Server will now only see one or the other but not both.

    My Mac mini server has suddenly stopped seeing one or the other bluetooth devices, either the wireless keyboard or the mouse( both apple products) have tried new batteries, at first it was the mouse that stopped responding, but upon rebooting the computer now the keyboard will not respond and the mouse works. Both work fine on an older Mac mini that I hooked back up to check.

    There is absolutely no reason why they should not bothe be able to connect to your WiFi network. The easiest place to start would be to reboot your router. Unplug it for about 30 seconds and then plug it back in again. I would also restart both the iPad and the iPhone.

  • Integration of Sun One Web Server 6.0 with Sun One App Server 7.0

    Is it possible to integrate Sun One Web Server 6.0 with the Sun One App Server 7.0??
    Sun One App Server 7.0 comes with the in-built HTTP listener. But we want to know if there is a way by which we can use the Sun One Web Server 6.0 with the App Server 7.0 and not the in-bulit HTTP listener?

    As suggested by you, I have used Sun ONE Application Server 7's plugin to connect the Sun ONE Web Server 6.0 with Sun ONE Application Server 7 as per the information given in Sun ONE Application Server 7 Administrator's Guide.
    I have added the plugin package to the webserver and added the following into the magnus.conf:
    Init fn="load-modules" shlib="C:/iPlanet/Servers/plugins/passthrough/passthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    and to the obj.conf
    NameTrans fn="assign-name" from="(/A2P2Test|/A2P2Test/*)" name="passthrough"
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The webserver starts up without any errors but never forwards any requests what might I be doing wrong?

  • How to use Mac Mini Server as NAT with only one port??

    How to use Mac Mini Server as NAT with only one ethernet port??

    But why did apple sell me this server that does NAT with one port? I don't get it.

  • Two primary registers in one meter for a secondary meter device

    There is this scenario is our context ... which results in having two primary registers against one secondary register, its like
    one primary meter ... which is a TOU (peak off-peak) meter ... has a child meter which is not a TOU meter. Now, the consumption of the child meter is to be subtracted from active peak and active off-peak registers in the primary meter proportionally.
    Do we need to write a functional module and define a new register relationship for this?

    You can treat in rate steps also.
    While calculating the meter reading result subtract the child meter reading from the primary meter reading.

  • A web server in front of Sun One App 8

    Hi all, I'm trying to port a web site with jsp and servlet and j2ee applications(JMS) from tomcat&Apache to Sun one application server 8. In my old setup, Aapche acts as a front line where static images are served there, php pages and cgi stuff where tomcat is for jsp and servlets.
    So when i try to port it to sun one 8, i got a couple of problems. Sun one 8 doesnt support cgi and php, so i need a web server in front. So i'm thinking either apache or sun web server in front and funnel jsp/servlet to sun one 8. But i dont know how to integrate such setup. With apache and tomcat, theres this JK2/coyote sitting on port 8009. How do i setup a web server (maybe apache or sun one web) with sun one 8?
    Kien

    I'm looking to do the same. Has anyone done this. I'd prefer apache but willing to look at any solution.

  • Designing an automated way to Convert two modbus registers in a useable number

    I have two modbus registers that contain data. example reg1 8245 and reg2 13361. From them I convert and end up with 541 then convert to 5.41. It is relatively long equation. I will have to repeat nearly 600 Times per site. Is there a way I can utilze the same equation without having to type in the same thing over and over? Hopefully this give enough detail. Thanks James

    You can create an Aggregate object for this Expression of yours. And then use this "custom" (Aggregate) Object in your other processes.
    See Online Help for details on the Aggregate Object.
    Hope this helps.
    Regards,
    Khalid

  • Publish more than one operation by WebService

    Hi all
    Somebody can helpme saying me how to do the following with eGate ( i cant use eInsight ):
    For now im enabled to publish one operation and one webservice, but mi problem is that i can't publish one WebService with more than one operation and i can't change the mandatory "ExecutePortType", all my webservices url are in the form:
    http://<server>:<port>/myws/ExecutePortType
    1. Why the context name is about the WebService and why ExecutePortType is mandatory ?
    2. I can't publish a Web Service with more than one operation ( The documentation says that the ExecutePortType supports just one operation )?
    some body can helpme with an example ?

    What client are you using? Are you using the netbeans enterprise pack test driver? If so, you can set the soap action in the test properties to match the ones you have defined in the WSDL.
    Also if you could post the actual soap message you are sending that would help.
    I also noticed that you're using parts defined via types with a document/literal binding. To be more basic profile compliant in that casue you may want to use RPC style instead - it is not strictly necessary, but increases interoperability.
    Andi

  • Server proxy method name and interface operation name

    Hi all,
    I have successfully used inbound server proxies on several occasions.  Each time, without thinking about it, I took the default option where the OPERATION name == the SERVICE INTERFACE name.  When the proxy is generated, the ABAP method is the OPERATION name and everything works nicely.
    This time however, I tried something different and built a service interface (PMNotification, as example) with the operation name 'Create', thinking that I could also have a second operation 'Update' (for example).  The ABAP proxy method then becomes CREATE, but I then get 'NO IMPLEMENTING CLASS....' errors. If I change the operation name to match the interface name and regenerate, everything works again.
    SO, my question is this : Is is true that the OPERATION name MUST equal the INTERFACE name for an inbound server proxy ??
    If this is the case, then a (inbound) service interface can only have one operation; this doesn't seem right.
    Looking forward to any insight.
    Guy

    If this is the case, then a (inbound) service interface can only have one operation; this doesn't seem right.
    Open your service interface in ESR and press F7....if the proxy cannot be generated you would probably get an information on this....inbound SI can have multiple operations but then it seems to be a limitation in case of proxy.
    Also if your operations have different types of messages (combinations of message type and external definitions etc) then you face such limitations.
    Some reference from Michal's blog: The specified item was not found.
    Now the method that you need to call from to send an ABAP Proxy message has exactly the same name as a method
    inside the Service Interface objects in Enterprise Service Repository (ESR is a successor of Integration Repository - IR) like
    shown in the picture below:
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jan 17, 2011 10:08 AM

  • Change duration of multiple still images in one operation

    Hello Folks.
    I am trying to change the duration of each image in a sequence of still images.
    Program: Adobe Premiere Elements 7
    Mode: Standard Definition 4/3 ratio
    File types in use: MOD, AVI, PNG
    Problem: The product manual states: "To apply the new default length to all still images in your project, delete them from Project view and reimport them into your project."
    Question: Is there a way to select a group of still images and then apply a new duration value to all of them in one operation?  An Adobe salesperson told me that this is possble before I purchased the program, but I cannot figure out how this is done. I switched to Adobe from another product in order to get this feature. Now that I need it, I cannot figure a way to get it to work. Time Stretch is not available when I select multiple images.
    Thank you,
    Brian

    Brian,
    Unfortunately not. PrPro CS4.2 has just added a way to change the Duration of previously Imported stills, but so far PrE does not allow for this, unless it is new to PrE 8, but I have not read of this.
    As noted, the method is to set the Edit>Preferences>General>Default Stills, and choose the Duration in Frames. Then Import the stills. If they are in the Project, that setting has already been applied, so one must delete them from the Project Panel and re-Import them with the new Duration.
    Now, one can obviously change the Duration on a one-by-one basis in the Timeline, but that can be tedious, if there are many stills. If I were doing this, I would make sure to have the Info Panel open and nearby, Window>Info.
    Good luck,
    Hunt
    PS - if PrE 8 HAS added the post-Import Duration change, I hope someone steps up with that info.

  • Execution of multiple goods movements in one operation

    Hi,
    Does anyone know of any SAP standard functionality for executing several movememts of materials in one operation?
    For example, is it possible to execute first mvt type 321 for a material, directly followed by a 301 - in one transaction (without posting material with 321 and then use another transaction to do the 301)?
    Of course the number of material documents and accouting documents should be the same as if you executed with 2 transactions.
    Is this something we need to configure or program? We dont use RF in the warehouse.
    Regards,
    Ola

    Hi,
    The several movements of materials in one operation can be executed in MIGO transaction,but the 321 movement is not defined for the MM movement type.
    It cannot be done in any MM movement type,it should cleared with QM side only.
    So the rest of any movement can be excuted in single operation.
    But in QM view they can do in single operation say if 10 stock was in quality,they can move 5 to unrestricted (321), 2 piece to degrade material ,material to material transfer (309), 1 piece to scrap (551)
    1 to vendor return (102).So in QM point they can do in one operation many movements for particular material in quality stock.
    Regards,
    Raj

  • Server has not enough memory for operation (Some .rpt files not removing from Temp folder )

    We have web application developed in ASP.NET 4.0 ftramework and published on IIS. And we are using 13_0_8 version of CR.
    I am creating report files and exporting these as pdf. And I am disposing streams and report documents at the end. Initially, there wasn't any problem and temporary files which are created by CrystalReport were deleting all. But, now requests to the web application increeased to about 50.000 in a day and now some .rpt files are staying in Temp folder and I can't delete them. After recycling application pool all files are removed by IIS. Then, after 1 or 2 hours new .rpt files are creating in Temp folder. And after somewhile, application throws Server has not enough memory for operation. And, IMHO the reason is temp files. Here is the code I am using to export report as pdf.
    Questions:
    1. Is the reason of this exception is temp files in Temp folder?
    2. What is wrong in that code?
    ReportDocument report = DownloadPDF.GetReport(id);
       MemoryStream stream = (MemoryStream)report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
       Response.ContentType = "application/pdf";
       Response.AddHeader("content-disposition", "attachment; filename=" + id+ ".pdf");
      report.Close();
      report.Dispose();
       try
       Response.BinaryWrite(stream.ToArray());
       Response.End();
       catch (Exception)
       finally
      stream.Flush();
      stream.Close();
      stream.Dispose();
    Here is the StackTrace

    Hi Farhad
    At 50,000 requests, you are more than likely running into the CR engine limit. E.g.; you're pushing way too hard... The following will be good reads for you:
    Crystal Reports 2008 Component Engine Scalability | SCN
    (The above doc does apply to current versions of CR - e.g.; no changes.)
    Crystal Reports Maximum Report Processing Jobs ... | SCN
    Scaling Crystal Reports for Visual Studio .NET
    Choosing the Right Business Objects SDK for Your Needs
    Choose the Right SDK for the Right Task
    How Can I Optimize Scalability?
    All of the above apply to your version of CR and thus the next question will be; how to proceed:
    1) Bigger, faster servers will not hurt.
    2) Web farms.
    How Do I Use Crystal Reports in a Web Farm or Web Garden?
    3) Crystal Reports Application Server, or perhaps even SAP BusinessObjects BI Platform 4.1
    Crystal Enterprise Report Application Server - Overview
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • More than one operation defined. Unable to resolve operation

    Hi,
    Using the attached WSDL to define a BPEL sequence I allways get the following error message:
    More than one operation defined. Unable to resolve operation:
    This occured in the moment i introduced a seconde operation. With one operation everything works fine.
    Does anybody know how to define a WSDL that works for the BPEL system with more than one operation?
    Best Regards,
    Axel.
    WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://dummy.ws.axelbenz.de/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://dummy.ws.axelbenz.de/" name="StringInOutService" xmlns:plink="http://schemas.xmlsoap.org/ws/2004/03/partner-link/">
    <types>
    <xsd:schema>
    <xsd:import namespace="http://dummy.ws.axelbenz.de/" schemaLocation="upperService.xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" />
    </xsd:schema>
    </types>
    <message name="lowerMessage">
    <part name="lowerParameters" type="tns:lowerType" />
    </message>
    <message name="lowerMessageResponse">
    <part name="lowerResponseParameters" type="tns:lowerTypeResponse" />
    </message>
    <message name="upperMessage">
    <part name="upperParameters" type="tns:upperType" />
    </message>
    <message name="upperMessageResponse">
    <part name="upperResponseParameters" type="tns:upperTypeResponse" />
    </message>
    <portType name="StringInOut">
    <operation name="lowerOperation">
    <input message="tns:lowerMessage" />
    <output message="tns:lowerMessageResponse" />
    </operation>
    <operation name="upperOperation">
    <input message="tns:upperMessage" />
    <output message="tns:upperMessageResponse" />
    </operation>
    </portType>
    <binding name="StringInOutPortBinding" type="tns:StringInOut">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="lowerOperation">
    <soap:operation soapAction="lower" style="document" />
    <input>
    <soap:body use="literal" parts="lowerParameters" />
    </input>
    <output>
    <soap:body use="literal" parts="lowerResponseParameters" />
    </output>
    </operation>
    <operation name="upperOperation">
    <soap:operation soapAction="upper" style="document" />
    <input>
    <soap:body use="literal" parts="upperParameters" namespace="" />
    </input>
    <output>
    <soap:body use="literal" parts="upperResponseParameters" />
    </output>
    </operation>
    </binding>
    <service name="StringInOutService">
    <port name="StringInOutPort" binding="tns:StringInOutPortBinding">
    <soap:address location="http://GWBE0040.int.gematik.de:18181/DummyServices/StringInOutService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" />
    </port>
    </service>
    <plink:partnerLinkType name="partnerlinktype1">
    <plink:role name="serviceRequestor" portType="tns:StringInOut"/>
    </plink:partnerLinkType>
    </definitions>
    XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema version="1.0" targetNamespace="http://dummy.ws.axelbenz.de/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="lower" type="ns1:lowerType" xmlns:ns1="http://dummy.ws.axelbenz.de/" />
    <xs:complexType name="lowerType">
    <xs:sequence>
    <xs:element name="inp" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="lowerResponse" type="ns2:lowerTypeResponse" xmlns:ns2="http://dummy.ws.axelbenz.de/" />
    <xs:complexType name="lowerTypeResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="upper" type="ns3:upperType" xmlns:ns3="http://dummy.ws.axelbenz.de/" />
    <xs:complexType name="upperType">
    <xs:sequence>
    <xs:element name="inp" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="upperResponse" type="ns4:upperTypeResponse" xmlns:ns4="http://dummy.ws.axelbenz.de/" />
    <xs:complexType name="upperTypeResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:schema>

    What client are you using? Are you using the netbeans enterprise pack test driver? If so, you can set the soap action in the test properties to match the ones you have defined in the WSDL.
    Also if you could post the actual soap message you are sending that would help.
    I also noticed that you're using parts defined via types with a document/literal binding. To be more basic profile compliant in that casue you may want to use RPC style instead - it is not strictly necessary, but increases interoperability.
    Andi

  • How do I delete a number of duplicate tunes with one operation?

    How do I delete a number of duplicate tunes with one operation?

    See here: https://discussions.apple.com/thread/3293239?start=0&tstart=0
    B-rock

Maybe you are looking for