Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. RS232 vs RS422

RS232 vs RS422

Scheduled Pinned Locked Moved C / C++ / MFC
questionvisual-studiohelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peter ho
    wrote on last edited by
    #1

    Can someone help me with the RS422 programing? I have a device that can be controlled via RS232 or RS422. I can write a program to control this device in RS232 mode. My question is, does this program still work if I switch the device to RS422 mode? What do I need to do to make this program work in RS422 mode? Do I need a RS232 - RS422 converter? thanks,peter.

    T 1 Reply Last reply
    0
    • P peter ho

      Can someone help me with the RS422 programing? I have a device that can be controlled via RS232 or RS422. I can write a program to control this device in RS232 mode. My question is, does this program still work if I switch the device to RS422 mode? What do I need to do to make this program work in RS422 mode? Do I need a RS232 - RS422 converter? thanks,peter.

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #2

      Yes, you would need a RS232-RS422 converter. Other than that, you won't have to change your software. Except... I can never remember if it is the RS422 or the RS485 converter that might use a control signal to know when it send or receive data. Your flow control settings should hand this without problem (CTS/RTS or DSR/DTR). However, this is usually important only for multi-drop system. If you want your RS232 application to support RS422 and RS485, just make sure you support both your hardware flow control settings. In 8 years of process control with our product, we have never run into a RS422 or RS485 issue. FYI: For distance applications or high noise, RS422 is much better. You will find it commonly used in any type of hostile environment. Tim Smith I'm going to patent thought. I have yet to see any prior art.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups