PCAN-Ethernet Gateway DR CAN to LAN Gateway in DIN rail plastic casing User Manual Document version 1.3.1 (2014-07-25)
Page 2
PCAN-Ethernet Gateway DR – User Manual Products taken into account Product Name Model Part Number PCAN-Ethernet Gateway DR Industry IPEH-004010 All product names mentioned in this document may be the trademarks or registered trademarks of their respective companies. They are not explicitly marked by „™“and „®“.
PCAN-Ethernet Gateway DR – User Manual Contents Introduction Properties at a Glance Prerequisites for Operation Scope of Supply Connectors CAN1/CAN2 RS-232 Power Supply Putting into Operation First Connection to the PCAN-Gateway 3.1.1 Preparing the Computer 3.1.2 Establishing the Connection Basic Configuration 3.2.1...
Page 4
PCAN-Ethernet Gateway DR – User Manual Status Routing 5.3.1 Manage Routes 5.3.2 Add Route 5.3.3 Scan for Devices Network 5.4.1 5.4.2 Device 5.5.1 Device Configuration 5.5.2 User Management 5.5.3 Software Update Help Support Application Examples Unidirectional Data Transmission Bidirectional Data Transmission...
PCAN-Ethernet Gateway DR – User Manual Introduction The PCAN-Ethernet Gateway DR allows the connection of different CAN busses over IP networks. CAN frames are wrapped in TCP or UDP message packets and then forwarded via the IP network from one device to another.
PCAN-Ethernet Gateway DR – User Manual Plastic casing (width: 22.5 mm) for mounting on a DIN rail (DIN-EN 60715 TH35) LEDs for device status and power supply Voltage supply from 8 to 30 V Extended operating temperature range from -40 to 85 °C (-40 to 185 °F)
PCAN-Ethernet Gateway DR – User Manual Scope of Supply PCAN-Ethernet Gateway DR in DIN rail plastic casing Mating connectors (Phoenix, Type: MSTB 2,5/4-ST BK) for both CAN channels, RS-232, and power supply RJ-45 network patch cord (2 m) Manual in PDF format...
PCAN-Ethernet Gateway DR – User Manual Connectors Figure 1: Position of the connectors CAN1/CAN2 The CAN connectors are located on the upper side of the casing. Function CAN-High CAN-Low CAN-GND Figure 2: Pin assignment CAN-Shield CAN connector 1 + 2...
PCAN-Ethernet Gateway DR – User Manual The RJ-45 connector for connecting to a LAN network is centered on the front of the casing. Function Figure 3: Pin assignment not connected RJ-45 connector not connected not connected not connected RS-232 The RS-232 connector is located on the lower side of the casing.
PCAN-Ethernet Gateway DR – User Manual Power Supply The connection for the power supply is located on the lower side of the casing. Function not connected Vbat (8 - 30 V) Figure 5: Pin assignment Shield (top hat rail potential)
PCAN-Ethernet Gateway DR – User Manual Putting into Operation The PCAN-Ethernet Gateway DR is configured via a web interface. Therefore, the module must be connected via LAN to a computer, located in the same logical network as your gateway (192.168.1.xxx).
PCAN-Ethernet Gateway DR – User Manual Windows XP: Select from the list This connection uses the following items > Internet Protocol (TCP/IP) Windows 8.1, 7, Vista: Select from the list This connection uses the following items > Internet Protocol Version 4 (TCP/IPv4).
Page 13
Enter. The restricted area appears and you can start setting up the PCAN-Ethernet Gateway DR. You can find a description of the basic configurations in the following section 3.2. Note: Afterwards reset the computers IP address to the...
PCAN-Ethernet Gateway DR – User Manual Basic Configuration Change your login data first and then set up the PCAN-Gateway connection to the LAN network. 3.2.1 Change Login Data Open the page Device > User Management. Change the login data on this page. Create a new username and a new password.
PCAN-Ethernet Gateway DR – User Manual 3.2.3 Connecting to a LAN Network Accommodate the IP address data of the PCAN-Gateway to the future LAN network. Open the page Network > LAN. Automatic Address Assignment via DHCP If the future LAN network uses DHCP (Dynamic Host Configuration Protocol), the PCAN-Gateway IP address and Subnet mask are assigned automatically.
Page 16
PCAN-Ethernet Gateway DR – User Manual Manual Address Assignment If the LAN network does not provide DHCP, enter the address data that the PCAN-Gateway should use in the LAN network at the bottom of the page: IP address and Subnet mask.
PCAN-Ethernet Gateway DR – User Manual Installing the Gateway Do the following to connect the PCAN-Ethernet Gateway DR to an IP network (Ethernet): Mount the PCAN-Ethernet Gateway DR at the appropriate position on the DIN rail by placing it at the top of the rail and snapping it to the bottom.
PCAN-Ethernet Gateway DR – User Manual Operation Figure 7: Front side with LEDs and Reset button Status LEDs The PCAN-Ethernet Gateway DR has two status LEDs and two LAN LEDs that represent the following conditions: LEDs Status Condition Status Green...
PCAN-Ethernet Gateway DR – User Manual Reset Button If the PCAN-Ethernet Gateway DR is no longer available due to an incorrect configuration, the device can be reset to factory defaults using the Reset button. To perform a reset, press with a paper clip for example into the small hole on the front side of the casing.
PCAN-Ethernet Gateway DR – User Manual Configuration Figure 8: Configuration Website The configuration of the device is done via a comfortable web interface. Enter the IP address of your PCAN-Gateway into the address bar of your browser. Afterwards the configuration website opens. Besides providing a...
Page 21
PCAN-Ethernet Gateway DR – User Manual Enter your username and password, then press Enter . After logging in you will have access to the 5 main areas of the website: Status, Routing, Network, Device, and Support. Note: For full functionality and an optimal representation of the...
PCAN-Ethernet Gateway DR – User Manual Structure of the Website 5.1.1 Header The header area of the website displays the product name, as well as a user defined name and description that can be set on the Device > Configuration page.
PCAN-Ethernet Gateway DR – User Manual Status LED On: The status LED on the device will light up for approximately 10 seconds. This function can be used to identify the device Reboot Device: Use this link to restart the device. During this...
PCAN-Ethernet Gateway DR – User Manual Status Status On the page the current device configuration is displayed. Device Information: In this box the product name, the order number, and the serial number of the device are displayed. This information can be used to uniquely identify the device.
Detected Devices: This table shows all PEAK-System gateways that were detected during the last network broadcast scan. If no other devices are currently in the network or no scan has been performed, this table will not be shown.
PCAN-Ethernet Gateway DR – User Manual Note: When changing the network topology, the list is not updated automatically. If a device is removed from the network, it will remain visible in the list of detected devices until the scan is performed again and the list is updated.
Page 27
PCAN-Ethernet Gateway DR – User Manual Protocol: Routes can use TCP or UDP as the transmission protocol in the IP network. TCP (Transmission Control Protocol) establishes a connection between two subscribers and monitors their communication. If data packets are lost for example, they are retransmitted.
PCAN-Ethernet Gateway DR – User Manual Additional information: Device> User Management In Expert mode (see chapter 5.5.2 ) each route is provided with additional information about its connection and data transfer status. This additional information can be viewed by clicking on the triangle icon located on the right edge of the route.
Page 29
PCAN-Ethernet Gateway DR – User Manual Routing > Scan for Devices destination of the route. On the page you can search for other PCAN-Gateways in the network. Status: Use this setting to determine the state of the route after it is created.
Page 30
PCAN-Ethernet Gateway DR – User Manual IP Address: Enter the IP address (IPv4) of the destination device. It should be noted that only values from 0 to 255 may be used and certain address ranges are reserved. In the first field, enter a value less than 224, since addresses...
Page 31
PCAN-Ethernet Gateway DR – User Manual Frames per Packet: This value specifies how many CAN frames are transmitted per IP packet. The higher the value, the greater the delay in the transmission of CAN messages. However, the demand on performance is lower in this case. This selection is only available for Send routes when using the UDP protocol.
Detected Devices: This table shows all PEAK-System gateways that were detected during the last network broadcast scan. If no other devices are currently in the network or no scan has been performed, this table will not be shown.
PCAN-Ethernet Gateway DR – User Manual Network Network page provides information about the current configu- ration of available communication interfaces. CAN Interfaces: For each CAN channel the status, the bit rate, and the setting of the Listen-Only-Mode are displayed. Network > CAN The CAN interfaces can be configured on the page.
Page 34
PCAN-Ethernet Gateway DR – User Manual Status: The LED indicates the state of the CAN channel. Status Meaning Active The channel is active and functional. Inactive The channel is inactive. Error Active Errors were detected on the BUS. The CAN controller’s error count is lower than 128.
Page 35
PCAN-Ethernet Gateway DR – User Manual CAN Channel Configuration: Each channel is handled and configured by a separate form. Settings can be saved by clicking the Save Settings button located underneath the form. Activate/Deactivate: (Expert mode only) Use the Checkbox to activate or deactivate the CAN channel.
Page 36
PCAN-Ethernet Gateway DR – User Manual Configuring Custom Bit Rates In Expert mode, you can create a custom bit rate and configure the Custom Bit Rate sample point. Via the checkbox, the necessary input fields for entering the register values of the CAN controller are displayed.
PCAN-Ethernet Gateway DR – User Manual sum must be at least 4. Time Segment 2 is defined by Phase Segment 2. Figure 9: Bit Timing Note: When entering values for the resulting bit rate the result is automatically calculated in real time. If the values are incorrect, or the calculated bit rate is beyond the limits of the CAN transceiver (5 kbit/s to 1 Mbit/s), the data can not be saved.
Page 38
PCAN-Ethernet Gateway DR – User Manual LAN Interface In this box the settings of the LAN interface will be displayed. IP address, Subnet mask, and gateway are adjustable. The MAC address cannot be changed. Each device receives a unique MAC address during the manufacturing process, which can be used to identify it.
Page 39
PCAN-Ethernet Gateway DR – User Manual 255.255.255.0 and the network address 192.168.1.xxx, the reserved address would be: 192.168.1.255 Depending on the Subnet mask the lowest device address is reserved for messages that are addressed to the entire network. For the Subnet mask 255.255.255.0 and the network address 192.168.1.xxx, the reserved address would be: 192.168.1.0...
PCAN-Ethernet Gateway DR – User Manual Device Device page displays detailed information about your PCAN- Gateway. General Product Information: In this area, the product name, order number, and the serial number of the device are displayed. This information can be used to uniquely identify the device.
PCAN-Ethernet Gateway DR – User Manual 5.5.1 Device Configuration Device > Configuration On the page it is possible to assign the device a custom name and description. In addition to that, different import and export options are available. Custom Device Name and Description: Use this form to assign a name and description to the PCAN- Gateway.
Page 42
PCAN-Ethernet Gateway DR – User Manual Use the button on the left side to select a configuration file (*. ini). To start the restoration process, click the Import button located to the right. Note: If you import a configuration file from another PCAN- Gateway device that is in the same network, its IP address will also be imported and loaded.
PCAN-Ethernet Gateway DR – User Manual 5.5.2 User Management Device > User Management page provides options for entering new login credentials, changing and defining the display mode, and determining what information should be visible on the login page. Login Settings: Enter your current login details in the upper part of the form.
Page 44
PCAN-Ethernet Gateway DR – User Manual Click on the drop-down menu and choose one of the two modes. Save this setting by clicking the Save Settings button. Public Dashboard: This form is responsible for defining what information is visible on the website to non-logged in users.
Device as well as on the page. Current product updates can be downloaded on the PEAK-System website (www.peak-system.com). Please make sure to download the correct package for your device. Every version of the PCAN- Gateway product family has a separate download package.
Question mark icons are located next to every page title, clicking on one will open a corresponding help page. Support Support On the page you will find links to product documentation (German and English) as well as contact information of PEAK- System Technik GmbH.
PCAN-Ethernet Gateway DR – User Manual Application Examples The PCAN-Ethernet Gateway DR allows the connection of different CAN busses over IP networks. CAN frames are wrapped in TCP or UDP message packets and then forwarded via the IP network from one device to the other.
Page 48
PCAN-Ethernet Gateway DR – User Manual Gateway 1 > Send Route Route Direction Send: CAN > IP Status Activate Channel 1 (connected to CAN bus A) IP Interface IP-Address 192.168.1.202 (address of Gateway 2) Port 50000 Protocol After saving, the route on Gateway 1 will be displayed on the Routing >...
Page 49
PCAN-Ethernet Gateway DR – User Manual After saving, the route on Gateway 2 will be displayed on the Routing > Manage Routes page as follows. A short time after both routes have been created and activated, the connection will establish. You can interrupt the connection by Routing >...
PCAN-Ethernet Gateway DR – User Manual Bidirectional Data Transmission For bidirectional data transmission the message traffic occurring between CAN busses A and B is to be forwarded via the LAN network. For this two PCAN-Ethernet Gateways DR are needed, where for each one, a Send and Receive route must be created.
Page 51
PCAN-Ethernet Gateway DR – User Manual Gateway 1 > Send Route A Route Direction Send: CAN > IP Status Activate Channel 1 (connected to CAN bus A) IP Interface IP-Address 192.168.1.202 (address of Gateway 2) Port 50000 Protocol Gateway 1 is to accept the data packets sent via LAN network by Gateway 2, and pass the containing CAN messages through CAN channel 1 into CAN bus A.
Page 52
PCAN-Ethernet Gateway DR – User Manual channel 2 into CAN bus B. For this, a Receive route with the following values must be created. Gateway 2 > Receive Route A Route Direction Receive: IP > CAN Status Activate IP Interface...
Page 53
PCAN-Ethernet Gateway DR – User Manual A short time after all routes have been created and activated, the bidirectional connection will establish. You can interrupt the connection by deactivating or erasing one of the routes on the Routing > Manages Routes page.
PCAN-Ethernet Gateway DR – User Manual Measures Size 22.5 x 99 x 114.5 mm (W x H x D) See also dimension drawing Appendix B on page 57 Weight 105 g Environment Operating temperature -40 - 85 °C (-40 - 185 °F) Temperature for storage and -55 - 125 °C (-67 - 257 °F)
Need help?
Do you have a question about the PCAN-Ethernet Gateway DR and is the answer not in the manual?
Questions and answers