The information in this topic is common to all Unitronics' controllers networked via RS485. Note that before you carry out any tasks associated with wiring, you must read and fully understand the safety guidelines.
RS485 is a balanced serial interface for the transmission of digital data, which enables you to create a multi-drop network containing up to 32 devices, or nodes
RS485 gives you 2 main advantages over RS232: longer cable lengths and greater immunity to noise. In comparison to RS232, RS485 uses lower voltage and differential signals. RS485 uses a differential voltage loop interface (balanced differential signal); differential data transmission reduces the effects of ground shifts and induced noise signals, even in an electrically noisy environment. The system is based on balanced circuits that rely on twisted-pair wires (A & B). Thus, the data conversion of logical 0 and 1 is made by converting the polarity of the two wires by reference to each other, instead of changing polarity of a single wire by reference to the "SG" (Signal Ground).
The noise immunity results from the fact that, when electromagnetic noise is induced over the differential signals, the same noise is induced on both signals. When the receiver subtracts the differential signals, the result is noise compensation.
The same 2 wires are used for transmitting and receiving; therefore, within RS485 networks, only one device can transmit while all of the other devices 'listen' (receive).
Unitronics' controllers offer different options for networking via RS485, according to the network series.
The network topology is multi-drop bus. Every RS485 network includes 2 types of nodes; node refers to every device that is physically connected to the network.
End Nodes: The devices attached at both physical ends of the network, containing a network terminator.
In-line Node: All devices connected to the network that are not end nodes.
To enable a rapid rate of communication over relatively long distances, the wires function as transmission lines. For this reason, the end nodes of the network must contain network terminators for the purpose of impedance matching. The method for setting network terminators is described individually for each device.
Use shielded twisted pair (STP) cables to network devices. Recommended cables types are:
Twinax cable, type H8106 • Control cable, type due 4001 (0.5mm2 , twisted pair)
Twinax cable, type H3094 • Control cable, type V45551-F21-B5 (1.5mm2 , twisted pair)
The combined total length of all network cables cannot exceed 1219 meters, as shown below.
With the exception of the M90-19-R4, the RS485 signals are NOT isolated. If the controller is used with a non-isolated external device, avoid potential voltage that exceeds ± 10V. To avoid severely damaging the system, all non-isolated device ports should relate to the same 0Vsignal.
Minimize the stub (drop) length leading from each device to the bus. The stub should not exceed 5 centimeters. Ideally, the main cable must be run in and out of the networked device as shown below. The connectors MJ10-22-CS66 (V120 and M91 series) and MJ10-22-CS65 (V2xxx series), shown below, enable this to be easily accomplished.
Do not cross positive (A) and negative (B) signals. Positive terminals must be wired to positive, and negative terminals to negative.
You must create network termination points by using the two end point devices integrated into your network. The method of creating termination points varies according to the controller series.
RS485 is implemented differently in Unitronics' controllers, according to model type. These options are summarized below.
Vision controllers are programmed using VisiLogic software. When Vision controllers are networked via RS485, the COM ports must be initialized to the RS485 standard.
In addition, you must assign a unique Unit ID number to each controller, as explained in the Help topic: Assigning a Unit ID number. Note that there is a range of ID numbers reserved for RS485, numbers 64-127.
RS485 ports are available by separate order and easily installed.
Installation instructions are provided together with the module when it is ordered separately. The connector type is RJ-45. RS485 termination settings are determined via jumper.
Network Termination Settings
The jumper settings shown above determine whether the controller can function as an end device in a RS485 network. Note that the factory default setting is YES. If the OPLC is not a network end device, set both jumpers to NO.
To open the controller in order to access the module and change the jumper settings, follow the relevant instructions listed below.
|
|
|
|
|
Offers 2 serial communication ports. Each port can be adapted to either the RS232 or RS485 standard, via jumpers located within the controller and VisiLogic software settings. Note that the ports are not isolated. The connector type is RJ-11. RS485 termination settings are determined via jumper.
An M91 that contains an RS485/RS232port has a part number that includes the number '4', for example: M91-19-4UN2.
RS485 is via an RJ-11-type serial communication
port. Each port can be adapted to either the RS232 or RS485
standard, via jumpers located within the controller. The
M91 is programmed using U90 Ladder software.
The port mode is determined by SI 64, Set COM Port Mode, as described
in the U90 Ladder help topic: COM Port Mode: RS232/RS485 (M91
only).
Note that the port is not isolated. RS485 termination settings are determined via jumper.
The information below applies to both Vision 120 and M91 series controllers. The controllers in these series offer RJ-11-type serial communication ports. Each port can be adapted to either the RS232 or RS485 standard, via jumpers located within the controller. In the case of the Vision 120, appropriate VisiLogic program settings are also required.
RJ-11 type port
The pinout below is of the RJ-11 type port, when the port is used for RS485.
Note ♦ |
When a port is set to RS485, both RS232 and RS485 can be used simultaneously if flow control signals DTR and DSR are not used. |
Note |
The ports are not isolated. If
the controller is used with a non-isolated external device,
avoid potential voltage that exceeds ± 10V. |
Use the jumper settings shown below to change the functionality of the controller's COM port.
To open the controller and access the jumpers, refer to the instructions below.
The jumper settings shown below determine whether the controller can function as an end device in a RS485 network. Note that the factory default setting is ON. If the OPLC is not a network end device, set both jumpers to OFF.
Note |
|
|
|
|
|
|
|
|
These controllers are programmed via U90 Ladder.
RS485 communications are enabled via an external RS232/RS485 converter, such as Unitronics' M90-19-R4, which can be connected to the controller's RS232 port. No U90 Ladder software settings are required.
The M90-19-R4 RS485 port is isolated.
Note that since the M90-19-R4 is an external converter, it is also compatible with other devices, such as PCs.
Jazz controllers do not comprise integral COM ports. Ports may be added via Add-on Port modules.
The MJ20 RS, available by separate order as part of the JZ-RS4 kit,-enables Jazz OPLC™ networking and serial communications, including program download. The module comprises:
A single communication channel that serves one RS232 port and one RS485 port. The module cannot communicate via RS232 and RS485 simultaneously.
Switches that enable you to set the device as an RS485 network termination point.
Note that the ports are isolated from the Jazz OPLC.
In order to switch between RS232 and RS485, you must use Special Function 310, as explained in the topic Change COM Port Parameters.
Note that in order to implement MODBUS via RS485, you must first configure MODBUS, and then initialize the Jazz port to RS485 as explained in the topic Change COM Port Parameters.
Jazz MJ20 RS Settings |
|||
RS485 connector signals |
|||
A |
Positive signal |
||
B |
Negative signal |
||
|
|
||
Network Termination |
|||
MJ20-RS comprises 2 switches. |
|||
ON |
Termination ON |
||
OFF |
Termination
OFF |
||
Note that you must move both switches in order to set the desired state. |
|||
|
|
||
Network Structure |
|||
|
|||
|
|
|
|
Complete specification for the M90-19-R4, which converts serial data from the RS232 standard to either RS422 or RS485, is located on the Setup CD. It is also available from your local Unitronics distributor. This module is recommended for use with M90 controllers and other devices.
This information is intended to aid trained and competent personnel in the installation of this equipment as defined by the European directives for machinery, low voltage, and EMC. Only a technician or engineer trained in the local and national electrical standards should perform tasks associated with the device’s electrical wiring.
Before using a Unitronics' product, it is the responsibility of the user to read and understand this document and any accompanying documentation.
Symbols are used to highlight information relating to the user’s personal safety and equipment protection throughout this document. When these symbols appear, the associated information must be read carefully and understood fully.
Under no circumstances will Unitronics be liable or responsible for any consequential damage that may arise as a result of installation or use of equipment, and is not responsible for problems resulting from improper or irresponsible use of Unitronics devices.
All examples and diagrams shown are intended to aid understanding. They do not guarantee operation.
Unitronics accepts no responsibility for actual use of a product based on these examples.
Only qualified service personnel should open a device or carry out repairs.
Please dispose of this product in accordance with local and national standards and regulations.
|
|
Note |
|