SbRIO9636 rs485 two wire mode

Hello Forum,
I want to connect a 2 wire rs-485 modbus device with the rs-485 port on
sbRIO9636.
How to configure half duplex(2 wire mode) communication for RS485(COM3) of NI sbRIO-9636?
I have 3 pins A+,B- and gnd in the  modbus device.
A+ to Rx+ and Tx+
B- to Rx- and Tx-
But is it possible for that port to be used for 2 wire mode?
Thanks and regards
Anurag

Hi Anurag.You can, and I explained why in my opinion not quite explained in the product documentation.
The wiring is realized as you say, I've tried 2 or 3 wire with good performance (without using the gnd or with him).
What you should consider is to put the terminating resistors (typical of 100 or 120 ohms) at both ends, if for Modbus equipment or wiring topology did imperative. It is usually recommended in any case to mitigate the noise.
The port can be used for two or four wires, but the problem is that it leaves from the MAX set because they are hidden parameters (at least in the version I frame the Lw2012sp1).
By default the start sbRIO four-wire, so you should change it from an IV (parameter "modewire" I put an example with a screenshot).
If you have the DSC module, you have very easy to set variables in a modbus master cyclic program, but limited to 1 second in the read cycle.
Roberto
Attachments:
config two wire 485 sbrio.JPG ‏39 KB

