RS-485 communication bus
Absolute encoders connects to the URC using a RS-485 "multidrop serial bus". The RS-485 bus basically consists of three wires, Ground and the two signal wires, "A" and "B". The RS-485 bus allows you to connect multiple devices (Slaves) together (in the case of URC, two encoders) and communicate with these from a "master" device. In this setup, the URC is the Master device and the absolute encoder(s) are the Slave(s). Due to the electrical properties of the RS-485 bus, it is possible to extend the RS-485 to very long distances, depending on the baud-rate used for communication (100's of meters are possible). It can be a good idea to use shielded cables for the encoders (connect the shield to ground at one end only, usually at the URC end).
The URC has a connector on the back labelled "RS-485". This is a four pin connector, it carries the ground, "A", "B" and +12V signals. The +12V signal can be used to power the absolute encoders, max allowed current draw is 300 mA (internally fused).
The protocol used for "talking" with the absolute encoders are the modbus protocol. Where RS-485 is the electrical interface, modbus is the "language" the encoders and URC uses to talk with each other over the RS-485 bus.
In order for the devices on the RS-485 to be able to communicate, two things needs to be set correctly:
- The baud rate, use the same baud rate on both encoders and URC. Default baud rate on URC is 38400 baud.
- The configured modbus address on the encoders, for an encoder used for elevation, the address needs to be 2, for azimuth encoder the address needs to be set to 1.
These parameters can be set from the manufactures own software application, and it is important that this is set correctly, otherwise the URC will not be able to communicate with the encoders!
There is one VERY IMPORTANT thing to remember about a RS-485 communication bus, and that is the need for ONE termination resistors at EACH END of the bus! These termination resistors are needed in order to avoid reflections from the bus. A termination resistor is simply a 120 Ohm resistor that is connected between the "A" and "B" signal wires of the RS-485 bus. You need to mount ONE AND ONLY ONE termination resistor at each END of the cable!
As the URC Rotor controller sits at one end of the (long) RS-485 cable, it already has a 120 ohm termination resistor mounted, so nothing is needed in that end.
However, at the "far end of the cable", where the encoder(s) are placed, you will need to mount a termination resistor between the "A" and "B" signal wires on the RS-485 bus (unless the encoder already has that built in!). Remember, if you two absolute encoders connected to the bus, ONLY to mount ONE termination resistor at the encoders!
If you use the "MOD-URC" encoder interfaces, there is a dip switch on these that can enable/disable a built-in termination resistor. If using two MOD-URC modules, remember to ONLY enable the termination resistor on ONE of the connected modules!
In case of excessive communication errors with the absolute encoder(s), the system will go into stop mode and a message will be shown on screen. If you press "Cancel", no new error will be shown until communication is established again. If you press "OK", errors will show again if still no communication.