1. PREFACE 1.1. INTRODUCTION TO THE DH485 ROUTER This manual describes the installation, operation, and diagnostics of the Aparian DH485 Router. The DH485 Router provides intelligent data routing between EtherNet/IP and DH485 which can help simplify the migration from MicroLogix and SLC systems to ControlLogix or CompactLogix platforms, where a DH485 interface is required.
Preface 1.2. FEATURES The DH485 Router is able to transfer data from a DH485 device to a maximum of eight Logix controllers. The module operates in one of four modes, simplifying the configuration for all applications. Mode Description Message Initiator...
Router without affecting the existing and often costly wireless infrastructure. The DH485 Router in conjunction with the DF1 Router can be used to replace both 1761-NET- ENI and 1761-NET-AIC. The old network architecture used the NET-ENI and NET-AIC to allow the user to use Ethernet to connect to various SLC, PLC5, and MicroLogix controllers as shown below.
Page 7
Preface Figure 1.3. - Example of an old network setup The DH485 Router and DF1 Router allows the user to directly route the DF1 and DH485 networks to EtherNet/IP as shown below: Figure 1.4. - Example of a new network setup Document No.
1.4. ADDITIONAL INFORMATION The following documents contain additional information that can assist the user with the module installation and operation. Resource Link Slate Installation http://www.aparian.com/software/slate DH485 Router User Manual DH485 Router Datasheet http://www.aparian.com/products/dh485router Example Code & UDTs www.cisco.com/c/en/us/td/docs/video/cds/cde/cde205_220_420/installa Ethernet wiring standard tion/guide/cde205_220_420_hig/Connectors.html...
The Ethernet cable must be wired according to industry standards which can be found in the additional information section of this document. Figure 2.1. - DH485 Router side and bottom view The module provides three diagnostic LEDs as shown in the front view figure below. These LEDs are used to provide information regarding the module system operation, the Ethernet interface, and the auxiliary communication interface (RS485).
Page 10
Installation Figure 2.2. – DH485 Router front and top view The module provides four DIP switches at the top of the enclosure as shown in the top view figure above. DIP Switch Description DIP Switch 1 Used to force the module into “Safe Mode”. When in “Safe Mode” the module will not load the application firmware and will wait for new firmware to be downloaded.
Installation 2.2. MODULE MOUNTING The module provides a DIN rail clip to mount onto a 35mm DIN rail. Figure 2.3 - DIN rail specification The DIN rail clip is mounted on the bottom of the module at the back as shown in the figure below.
NOTE: When using a shielded cable, it is important that only one end of the shield is connected to earth to avoid current loops. It is recommended to connect the shield to the DH485 Router module, and not to the other DH485 device.
Installation 2.5. RS485 TERMINATION All RS485 networks need to be terminated at the extremities (start and end point) of the communication conductor. The termination is done by placing a resistor between the positive and negative communication conductor. The value of the resistor will depend on the characteristic impedance of the cable chosen, but generally ranges from 100 Ohm to 150 Ohm.
Setup 3. SETUP 3.1. INSTALL CONFIGURATION SOFTWARE All the network setup and configuration of the module is achieved by means of the Aparian Slate device configuration environment. This software can be downloaded from http://www.aparian.com/software/slate. Figure 3.1. - Aparian Slate Environment 3.2.
Page 15
Setup Once opened, the DHCP server will listen on all available network adapters for DHCP requests and display their corresponding MAC addresses. Figure 3.3. - DHCP Server NOTE: If the DHCP requests are not displayed in the DHCP Server it may be due to the local PC’s firewall.
Page 16
Setup The successful assignment of the IP address by the device is indicated by the green background of the associated row. Figure 3.5. - Successful IP address assignment It is possible to force the module back into DHCP mode by powering up the device with DIP switch 2 set to the On position.
Page 17
Setup Figure 3.7. - Selecting the Target Browser The Target Browser automatically scans the Ethernet network for EtherNet/IP devices. Figure 3.8. - Target Browser Right-clicking on a device, reveals the context menu, including the Port Configuration option. Figure 3.9. - Selecting Port Configuration All the relevant Ethernet port configuration parameters can be modified using the Port Configuration window.
Page 18
Setup Figure 3.10. - Port Configuration Alternatively, these parameters can be modified using Rockwell Automation’s RSLinx software. Document No. D120-007 Page 18 of 73 Revision 1.2...
A new device can now be added by selecting Add under the Device menu. Figure 3.12. - Adding a new device In the Add New Device window select the DH485 Router, and click the Ok button. Document No. D120-007 Page 19 of 73...
Page 20
Setup Figure 3.13 – Selecting a new DH485 Router The device will appear in the Project Explorer tree as shown below, and its configuration window opened. The device configuration window can be reopened by either double clicking the module in the Project Explorer tree or right-clicking the module and selecting Configuration.
Page 21
Setup Figure 3.14. – DH485 Router configuration Refer to the additional information section in this document for Slate’s installation and operation documentation. Document No. D120-007 Page 21 of 73 Revision 1.2...
Communication in this mode is initiated by the remote DH485 device. In Reactive Tag mode the module will automatically route the DH485 message and function to the correct Logix tag. In this mode the DH485 Router will map the DH485 request to the preconfigured tag.
Page 23
Limit is reached. Table 3.1 - General configuration parameters The general configuration is shown in the figure below. The DH485 general configuration window is opened by either double clicking on the module in the tree or right-clicking the module and selecting Configuration.
Page 24
The Reply timeout is used to determine when a reply has failed. Table 3.2 - Serial DH485 configuration parameters The serial DH485 configuration is shown in the figure below. The DH485 Serial configuration window is opened by either double clicking on the module in the tree or right-clicking the module and selecting Configuration.
Setup 3.5. MESSAGE ROUTING The module can be configured to route DH485 data in one of four modes. As mentioned in the DH485 parameter section in this document the four modes are: Transparent (PCCC) mode Reactive Tag mode ...
Page 26
Setup The module can emulate more than one destination DH485 Node Address, and thus route multiple messages to different Ethernet devices. For this reason it is important to enter the correct associate DH485 Node address in each mapping record. When using PCCC data messaging the connection class can be configured by selecting either Class 3 or Unconnected (UCMM) messaging.
Page 27
Description DH485 Node Address This parameter is one of the destination addresses that the DH485 Router will accept. When the DH485 message initiator sends a message to a specific DH485 node address that has been configured in the module, it will be accepted and routed to the paired Controller Path.
Page 28
Setup To enable RSlinx to scan the DH485 network the DH485 Router must be setup correctly. This is done by right-clicking on the DH485 Port in RSLinx and selecting properties. Figure 3.25 – Set DH485 network properties Next the user will need to set the scan range.
Page 29
Figure 3.27 – Set maximum concurrent packets Once this is done the user can select the DH485 Port on the DH485 Router and it will scan the DH485 network for devices. These devices can be selected from RSLogix 500 as target devices used for programming the SLC/MicroLogix controllers.
Page 30
DH485 addresses to Logix tags using RSLogix 5000. The DH485 message initiator (e.g. SLC Controller) will send a read or write request to a specific DH485 address on RS485. The user must configure the DH485 Router to route the message destined for a specific DH485 address to a Logix controller.
Page 31
Figure 3.31 – Example 2 – Transparent routing map – node 7 The second part of the transparent routing map setup is to map the DH485 request received by the Logix controller to a Logix tag. This must be done in Rockwell Automation’s RSLogix 5000.
Page 32
Setup read or write request is routed to the correct Logix tag. Below is an example of the RSLogix 5000 PLC5/SLC mapping. Figure 3.32 - Example of Mapping PLC/SLC Messages in RSLogix 5000 NOTE: It is the user’s responsibility to ensure that the Logix tag array datatype and size matches that of the DF1 File Number.
DH485 Router where in transparent mode, the DF1 File Number was routed to a tag by the Logix controller. In the Reactive Tag mode, the DH485 Router can operate completely independently from the Logix controller by directly reading and writing to Logix tags.
Page 34
A maximum number of 8 controller mapping entries can be added. The second part of the Reactive Tag mode is to configure the link between a DH485 node and File Number combination to a Logix tag. This will allow the DH485 message initiator to effectively write to, or read from, a Logix tag using traditional File Numbers (e.g.
Page 35
Setup Figure 3.36 – Reactive Tag Mapping The module can emulate more than one destination DH485 Node Address, and thus route multiple messages to different Logix controllers. For this reason it is important to enter the correct associate DH485 Node address in each mapping record.
Page 36
Setup Figure 3.37 – Tag Browser tag selection The two figure below is an example of how DH485 messages are routed to the Logix tags using the Reactive Tag Map mode. NOTE: It is the user’s responsibility to ensure that the Logix tag array datatype and size matches that of the DF1 File Number.
Logix controllers. Unlike the Transparent and Reactive tag mode, the DH485 Router when in the Scheduled Tag mode initiates the messaging. In this mode the DH485 Router transfers data between a Logix controller and a DH485 device without any configuration or programming required in either the DH485 device or the Logix controller.
Page 38
The interval must be between 200 milliseconds and 60 seconds. The third part of the Scheduled Tag mode setup is to configure the link between a DH485 node and File Number combination to a Logix tag, and the associated action and scan required.
Page 39
Baud rate and message size. The Device Type field specifies the type of message that will be sent to the DH485 device. There are two options, PLC5 and SLC. The latter should be selected when using a MicroLogix device.
Page 40
Setup The Target Tag can be either entered manually or selected using the Tag Browser in Slate. The Tag Browser requires the controller to be available on the network. To browse to the tag, click on the Browse button. The Tag Browser will open and scan all the tags inside that controller.
Logix. 3.6. MODULE DOWNLOAD Once the DH485 configuration has been completed, it must be downloaded to the module. Before downloading the Connection Path of the module should be set. This path will automatically default to the IP address of the module, as set in the module configuration. It can however be modified, if the DH485 Router is not on a local network.
Page 42
Setup Figure 3.45 - Connection Path To initiate the download, right-click on the module and select the Download option. Figure 3.46 - Selecting Download Once complete, the user will be notified that the download was successful. Figure 3.47 - Successful download During the download process the module’s time will be compared to that of the PC’s time.
Page 43
Setup Figure 3.48 - Setting module time The module time is used only for the event log. Within the Slate environment the module will be in the Online state, indicated by the green circle around the module. The module is now configured and will start operating immediately. Figure 3.49 - Module online Document No.
The module can operate in both a Logix “owned” and standalone mode. When the module operates in a Logix “owned” mode the DH485 Router will need to be added to the RSLogix 5000 IO tree. The module will need to be added as a generic Ethernet module. This is done by right clicking on the Ethernet Bridge in the RSLogix 5000 and selecting New Module after which the ETHERNET-MODULE is selected to be added as shown in the figure below.
Page 45
Setup Figure 3.51 - RSLogix General module properties in RSLogix 5000 NOTE: The user will need to enter the exact connection parameters before the module will establish a class 1 connection with the Logix controller. Next the user needs to add the connection requested packet interval (RPI). This is the rate at which the input and output assemblies are exchanged.
Setup Figure 3.52 - Connection module properties in RSLogix 5000 Once the module has been added to the RSLogix 5000 IO tree the user must assign the User Defined Types (UDTs) to the input and output assemblies. The user can import the required UDTs by right-clicking on User-Defined sub-folder in the Data Types folder of the IO tree and selecting Import Data Type.
Page 47
Setup Figure 3.54 - RSLogix 5000 Importing DH485Router specific routine and UDTs Figure 3.55 - Selecting partial import file Document No. D120-007 Page 47 of 73 Revision 1.2...
Page 48
An example Unscheduled Message instruction with the associated Tags The user may need to change the routine to map to the correct DH485 Router module instance name, and make sure that the mapping routine is called by the Program’s Main Routine.
When the module has been correctly setup the DH485 message initiator will send a read/write to a certain DH485 address which will then be routed to a Logix tag. The messages send by the initiator must be completed with the correct data for successful operation. There are various indicators to determine if the mapping is routing the DH485 messages correctly.
The following parameters are used in the input assembly of the module. Parameter Datatype Description Instance STRING This parameter is the instance name of the module that was configured under the general DH485 configuration in Slate. Document No. D120-007 Page 50 of 73 Revision 1.2...
Page 51
Each bit represents the status of the last scheduled transaction for that specific map item. A true value indicates success. TransactionRate DINT The transaction rate is the number of DH485 messages per second that the module is currently routing. DeviceTemperature REAL The internal temperature of the module.
When set, no DH485 messages will be routed. This may be required in applications running a redundant DH485 network where one of the DH485 Routers is to run in a hot-standby mode. Table 4.2 - RSLogix 5000 output assembly parameters Document No.
Operation 4.3. UNSCHEDULED MESSAGING When the DH485 Router is configured in Unscheduled Mode, it will process DH485 message requests sent from Logix via a message instruction. To simplify the configuration of the required, message several UDTs have been preconfigured, and are available on the Aparian DH485Router webpage.
Page 54
Figure 4.4. - Messsage Configuration - Communication The Path must be configured to that of the DH485 Router. If the DH485 Router has been added in the I/O tree, then the Browse option can be used to select the path.
Page 55
The request tag (e.g. DH485RMsgrequest) should be configures as follows : Figure 4.5. - Unscheduled Message Request Tag Parameter Description Destination Node The DH485 node address of the destination device. Data File Address A string representing the Data File Address of the destination DH485 device. E.g. N10:0 Function...
Page 56
Status The status returned by the destination DH485 device. A value of zero indicates success. Response Length The number of bytes returned by the destination DH485 device. Response Data The data response from the destination DH485 device expressed as an INT array.
If the LED is green then the module has booted and is running correctly. Activity The activity LED is used for the RS232 serial port. Thus every time a successful DH485 packet was received the LED will toggle green. The LED will toggle red if a corrupted packet was received (eg.
Diagnostics 5.2. MODULE STATUS MONITORING IN SLATE The DH485 Router can provide a range of statistics which can assist with module operation, maintenance, and fault finding. The statistics can be accessed in full by Slate or using the web server in the module.
Page 59
Diagnostics Figure 5.3. - Selecting online Status The Status monitoring window can be opened by either double-clicking on the Status item in the Project Explorer tree, or by right-clicking on the module and selecting Status. The status window contains multiple tabs to display the current status of the module. Figure 5.4.
Page 60
The routing operation can be inhibited in the output assembly of the module. Transaction Rate The transaction rate is the number of DH485 messages per second that the module is currently routing. Up Time Indicates the elapsed time since the module was powered-up.
Page 61
Figure 5.5. - Status monitoring - Nodes This tab will display all the active nodes on the DH485 network. When the node address is followed by Own it indicates that the active node on the network is the node configured on the local DH485 Router.
Page 62
The number of corrupted DH485 packets received by the module. STX count The number of DH485 STX (Start of Text) delimiters received by the module. SOH count The number of DH485 SOH (Start of Header) delimiters received by the module.
Page 63
This may be caused by the External Access property of the Logix tag being set to either None or Read Only. Tag Reads The number of tag read transactions executed by the DH485 Router module. Tag Writes The number of tag write transactions executed by the DH485 Router module.
The module provides the capability to capture the DH485 traffic for analysis. The will allow the user and the support team to resolve any possible issue on site. To invoke the capture of the module, double-click on the DH485 Packet Capture item in the Project Explorer tree.
Page 65
20 packets in the capture that were received / sent before the capture was initiated. Figure 5.9 - DH485 packet capture To display the captured DH485 packets, the capture process must first be stopped, by pressing the Stop button. Figure 5.10. - DH485 Packet Capture complete...
Page 66
The packet capture can be saved to a file for further analysis, by selecting the Save button on the toolbar. Previously saved DH485 Packet Capture files can be viewed by selecting the DH485 Packet Capture Viewer option in the tools menu.
Diagnostics 5.4. MODULE EVENT LOG The DH485 Router module logs various diagnostic records to an internal event log. These logs are stored in non-volatile memory and can be displayed using Slate or via the web interface. To vie them in Slate, select the Event Viewer option in the Project Explorer tree.
To view previously saved files, use the Event Log Viewer option under the tools menu. 5.5. WEB SERVER The DH485 Router provides a web server allowing a user without Slate or RSLogix 5000 to view various diagnostics of the module. This includes Ethernet parameters, system event log, advanced diagnostics, and application diagnostics (DH485 diagnostics).
Page 69
Diagnostics Figure 5.14. - Web interface Document No. D120-007 Page 69 of 73 Revision 1.2...
6.1. DIMENSIONS Below are the enclosure dimensions as well as the required DIN rail dimensions. All dimensions are in millimetres. Figure 6.1 - DH485 Router enclosure dimensions Figure 6.2 - Required DIN dimensions Document No. D120-007 Page 70 of 73...
Need help?
Do you have a question about the DH485 and is the answer not in the manual?
Questions and answers