Similar Messages

  • How do RS485 2-wire link?

    I want to use a rs232/485 convertor to communicate pc with a device.But i do not know how to link the two machines in rs485 2-wire mode?
    who could tell me?
    Thanks.
    stone

    Connect A to A and B to B...(A is normally - and B is +...but that may vary, try crossing if it does not work..incorrect polarity will not harm the equipment)
    Make sure all units have been configured for 2-wire (often there is a dip-switch to do that...).
    This is a nice web-site for more info about RS485:
    http://www.bb-elec.com/tech_articles/rs422_485_app_note/table_of_contents.asp
    MTO

  • Wire mode bug in LabVIEW 2010?

    I had an application written in LabVIEW 2009 for a CFP-2220 that stopped working when it was converted to LabVIEW 2010, and I have tracked down the problem to one thing: the software sets the wire mode of the serial port. Calling this method simply disables the whole program. It works when run from LabVIEW...but if you build a startup application it will not even start. Remove the wire mode call - and voila, the application runs as it should.
    So - I can fix the problem easily by not calling the wire mode method, however this is no solution due to the fact that I need to use the RS-422/485 port in 2-wire RS485 mode.
    MTO
    Solved!
    Go to Solution.

    It turns out that this is an even stranger problem; the serial port init function will ONLY work in the built application if it originates from the vi.lib\Intsr\serial.llb file.  If you do a save as and substitute with original...then you would expect it to still work, it's the same VI, it has just moved...but no (!). Again - there are no warnings, no errors, and everything runs fine in the development environment, but if you deploy and run this application on the cFP-2220 it will only run if the serial port init VI came from that location. Save it to another location (no conflicts caused by this)..build it again, and the application will not start. You can even move the whole serial.llb file to somewhere else and call the serial init file from there - and that's enough to stop it from working.
    The reason why I though that I had linked this to the wire mode was the fact that I got everything to run when I used the standard serial port init VI...but if I saved a copy of this to another location and added the wire mode to it it stopped working...so I assumed it was the wire mode, because that was the only thing that had been changed that would logically produce any change...the fact that it was moved should not have any effect....it turns out that was wrong.
    I have a few other variations to test (what if I edit the file directly in vi.lib\Instr, will it work then e.g.? That will not be a good solution, but a good thing to test anyway)...
    MTO

  • RS485 2-wire Loopback

    I am using the NI USB-485/2 box with CVI and was successful in configuring the two 485 ports in 4-wire mode, connecting the ports for loopback testing and tested by sending data out one port and receiving the same data in the second.  Now I want to change the configuration to 2-wire because I need to interface to equipment using 2-wire so I have read about all the documentation I can find and still have confustion about 2-wire port configuration, transceiver control and loopback connections.  I see three 2-wire port configuration options 1) DTR controlled with echo, 2) DTR controlled without echo, 3) Auto TXRDY controlled.  I see the "RS-485 Transceiver Control" table in the manual and Quick Reference. There is little explaination of these three options.  So my questions is what are the difference in these three and for each of these options how does the port need to be configured (any handshaking enabled?) and how would I wire the 2 ports together to run a loopback test?
    I have setup port configurations through VISA attributes for 2-wire Auto with baud, num bits, stop bit, etc, and it seems to be returning successful responses.  (I used VISA only because I did not find the ComSetEscape call before I completed the above).  I connected portA TX- to portB TX- and portA TX+ to portB TX+ for loopback testing and could not get it to work in the short time I tested.  It looks like the data transmits but never gets received.  I am using the VISA write and read functions.

    This has been solved.

  • Comm. problem with cFP RS485 4 wire to Yokogawa UP150 RS485 2 wire

    cFP data sheet states that RS485 4 wire will not work with RS485 2 wire. I need to communicate with a bank of 6 Yokogawa UP150 temp controllers and 6 Overtemps, 2 wire system. I have seen some 4 to 2 wire converters on the web. I need to be able to use RS232 ports as well. I read a post about combining the 4 wire to 2 wire but it impacted the RS232 ports.
    thanks
    bruce leighty

    Bruce,
    Here is a Knowledge Base on our website that talks about this very issue:
    cFP RS-485 Port in 2-Wire mode
    Hopefully this KB will address your question!
    Craig H.

  • Rs485 4 wire (full duplex)

    This is a question about electronic more than labview properly, but i hope finding some answer.
    I have a signal from a simulated encoder from a brushless motor driver. I want to acquire this by fpga module.
    This signal have rs485 full duplex (4-wire) voltage level and my ni9401 has ttl level. I've a TTL/RS422 converter and a TTL/RS485 2 wire(half duplex) converter. what is the difference between rs485 4 wire and rs485 2 wire?
    Thank you

    Ravens Fan wrote:
    Jeff,
    RS-232 has a single Tx wire and a single Rx wire where the voltage levels are compared to ground,
    In RS-485 2-wire, there are only two wires (RxTx+ and RxTx-) that are differential to each other.  The same pair of wires handles receiving and transmitting allowing the pair of wires to be bidirectional.
    That's what I get for posting from memory before coffee
    Jeff

  • How to add two protection mode in oracle data guard

    Hi all,
    We have a discussion on oracle physical data guard yesterday.....
    As we all know that data guard has 3 protection mode
    1. Maximum Performance
    2. Maximum Availability (Default)
    3. Maximum Protection
    Now we were discussing about is it possible to have two protection mode on same data guard simultaneously... for e.g. Maximum performance and maximum availability.
    We have searched a lot but don't find any help on google.
    Can any one help on this with any doc, pdf or links..
    Thanks & Regards

    Hi,
    you don't find anything on this because it's not possible and would make no sense even if you could do it.
    Maximum Availability uses SYNC commit between primary and standby db. If you combine Max. Availabilty with Max. Performance then your db clients have to wait on commit until primary and the max. availability standby have commited. That they would not have to wait on another Max. Performance DB doesn't change anything to the client. You would only combine the disadvantages of both approaches, the wait on sync commit for max. availability and beeing not in sync with primary for the max. performance db.
    The max. protection mode requires by definition that the primary db shuts down in case no standby can process the commit. If the primary is not up and running it is pointless to have another (max. availability) standby db at hand, if this max. availability db would take over the service this would violate the defintion of max. protection. No Dataloss is valued higher than db availability, having the data commited only on one db site is not allowed.
    Regards
    Thomas

  • I want to communicate a RS485/2-wire device through COM1. I tried Instrument I/O Assistance to write to COM1(hex string with or without end bye:0D0A), something happened on the bus, but is not defirrential signal, and device didn't recognised them.

    I am new to LabView, so please bear with me...
    I tried to communicate with an RS485/2-wire device through COM1.  I used Instrument I/O Assistant (and Advanced/Basic Serial Write and Read examples) to write command (HEX string) to COM1,  
    tried writing HEX strings with and withour end bye (is 0D0A the correct end signal for HEX string?).  Both didn't get device's responce.  Looks like the device didn't recognize the command.
    I monitored the transmitted signals on the bus, they were not differential as supposed to be.....
    What is the possible reason to cause this? Please help...
    The hardware connection is OK, because I am able to communicate with the device through COM1 (with the same command) using different software application.

    How are you sending the hex? Is your string control set for hex display or normal? If it's set for normal, then if you send something like 'AD', then you aer sending the ASCII characters 'A' and 'D' and that's not the same thing. I don't believe the I/O assistant can send hex but you can modify the basic serial write and read to do so. Just right click on the string control and select 'Hex Display'. You can also enter the data in a numeric control (set for dex display) and use a type cast or an array of U8's and use the Byte Array to String function. Hex data usually doesn't use any kind of termination characters such as CR/LF.
    If communication is working with another app, then as you said, the hardware is okay and it's not a problem with differential signaling.

  • Remove dashed page lines in two up mode

    Does anyone know how to remove dashed page lines in two up mode. I want to show my booklet on screen (full screen mode) and Acrobat puts an annoying dashed line in between each page. I know I can turn gaps on but that doesnt help I want the spread to read seamlessly and not have any gaps or dashes in the way. Please help!
    Thanks

    Not from the 2-up mode. However, what might meet your needs is to print the PDF to a new PDF with the 2-up option and stretch to fit paper option. The end result will give a border. However, the border can be selected with the object touchup tool and deleted. I have not seen any way to not print the border.
    As I said, this may not be what you want, but might be a work-around to meet the need as I view your example. You may have to play around with the paper choice and such on the printing.

  • Just bought a new Canon Vixia HF R300.  It looks like I have basically two recording modes--either AVCHD or MP4.  I have a year old Mac Mini on Lion with increased ram.  I edit on iMovie and upload to You Tube.  Which recording mode would be best?

    Hi...
    I just bought a Canon Vixia HF R300 camcorder.  It looks like it gives me a choice of two recording modes AVCHD or MP4.  I will be uploading onto a year old Mac Mini with the Lion Operating system and increased ram.   I will be editing in iMovie '11 then uploading to You Tube.  Which recording mode should I use?  Obviously I'd like to get the best quality but I also want it to show well on You Tube.   What do you think?  Thanks for the help.  Bill

    Hi
    What program can you use to convert AVCHD to a DVD format?
    Share to File (in iMovie) - AND AS 480p - NOT Higher as DownScaling will be done badly.
    Use this file in iDVD or Roxio Toast™ or what DVD Authoring program You've got.
    To make a VIDEO-DVD You must use a DVD Authoring program - to get the right compression format AND Structure - It is a MUST.
    There are free alternatives - but resulting DVD hasve been far from what quality iDVD (and Toast™) will deliver.
    To get best possibly DVD - also this counts.
    - DVD brand used - I only Verbatim
    - DVD type used - I only DVD-R Single layer (4.7Gb)
    (DVD+R works for many and DVD-R/W usually don't work OK and Double Layer also are a problem to it self)
    - BURN SPEED - I set this as low possibly (usually x2)
    - Free Space on Start-Up Hard Disk - MATTERS - I never go less than 25Gb
    Good Luck
    Yours Bengt W

  • How to feed ac signal on two-wire current-voltage analyzer?

    I am trying to study the dynamical impedance of random didoe circuits. I am using two-wire voltage analyzer to study the I-V characteristics of the circuit. Now i want to feed additional small ac signal to the existing circuit and see what happens. But, i do not know how? any inputs would be highly appreciated.
    thanks in advace. 

    Could you please expand on your setup a little bit.  Can you confirm that you are using NI Elvis and Signal Express?  Which Elvis are you using 1 or 2?  Which versions are you running.
    Also what levels of AC voltage would you like to supply?  
    Thank you 
    Regards,
    CharlesD
    Digital MultimetersSchedule a Free 1 Hour LabVIEW Tutorial with an NI Applications Engineer

  • New s870 came with a two wire power supply, why no three wire

    I just purchased a new Toshiba S870 laptop custom made with Windows 7 from Shanghai China. The laptop works flawlessly, but emits a lot of EM F radiation. It came with a two wire power supply and not like the three wire power supply that my wife's a Asus laptop came with. I am wondering if this has anything to do with the strong EMF radiation that I am recording on my tri-Field meter?
    Has anyone had any experience with this type of situation?
    I would greatly appreciate any knowledgeable persons response to this query.

    It is time get a new one. Here's my guide* to dealing with such issues:
    http://www.macmaps.com/frayguide.html
    * Links to my pages may give me compensation.

  • How can I connect the NI USB RS485 interface to an instrument with two wires?

    I am connecting the RS485 to a Dynisco UPR 700, but labview alway tell me that " Before the operation is completed, timeout expired", I donot know what is wrong. Thanks!

    That message indicates that a read timeout occured. This usually suggests either a cabling problem (the RS-485 pin-out is in the NI-Serial manual pdf), a port settings problem (baud rate, etc.), a COM port number problem (using COM3 instead of COM4, etc.), or a communication protocol problem (incorrect command sent to the device, etc.). I suggest double checking your cabling and port settings, then run your vi with NI-SPY open to see what type of port activity is occuring.

  • What's best architecture for DAQmx app with two operational modes?

    I have an architectural question.  I am writing an application which takes measurements from a custom sensor which has two modes of operation: 1) idle mode where two voltages are sampled slowly, run through a transform, and then the result is plotted such that the user can see the idle state of the sensor; 2) a testing mode where the user defines a testing time of some number of seconds then hits 'Go' and records high-speed acquisition for the specified number of seconds (with some sort of simultaneous real-time plotting) and then writes the data out to a file.  I am trying to use the 'Top Level Application using Events" VI template but have run into issues with the VI not responding to UI clicks when in an event case...I got around **some** of these issues but now I am stuck because I can't get the app to register an abort button click when in testing mode.  I think I am missing something when it comes to events as LabVIEW defines them.  (I'm a .NET programmer)  My basic question is what is the best top-level VI architecture to use for something like this?  I don't want to go down the wrong path and have to re-write the whole thing...
    **I did come up with a seemingly neat way to get a tab control to switch tabs from inside an event case...I look at the X, Y coordinates of a mouse click and if it is within one of the tab selector zones at the top, left of the control I programmatically swith to the corresponding tab...seems like there should be an easier way but it works.

    I think that the best would probably be a producer consumer type architecture  with events.  You can do a search in the example finder and find a good one. As for the events not responding, you probably just need to uncheck the check box for disabling the front panel until the event finishes. You will find this at the bottom of the dialog box for the event structure.
    Joe.
    "NOTHING IS EVER EASY"

  • Two-up mode - request

    Hi, love your PDF reader for the iPad. I find it renders both text and images much more clearly than all the other PDF readers in the market. One major feature that is lacking though is the two-up view mode for viewing page spreads. Do you have any plans to add this feature in? There are lots of magazines PDFs which would benefit from being able to view two pages side-by-side when in landscape on the iPad.

    If you could invest in Acrobat then you would have the ability to insert an extra page at the beginning, a blank page, and
    then be able to read in the order you want.

Maybe you are looking for

  • Item category in purchasing document.

    Hi, where can I create furthers <b>"Item category"</b> in purchasing document? Best regards

  • Unable to process row of table.......

    When i trying to insert the data im getting below error ORA-20505: Error in DML: p_rowid=1, p_alt_rowid=BOOKING_NO, p_rowid2=, p_alt_rowid2=. * ORA-01403: no data found* Unable to process row of table. how to resolve this? Thanks and regard, skud

  • S&OP Functionality

    Hi All, Been trying to understand S&OP Functionality in comparison with APO DP and SNP. Have been looking at replacing existing APO DP / SNP to S&OP and use GATP in APO. Is there a comparison available on the features and is it a good solution to rep

  • Respository setup in OWB 9 vs OWB 10.2

    Hi , I have been working with oracle warehouse builder 10.2 and owb 11 release R1 , I was wondering how the repository was setup in owb ver9.Any help would be greatly appericiated. Regards, MALAM

  • How to write xml doc to file in PL/SQL

    I have a function defined that uses xmlgen.getxml to generate an xml confirmation document. I am calling this function from a trigger and would like to have the returned xml document (a clob) written to an OS file. Can anyone help me with this issue?