Hello,
Thank you for all your replies.
Galvanic isolation is not essential but would be a nice bonus if the cost was low enough but that seems out of the question from what I have seen. Each node runs of the mains with its own PSU and power etc. It would be nice to isolate each node from the other but not required (
).
I like the idea of a RS485 solution as I have worked on this in the past so 'should' be straight forward.
However, this has now changed slightly as I now longer need a switch box to control it but maybe a small powered box with two inputs, (Two pins each), which when shorted will will give me the 4 options I need. These can then be controlled by another automated system relay contacts to make the selection. This part has not yet been decided and may be from a PLC. OR, any other input method for selection could be considered.
As to the protocol, I could use ModBus but then that's an overkill as I only need to send four different commands only and can be simplex without any reply etc, but with some error checking or CEC / LRC. The control box could always send the command once every 60 seconds so if the data was corrupted then it would auto update every 60 seconds.
I was looking at THVD1429DT, which is a low cost transceiver but also has surge and transient protection built in and as you stated, using a screened twisted pair cable will offer added protection. With regard to the 120 Ohm terminator resistors I was looking at two 60 Ohms in series with the centre tap to ground via a small cap which will make a low pass filter adding more noise protection.
With regard to the number of nodes, I could have potentially up to 256 (Or 247) nodes on one control box (Changed from before), but at this is not know yet. And as the commands would need to be sent to all nodes, I could have the same address for each node so its like a 'broadcast address' and as each node does not need to send back data this would be a bonus maybe, as I would not need a method of knowing or setting each address and adding it to the control box. Nice and easy! Just add each node without worrying about addresses.
What would be nice to find is a small low cost off the shelf box with a few inputs that would simply send out a RS485 command (Maybe broadcast modbus command). Then I would not have to worry about making the control boxes. But I can't seem to find anything. Maybe up to £50 for a ready built module (Din Rail mount??). Seems maybe some sort of PLC I/O or something perhaps.
With regard to 0-10V selection or a 2 - 20mA loop etc It looks like I would have to sort out my own solution rather than a chip ready solution as with RS485 for the actual interface.
As with Large 4 foot levers for switches etc, that would be fantastic if I could get away with it, bw like going back to the old days......
One question I have is that in theory RS485 should work up to 256 nodes up to 1200m at very low speed, but how reliable would this be. I cannot test it until all nodes etc are built. Then it might be too late. I can test a few maybe knocked together but not 50 or 100+ for testing over long cables???
Thanks again, and please let me know if you have any more ideas.
Sorry to waffle on about all this....
John