![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]()
|
New Here? Please read this important info!!!
![]() |
#1 |
Member
![]() ![]() Join Date: Jul 2017
Location: USA
Posts: 38
|
DPDT switch as data switch?
I have a RS485 modbus network. I'm looking at an HMI and a modem as a masters, and I have a proprietary board as a slave.
Obviously we can't have 2 masters on the same network. So I was thinking of using a DPDT switch to switch between masters. RS485 is 2 wires, so have NO wired to 1 master, and the NC wired to the 2nd? Thoughts? |
![]() |
![]() |
#2 |
Member
|
Theoretically this it is possible. The system is not usually designed for two masters unless using Modbus TCP (Ethernet). You will have to stop the master that is not communicating to the slave. This may be hard to do.
Can the HMI or Modem be a slave as well? Can your proprietary board have another Modbus communication port? (Set up another network) Regards,
__________________
Garry https://www.accautomation.ca Connect with us on Facebook: facebook.com/accautomation/ |
![]() |
![]() |
#3 |
Member
![]() ![]() Join Date: Jul 2012
Location: IN
Posts: 548
|
I've done this before, it worked intermittently until the relay got a little oxidation. I went to a port switcher:
https://www.blackbox.com/en-us/store...ontact/SW1047A |
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Oct 2007
Location: Tennessee
Posts: 2,316
|
it will work intermittently, if at all.
the switch contacts will bounce (chatter) as they close and will create issues. james |
![]() |
![]() |
#5 | |
Member
![]() ![]() Join Date: Jul 2017
Location: USA
Posts: 38
|
Quote:
![]() |
|
![]() |
![]() |
#6 |
Member
![]() ![]() Join Date: Jul 2017
Location: USA
Posts: 38
|
|
![]() |
![]() |
#7 | |
Lifetime Supporting Member
|
Quote:
You could try it, but leakage may be an issue with solid state. Let us know if you do.
__________________
Mickey If you want happiness for an hour-take a nap. If you want happiness for a day-go fishing. If you want happiness for a month-getmarried. If you want happiness for a year-inherit a fortune. If you want happiness for a lifetime-help someone else. ----- Chinese Proverb |
|
![]() |
![]() |
#8 |
Lifetime Supporting Member
![]() ![]() Join Date: Mar 2012
Location: Alberta
Posts: 893
|
In this situation I typically use an arbitrator (google scadalink ip100 for example) or an intermediate device (such as a scadapack) that polls the device and then the hosts poll it.
__________________
Dan Wiebe ----------------- Automation Manager Phoenix Energy Services |
![]() |
![]() |
#9 |
Lifetime Supporting Member
![]() ![]() Join Date: Jul 2009
Location: Escuminac
Posts: 641
|
I've had success using DTDT relays to do exactly what you're wanting to do. I had only several devices that could only be on RS-232. Depending on how fast you need the data, it should work just fine
__________________
"If you can't measure it, you can't manage it!" |
![]() |
![]() |
#10 |
Lifetime Supporting Member
|
Use bifurcated gold plated contacts and it will probably work well. If you switch the relay mid-message you might get an error, but most devices will handle that fine and resume normal functioning.
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants. |
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hirschmann Switch + 22COMM-E = No Communication | Steve Etter | LIVE PLC Questions And Answers | 22 | July 20th, 2012 01:19 AM |
PLC5 Rack As RIO For ControlLogix | tgoulding | LIVE PLC Questions And Answers | 38 | May 17th, 2011 04:55 PM |
PLC that uses labview as language | umlphysics | LIVE PLC Questions And Answers | 5 | September 15th, 2009 01:14 PM |
Confused "again" S7 indirect | Thim | LIVE PLC Questions And Answers | 17 | July 22nd, 2008 05:47 PM |
Copy UDT data to tempory data | Werner | LIVE PLC Questions And Answers | 20 | November 16th, 2006 09:42 AM |