Automationdirect P3000 Modbus Communication Lookout 6.5 for +/- 10V Output Module

Here is an iquiry I sent to Automationdirect tech support last week.
I have not had a response from them yet so I thought I would throw it up here.
Hello,
I am starting a new project with the P3K and I am using Lookout 6.5.
This is my fourth installation with this combination and I have learned a bit more about the Modbus communication each time.
I use the Modbus serial object in Lookout to communicate via RS-232.
With my first project, I learned to set the "Modbus Server Settings" in the P3000 software to map to a single 16 bit Modbus register to get the communications working with Lookout and making sense with the analog registers.
For a 10V input I would linear scale in the PAC 0 to 65535 = 0 to 10000 then in Lookout I simply divide by 1000 to get the decimal in the right place.
On the most recent project, I discovered I could map/scale my analog inputs to 32 bit foats, select the "map to two consecutive integers" in the P300 software properties and then in Lookout, I could read the register properly with an "F"
like "modbus1.F400001".
Now I have a P3-16DA-2, ±10V output module.
I can't get the float to work and it crashes the communication repetitively.
It will communicate properly if I stick to 16 bit Modbus register for the "Analog Output, Integer, 32 bit" on the Modbus server settings.
However, I have the register swap issue reminiscent of the DL205 bi-polar input. It outputs 0 to 10V from 0 to 32767 and -10 to 0 from 32768 to 65535.
I remember having to add logic in the DL260 PLC and then in Lookout I would use the numerical IF;
"(nif(DL3.C102,DL3.V2102*-1,DL3.V2102))*-1"
What a pain that was.
Is there an easy solution?
Thanks in advance.
John B

Bipolar setups are a pain, it seems your if() is similar to what we did as well.  Added a rung and set a coil...
Only have a few and have not used the P3000 myself, 
Forshock - Consult.Develop.Solve.

Similar Messages

  • Modbus Communication, Adding shared variables, Licenses

    Hello,  I am having trouble communicating with a third party DAQ.  I am receiving data from a thermocouple input module through a modbus library address but I recently purchased a digital I/O module which is giving me trouble.  As soon as I add the shared variables which correspond to the modbus addresses of the digital I/O module channels I am using I get a few different errors.  If I turn off aliasing for one of the thermocouple channels I get Error 1550 "the license for the I/O server type is invalid"....If I turn it back on I get errors for every modbus location saying "invalid value for enable aliasing option"  I am using the student edition and on the opening screen it says the data logging license is expired.  Is that the problem?  I don't think so because I am successfully communicating with the thermocouple module of the same DAQ device.  Is there a simple way to write a new VI that I can try to communicate with just a switch on the digital I/O module and see if it is reading on or off (0 or 1).  Thank you very much for your time

    Hi brade, 
    To clarify where we are at. the behavior you are seeing isn't expected. It is a minor bug that we have seen in R&D but haven't been able to reproduce and fix yet. 
    People have gotten around it by
    1) re-making their projects 
    2) Enabling descriptions, as the engineer in other post.  The problem went away for him on this post: "Aliasing is no longer an error.  (As long as NI Variables (task description) is enabled)."
    We were talking about the aliasing tab you can see on the modbus variables in hte labview project by right-clicking and going to properties; 
    I assume he checked the box on this tab: 
    Can you also post your project? 
    Jesse Dennis
    Design Engineer
    Erdos Miller

  • Could VBAI be use as Slave in ModBus communication ?

    hello,
    I'm working with VBAI 2010, in ModBus comunication I need to use VBAI as Slave.
    I saw on help file that it is not possible but in menu "Tools\Communication device\" I can see "Vision Builder AI ModBus Adress :"
    What does it mean ?
    Is there any solution to use VBAI as slave in ModBus communication ?
    Fabrice

    Yes, Vision Builder AI can actually only be used as a Modbus slave for now (users can implement the master functionality using a Run LabVIEW step).
    To configure Vision Builder AI as a Modbus Slave device, select Tools>>Communication Device Manager.
    Click New Device, to create the Modbus Master Device you want Vision Builder AI to communicate with.
    Give it a name, then select either the Modbus Serial or Modbus TCP as the communication protocol depending on the physical layer used to connect to your device. For serial, you will need to specify the port and Modbus Mode (the most widely implemented is RTU).
    Click OK.
    Click the Start Server button, next to the Modbus Server, to start the background task that will listen for incoming Modbus messages. Note that the Modbus registers will be updated asynchronously from your inspection, whenever a Modbus frame is received.
    The Vision Builder AI Modbus Slave Address is only used to identify the device, when the protocol is Serial, and you use the RS-485 protocol to connect together more than 2 Modbus devices in a multi-device configuration. Ignore this control if you are using Modbus TCP.
    We know this dialog is a little confusing and are working towards improving it in future releases.
    Once the server is running, use the Modbus Slave step to read and write the Modbus registers (that are located on the machine running VBAI, since you configured VBAI as a slave device).
    Make sure that you specify the correct address in your Modbus Master device configuration software for the register you want to access in Vision Builder AI. In most Modbus device configuration software, you must enter a name for the register you want to use. Per Modbus convention, the register address of the slave device is calculated by subtracting 1 from the register name that you specify in the master device configuration software. Vision Builder AI expects register addresses, not register names, so you may have to subtract 1 from the address you defined in the Modbus device configuration software. For example, a register name defined as 2 in your Modbus configuration device translates to register address 1 in the Vision Builder AI Holding Registers table.
    Modbus Device
    Holding Register Name = 2
    Vision Builder AI
    Holding Register Address = 1
    The Modbus data model is based on a series of four tables: Discrete Inputs, Coils, Input Registers, and Holding Registers. These tables do not overlap in Vision Builder AI. Some Modbus devices use the following start addresses for these tables.
    0x00000 for the Coils
    0x10000 for the Discrete Inputs
    0x30000 for the Input Registers
    0x40000 for the Holding Registers
    Because the tables do not overlap in Vision Builder AI, ignore the first digit of the start addresses when entering the addresses in Vision Builder AI. For example, a register name defined as 0x40000 in a Modbus configuration device translates to register address 0 in the Vision Builder AI Holding Registers table.
    Modbus Device
    Holding Register Name = 0x40000
    Vision Builder AI
    Holding Register Address = 0
    Sometimes you need to subtract 1 from the register name that you specify in the master device configuration software and ignore the first digit of the start address to ensure proper register addressing. For example, a register name defined as 0x40008 in a Modbus configuration device translates to register address 7 in the Vision Builder AI Holding Registers table.
    Modbus Device
    Holding Register Name = 0x40008
    Vision Builder AI
    Holding Register Address = 7
    The Modbus Local Registers Terminal accessible from the Tools menu is a useful tool to figure out where you're writing data.
    Hope this will help you configure the communication between VBAI and your device easily.
    Best regards,
    -Christophe

  • Advice on Communication VI's - Polling for replies

    Advice on Communication VI’s - Polling for replies
    Hi all
    I have been given the task of improving the performance my works communication vi’s. One of the main areas I have found that needs improving is how we implement a delay between a commands being transmitted and when we read back the data from the DUT. Currently we use the flowing steps:
      • Convert text string into Hex
      • Transmit Hex commands to DUT using appropriate protocol (TCP, USB)
      • Wait Xms
      • Read Reply
      • Check Reply is valid
    The main issue we have is that we adjust the X ms delay to cover the slowest possible command the DUT supports (~2 sec), however most command will return in ~20 ms. I am planning to replace the “wait X ms” vi with a vi that will continuously reads/polls until it receives a valid reply. This way communication vi will only delay for the require amount of time. This is the area I could do with some advice. Should I continuously poll/read to detect if a reply has been received, or is there a better method of detecting arrive of a reply?
    Any advice would be gratefully received
    D.Barr

    Hi 148,
    I have attached an example vi. It does not run as is just an indication of what i think you need. I wanted to just post a pic of it to give you and idea but my browser kept on crashing and im too intoxicated to figure out why so you can view the example instead.
    Would be an idea to run a seperate loop that constantly scans the tcp read vi. If you set it in standard mode, it will either update all read bytes once 'bytes to read' is complete or update with the bytes read once the vi times out. This can then update a functional global that acts as a data buffer and message parser. Your main loop can then poll this for any new input messages. I havent included the functional global just an example of what the dedicated loop should do.
    Hope this points you in the right direction. Im off to bed, goodnight.
    Lucither.
    "Everything should be made as simple as possible but no simpler"
    Attachments:
    TCP buffer.vi ‏8 KB

  • I have a Maxtor 3200 which has stopped communicating with my iMac for no reason can you help i'am running the latest system

    I have a Maxtor 3200 which has stopped communicating with my iMac for no reason can you help i'am running the latest system

    I have never seen this before.  Try using these installers
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)

  • Test web service for a function module

    Hello,
    I have created web service for a functiona module. I can see the same service in SE80 in Enterprise Services.
    How do I test this service?
    I can see the URL in WSDL tab but when I try to execute it give me following error,
    What has happened?
    URL http://emhbssap15.domain.local:8027/sap/bc/srt/wsdl/sdef_service_name/wsdl11/ws_policy/document call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BDV with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:EMHBSSAP15_BDV_27-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team
    The URL I am trying is
    http://emhbssap15.domainname:8027/sap/bc/srt/wsdl/sdef_servicename/wsdl11/ws_policy/document?sap-client=400
    Can anyone help me?
    Regards,,,
    Sunil Joyous
    Edited by: Sunil Joyous on Dec 2, 2009 1:52 PM

    Thanks Venu for your input.
    Unfortunetly we do not have Java stack on our development system. You said we can test it by SOAP UI tool. Where do I see the WSDL file for the service?
    I used WSDL from SE80 --> Service --> WSDL tab, but SOAP UI does not accept this format ?
    What are the other ways I can test this web service? I think about SAP PI, importing RFC & creating web service or creating ABAP proxies... Which is the best way to go forward in case you do not have Java stck.
    Regards,,,
    Sunil Joyous

  • Print preview for PO output

    Hi,
    I have an issue with viewing print preview for PO output.
    In Messages,output type has been defined.
    I am trying to display print preview of the PO outpit by clicking on the print preview button.
    Instead of displaying the print preview on my screen,the printout is directly fired in the printer.Please note I am trying to display just the print preview and not printing the PO.
    This happens even when I have not set 'Print immediately' indicator in Communication setting and have defined 'Send with application own transaction'.
    Your input on this would be of great help,
    Regards,
    Bikram

    Hi,
    Triggering print or Preview option is dependent on driver program assigned to output type in OMTB. It will be customized program. You need to do modification in your customized program.

  • Define Actions for Document Output - Activate / link std. Interactive Forms

    Hello,
    The transactions 'Actions for Document Output' help tells me the following:
    If the processing type External Communication is used for document output using SAP Interactive Forms, the following configuration needs to be done:
    SRM Document (Action Profile)      Form Name            Format
    Purchase Order (BBP_PD_PO)      BBP_PO_ADB       BBP_PO_ADB_PRN
    The interactive forms are available in our SRM system. Still up on searching the forms for f.e. the Purchase Order definition it can not be found. Only smartforms are listed. How come?
    Has the setting in transaction 'PDF-based Forms for SAP ERP' -> 'Activate PDF-Based Forms' got anything to do with this?
    Kind regards,
    Tim

    Hi Jay,
    I tried searching for it where you should link the form with the BUS object.
    Following path (PO): Cross-Application Basic Settings -> Set Output Actions and Output Format ->  Define Actions for Document Output -> Action Profile: BBP_PD_PO -> Tab: Processing Types -> Smart Forms Print -> Search for Form doesn't include the Interactive forms.
    I just realised: I need to add a new entry 'External Communication', would this entry be applicable for all communication methods? Thus fax + print + e-mail? And how did you go about setting it up, i suppose adding an 'external communication' entry next to the smartform entries in the std. SAP BBP_PO would be double (system wouldn't know which 1 to choose).
    Kind regards,
    Tim

  • How to set a default output device for FAX outputs

    Hi Experts,
    Business requires to set a default output device for fax outputs ( Medium as 2 Fax medium ).
    as fas as print output ( medium as 1 print medium ) is considered we can maintain output device in condition record--> communication
    I tried maintaining output device in VP01 for my condition type based on sales org but it did not worked.
    Can you please suggest ways to achieve default output device for fax outputs.
    Thanks,

    Well, obvious solution would be to either update user profiles or change the output from 'process immediately' to 'process by a background job'. Then create a generic user ID with any fax number desired and use that user ID to process the output through the background job.
    This is not really an SD question, so if this simple option doesn't work for you, I'd suggest to discuss other custom solution with your ABAP / Basis team.

  • Work flow? How to link multi-cam sequences for DVD output?

    Pr cs4 (very new)
    Still taking baby steps each day... please take my hand and help me!
    Final output will be 2 DVD's (each DL) each about 2 hrs. Content are chamber music student groups in two recitals.
    I have assets from two camera angles. I have successfully practiced on one of the groups performance (10 min.) following the steps illustrated in a multi-cam tutorial.  http://www.adobe.com/designcenter/video_workshop/?id=vid0234
    This leaves me with a great multi-cam sequence for that group located in the Project Panel, exactly what I want.
    Now, I want to know what is the best method (workflow?) to ultimately produce a DVD containing about 10 of these type performances (one after the other) with chapter markings for each group, titles etc.?
    I have yet to use Encore and I'm guessing that is where I'll send the finished edit for DVD production, though I don't know at what step I jump there?
    Do I try to create one very long multi cam sequence of all the content, then send to Encore? Or can I create seperate multi-cam sequences (each performance) then link them together, adding transitions and make the DVD? This would be my preference to keep things more manageable, especially with audio synching.
    With my practice multi-cam sequence on the timeline, I tried to drag the same sequence from the Project Panel to the end of the timeline to simulate how this would work, but it does not add to the timeline as a clip would.
    This is probably childs play for you pro's, but we were all baby's at one time...I just happen to still be one!
    Thanks for your patience and advice,
    Kenny

    Yes I did...now toss me a cookie please.
    I am trying to quickly get up to speed in Pr CS4 to get this project completed. In the process, I'm trying to learn and understand the interface and correct terminology so as to make my questions intelligible to a community that posses vastly greater understanding than myself.
    Is there anyone who can help with my main question at hand? Namely, how to go about creating a full length sequence (in the timeline) made via the nesting of synchronized multi-camera clips within a new "multi-cam sequence"?
    As I said, I have completed a small test sequence in this fashion, nesting clips in a new sequence then using multi-cam monitor to record cuts. Now I need to add about 10 more of these together in a completed sequence to then send to DVD production.
    Is this intelligible?
    Thanks, Kenny 
          __0
       _ \<,_
    Date: Wed, 4 Nov 2009 09:11:06 -0700
    From: [email protected]
    To: [email protected]
    Subject: Work flow? How to link multi-cam sequences for DVD output?
    please take my hand and help me!
    Well, at least you had the gumption to admit that up front.
    >

  • Configure the tcode SCOT and SMTP for the SPM module in the R/3

    Hello,
    I want to know if I have to configure the tcode SCOT and SMTP for the SPM module (SAP GRC AC 5.3 SP5) in the R/3 if I want to send information toe the owner & controller.
    Best Regards.
    Pablo Mortera.

    Pablo,
    This would normally be a basis function. Be very careful as this is not specific to GRC.
    This will impact any external notifications using email / fax etc.
    It will also depend on your version and infrastructure.
    If you have web application servers, you will be able to do a lot more than if you have standard (older) application servers.
    You need to create a node under the INT and assign the appropriate tcp / ip rfc connection to direct it to your email server.
    You will then need to define the types of communications to be sent via that method and any appropriate email domain settings.
    You also need to create and set the appropriate send jobs to run periodically which will then automatically call the rfcs to process the waiting documents.
    Simon

  • ME22 Transaction Generating more than one spool for an OUTPUT

    Hello,
    It has been noticed that in some company codes PO is printed (via ME22) in more than one copy I noticed that for one PO - three or four spool requests are generated.
    When i changed PO in ME22 and triggered for output it is generating 4 r more spools.Since it is the standard transaction i think Configuration should be changed.
    Where can i get those settings. I need only 1 spool for one output.
    Please advice any change in set up / configuration to be done, so that only one copy of PO is printed.
    Please help.

    Hi,
    Please check the output condition record (NACR) for application EF (Purchase Order). Select the key combination for the corresponding purchasing output determinatino. Then go to the communication area and check number of messages perhaps it was setup more than 1.
    Regards,
    Ferry Lianto

  • Changes from 11i to R12 for General Ledger Module

    Can anybody help me from where can i get the document for technical changes from 11i to R12 for General Ledger Module.

    check at:
    http://www.oracleappshub.com/general-ledger/r12-oracle-general-ledger-new-and-enhanced-features/

  • Performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA)

    Hi Friends
    I am having performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA) and one my client got over 8 thousend employees . This function-module taking forever to read the data. is there any other function-module to read the absences data IT2001 .
    I did use like this .if i take out this F.M 'HR_TIM_REPORT_ABSENCE_DATA_INI' its not working other Function-module.please Suggest me .
    call function 'HR_TIM_REPORT_ABSENCE_DATA_INI'
    exporting "Publishing to global memory
    option_string = option_s "string of sel org fields
    trig_string = trig_s "string of req data
    alemp_flag = sw_alemp "all employee req
    infot_flag = space "split per IT neccessary
    sel_modus = sw_apa
    importing
    org_num = fdpos_lines "number of sel org fields
    tables
    fieldtab = fdtab "all org fields
    field_sel = fieldnametab_m. "sel org fields
    To Read all infotypes from Absences type.
    RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.
    central function unit to provide internal tables: abse orgs empl
    call function 'HR_TIM_REPORT_ABSENCE_DATA'
    exporting
    pernr = pernr-pernr
    begda = pn-begda
    endda = pn-endda
    IMPORTING
    SUBRC = SUBRC_RTA
    tables
    absences = absences_01
    org_fields = orgs
    emp_fields = empl
    REFTAB =
    APLTAB =
    awart_sel_p = awart_s[]
    awart_sel_a = awart_s[]
    abstp_sel = abstp_s[]
    i0000 = p0000
    i0001 = p0001
    i0002 = p0002
    i0007 = p0007
    i2001 = p2001
    i2002 = p2002
    i2003 = p2003.
    Thanks & Regards
    Reddy

    guessing will not help you much, check with SE30 to get a better insight
    SE30
    The ABAP Runtime Trace (SE30) -  Quick and Easy
    what is the total time, what are the Top 10 in the hitlist.
    Siegfried

  • How to check for a function module with its description and functionality

    Hi all,
    How to check for a function module,with its description and its functionality,in detail how can I know the purpose of a particular function module,how to search for a function module which suits my requirement .

    Hi,
    You can search a FM of your requirement by putting in the Key words and searching for a FM. Like * KEYWORD * and then pressing F4.
    Say for example you need to search something regarding converstion.
    Search for * CONVERT * and press F4.
    If there is something specfic like converting date to something you can give
    DATE * CONVERT *
    OR
    CONVERT * DATE *  and press F4.
    Once you narrow down your search you will have a Function module documentation inside the Function module. Please note that all the FMs willl not have documentation.
    Regards,
    Pramod

Maybe you are looking for

  • Problem with .doc

    Hi Guys, I'm a relatively new in MAC and I'm using Microsoft Office 2008. I have a particular problem with Word- I've been sent a .doc document by a Windows user and as soon as I try to open it, nothing happens, seems like it's going to open it, but

  • Extraction from ECC

    Hi, I have a problem. i add some logic in Functional location cmod. every things are wroking fine but the problem is now it is taking 4h to load data before it takes 45min, most of the time taken to fill the internal tables  please someone help me to

  • Use of Multiple CC Gateways

    We have a client using WebTools 2007 PL07 and are already using Authorize.Net for CC Gateway.  They also want to be able to use PayPal on their site for some customers.  Can Webtools use two different CC gateways?  Does it sound possible through a cu

  • Executing script: Memory Script

    Hi all, I am trying to clone my database ( 9.2.0.1.0) in same system (Red Hat Enterprise Linux AS release 4), but its hung before finishing... media recovery complete Finished recover at 25-APR-08 printing stored script: Memory Script shutdown clone;

  • How long do visited links stay purple?

    When I directly click on or open a blue underlined link in a new window (or tab), the link I used to open the new window or tab turns purple, indicating that it has recently been visited. I know that at some point in time, the visited link (purple),