background image

 

CAN to WLAN Gateway 

User Manual 

PCAN-Wireless Gateway 

Document version 1.5.0 (2019-07-31) 

Summary of Contents for IPEH-004020

Page 1: ...CAN to WLAN Gateway User Manual PCAN Wireless Gateway Document version 1 5 0 2019 07 31 ...

Page 2: ...e marks of their respective companies They are not explicitly marked by or Copyright 2019 PEAK System Technik GmbH Duplication copying printing or other forms and the electronic distribution of this document is only allowed with explicit permission of PEAK System Technik GmbH PEAK System Technik GmbH reserves the right to change technical data without prior announcement The general business condit...

Page 3: ... Connector Tyco 11 2 3 Antenna 11 2 4 Power Supply Industry 12 3 Putting into Operation 13 3 1 First Connection to the Gateway 13 3 1 1 Preparing the Computer 13 3 1 2 Establishing the Connection 14 3 2 Basic Configuration 16 3 2 1 Changing Login Data 16 3 2 2 Setting up CAN 16 3 2 3 Connecting to the WLAN Network 17 3 3 Installing the PCAN Gateway 19 4 Operation 20 4 1 Status LEDs 20 4 2 Reset Bu...

Page 4: ...lters 37 5 4 2 Add Edit Filter 39 5 5 Network 42 5 5 1 CAN 42 5 5 2 WLAN 47 5 5 3 WLAN Network Scan 51 5 6 Device 52 5 6 1 Device Configuration 53 5 6 2 User Management 57 5 6 3 Software Update 59 5 7 Help 60 5 8 Support 60 6 Application Examples 61 6 1 Unidirectional Data Transmission 61 6 2 Bidirectional Data Transmission 64 7 Technical Specifications 68 Appendix A CE Certificate 70 Appendix B D...

Page 5: ...nt web interface Alternatively the JSON interface allows access via software Both options provide status information and settings of the devices the various communication interfaces message forwarding and filters 1 1 Properties at a Glance ARM9 Freescale iMX257 with 16 kByte Level 1 Cache and 128 kByte internal SRAM 256 MByte NAND Flash and 64 MByte DDR2 RAM Linux operating system version 2 6 31 C...

Page 6: ...bus converter only for IPEH 004020 Extended operating temperature range from 40 to 85 C 40 to 185 F Wireless properties WLAN IEEE 802 11 b g Internal chip antenna Data transmission using TCP or UDP CAN properties Two High speed CAN channels ISO 11898 2 Bit rates from 40 kbit s up to 1 Mbit s TJA1041 CAN transceiver Compliant with CAN specifications 2 0A and 2 0B 1 2 Prerequisites for Operation Vol...

Page 7: ...ss Gateway in plastic casing IPEH 004020 Mating connector for voltage supply Phoenix Contact MC 1 5 2 STF 3 81 1827703 IPEH 004020 A Tyco mating connector including crimp contacts Tyco929051 1 Tyco968473 1 and Tyco928999 1 Manual in PDF format Printed quick start guide ...

Page 8: ...nnector The pin assignment for CAN corresponds to the specification CiA 303 1 Figure 1 Pin assignment High speed CAN 2 1 1 Voltage Supply of External Devices Industry External devices with low power consumption e g bus converters can be directly supplied via the CAN connector With a solder bridge per CAN channel on the PCAN PCI Express FD board a 5 Volt supply can optionally be routed to pin 1 of ...

Page 9: ...roy components on the card Take precautions to avoid ESD 1 Remove the 4 screws at the bottom of the casing 2 Lift off the casing cover parallel to the bottom You now have access to the circuit board 3 Set the solder bridges corresponding to the desired settings Figure 2 shows the solder field positions on the board The table below contains the possible settings 4 Close the casing with the cover an...

Page 10: ...or a 5 Volt supply at the CAN connection 5 Volt supply D Sub connector Solder field Without standard With Pin 1 CAN1 R5 CAN2 R6 Risk of short circuit The 5 Volt supply is not protected separately Therefore turn off the device before you connect and disconnect CAN cables or peripheral systems ...

Page 11: ...Function 1 Vb 2 GND 3 CAN1 Low 4 CAN1 High 5 CAN2 Low 6 CAN2 High 7 Wake up 8 GND 9 CAN1 Low 10 CAN1 High 11 CAN2 Low 12 CAN2 High The mating connector is included in the scope of supply and consists of the components Tyco929051 1 Tyco968473 1 and Tyco928999 1 2 3 Antenna The PCAN Wireless Gateway is equipped with an internal chip antenna The connection to WLAN will be established via the antenna ...

Page 12: ...ection for the power supply is located on the front side of the casing The connection is done with a mating connector for fastening cable standards The polarity is as follows The mating connector Phoenix Contact MC 1 5 2 STF 3 81 1827703 is included in the scope of supply ...

Page 13: ...ng system 3 1 First Connection to the Gateway During initial installation or after resetting to factory defaults you must pre configure the PCAN Gateway for your WLAN The default login data is written on the label on the top of the PCAN Gateway Proceed as described in the following subsections 3 1 1 Preparing the Computer Your computer must be configured with an appropriate IP address to connect t...

Page 14: ... Subnet mask 255 255 255 0 is shown Leave this entry unchanged 9 Confirm the changes with OK 3 1 2 Establishing the Connection 1 Connect the device to a suitable power supply 8 30 V 2 Wait until the PCAN Gateway is ready Status LED is blinking green 3 Connect the computer to the Micro Access Point network SSID PEAK Wireless Default Passwort iCANaccess 4 Open a web browser on the computer 5 In the ...

Page 15: ...nter admin for each the username and the password and confirm with Enter The restricted area appears and you can start setting up the PCAN Wireless Gateway You can find a description of the basic configurations in the following section 3 2 Note Afterwards reset the computers IP address to the previously noted address ...

Page 16: ...l Do not act care lessly and leave your system open to attack Never deposit the login data in any form on the Internet or make it easily accessible Do not give the new login data carelessly to third parties or send it by e mail 3 2 2 Setting up CAN Enter the following settings to configure the CAN channels Open the page Network CAN 1 Bit rate For setting the bit rate click the drop down menu and s...

Page 17: ...DHCP 1 If the future WLAN network uses DHCP Dynamic Host Configuration Protocol the PCAN Gateway IP address and Subnet mask are assigned automatically Enable DHCP to use this feature 2 Confirm the entry by Save Settings You are automatically logged out and the basic setup of the device is now completed After the initial configuration the Micro Access Point network is no longer available The PCAN G...

Page 18: ...bottom of the page IP address and Subnet mask The gateway address can optionally be specified 2 Confirm the entry by Save Settings You are automatically logged out and the basic setup of the device is now completed After the initial configuration the Micro Access Point network is no longer available The PCAN Gateway connects to the WLAN and is reachable under the new fixed IP address ...

Page 19: ...Gateway starts automatically When the Status LED is blinking green the device is ready and the current configuration is executed After the start the PCAN Gateway automatically connects to the IP network Enter the previously assigned IP address in the browser address bar If no connection can be established an error may have been made when entering the WLAN connection data In this case a reset to fa...

Page 20: ...ation 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 right side of the casing Press for 1 second to restart the device Press for more than 5 seconds to reset the PCAN Gateway to factory defaults With a reset to the factory defaults the IP address and the login data are reset to the initial values ...

Page 21: ... wake up time further incoming CAN messages are not processed In addition the device can be activated with a High level on the wake up pin see chapter 2 1 on page 8 and 2 2 on page 11 for the pin assignment 4 4 Signal Delay The signal delay between the CAN connection and WLAN may vary The transmit time of the signal in the IP network depends on the expansion and structure of the network as well as...

Page 22: ...s 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 variety of status information the website can directly manage settings for the device itself communication interfaces and message routing ...

Page 23: ...n you will have access to the 7 main areas of the website Status Routing Filters Network Device Help and Support Note For full functionality and an optimal representation of the website we recommend one of the following Internet browsers Internet Explorer 8 or higher Mozilla Firefox Safari Opera or Chrome The storing of cookies by the browser is required to access the website Some features of this...

Page 24: ...for the network The subpages of Routing can be used to add manage edit or delete routes as well as to search for other devices in the network The subpages of Filters can be used to add edit or delete filters The links in the control box below the menu perform additional website and device functions Refresh Clicking Refresh will perform a page reload for example to update the current route status N...

Page 25: ...tically if CAN traffic is detected or a High level is applied to terminal 15 Wake up pin The red framed Info box at the end of the navigation lists important information about the current configuration 5 1 3 General Symbols The configuration website uses a variety a different symbols and icons to convey general information that is valid for many situations In some cases additional information is d...

Page 26: ...e Listen Only Mode are displayed The CAN interfaces can be configured on the Network CAN page In addition this page provides detailed information about the interfaces WLAN Interface This box displays the WLAN interface settings Operation mode IP address Subnet mask and gateway are adjustable The MAC address cannot be changed Each device receives a unique MAC address during the manufacturing proces...

Page 27: ...e Routing Manage Routes page the routes can be managed edited and deleted On the Routing Add Route page new message forwarding instances can be created Defined Filters This box contains an overview of all defined filters with basic information Starting with the index every filter is displayed with its usage name type and mode On the Filters Manage Filters page the filters can be managed edited and...

Page 28: ...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 Each PCAN Gateway is displayed with its product name the custom device name MAC address and serial number This information can be used to identify the device In addition the IP address and a small icon of the device are displayed With a left cl...

Page 29: ...d connected with the remote site Warning The route is active but not connected with the remote site Warning More than one remote site tries to connect to this route The PCAN Gateway handshake is inactive No status information are gathered for this route Filter Hover the filter icon with the mouse cursor to display a list of the attached filters The list refers to the indices of the filters Perform...

Page 30: ...ation If data packets are lost for example they are retransmitted UDP User Datagram Protocol sends the data packets directly into the network without establishing a connection With this protocol error free transmission is not guaranteed The advantage UDP has over TCP is the lower demand on performance Control Elements Symbol Meaning Switch ON Switch OFF depending on the current state Delete Edit O...

Page 31: ...ute page you can set up a new route Similarly an existing route can be edited via the form displayed For this the current settings are loaded into the form fields Editing a route is done via the page Routing Manage Routes For saving routes the PCAN Gateway uses a table with 16 rows that are addressed with a unique index If a new route is to be set up the lowest free index will be assigned Because ...

Page 32: ...have the effect of immediately activating the route after the completed form is saved Port 45321 is required for the transmission of status information PCAN Gateway handshake off Expert mode only If this checkbox is active no handshake will be performed and therefore no status information will be gathered for this route Use this option for communication with your own application2 CAN Interface Cho...

Page 33: ... 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 Port Enter a port between 1024 and 65535 Values below 1024 are reserved for various system services and must therefore not be used Port 45321...

Page 34: ... this case the transmission of data packets via TCP might be delayed to lower the demand on performance If this option is disabled every CAN frame is transmitted as fast as possible Filter The defined filters are listed in this formula A single one can be attached or detached to Send routes via the radio buttons If Expert mode is active the radio buttons will be replaced with checkboxes and multip...

Page 35: ...available on the page Routing Manage Routes Finally you can create a new route with the Add Route button or save the changes after editing with the Save Settings button Note Transferring data between 2 PCAN Gateways always consists of a Send and a Receive route Note that both should use the same transmission protocol TCP or UDP and the same port ...

Page 36: ...n is performed again and the list is updated 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 Each PCAN Gateway is displayed with its product name the custom device name MAC address and serial number This information can be ...

Page 37: ...lters can be created 5 4 1 Manage Filters On the page Filters Manage Filters the existing filters are listed with basic information and control options Each of them is specified with its index usage name type and mode Index For saving filters the PCAN Gateway uses a table with 32 rows that are addressed with this unique index Usage The badge on the left shows how many times the filter is used The ...

Page 38: ...emove the filter If it is attached to one or more routes it will be automatically detached Edit Click on the pencil icon to edit the filter The filter is loaded into the forms of the page Filters Add Filter The same input and configuration options are available there Detailed information can be found in chapter 5 4 2 Add Edit Filter Add Filter The button below the information table opens the Filte...

Page 39: ...ble Type and ID Mode When you create a filter you should start with the selection of the type and ID mode since the following input and output fields are determined by this The filter types Range and Mask specify how the CAN IDs to be filtered are defined The ID modes specify if the CAN message will be a Standard frame with an 11 Bit identifier or an Extended frame with a 29 Bit identifier This ch...

Page 40: ...e Type Mask The working principle of this acceptance filtering is based on the SJA1000 CAN controller Detailed information can be found in the NXP Application Note AN97076 SJA1000 Stand alone CAN controller chapter 4 1 2 The ID of the CAN message to be transmitted is compared bitwise with the Acceptance Code value The Acceptance Mask specifies which bit positions are relevant 0 relevant The CAN ID...

Page 41: ...an ID matching this binary value are accepted X means that this bit position does not matter MSB LSB Name A name with up to 50 characters can be assign to a filter It can be used for identification while managing filters or attaching them to routes User Notes Additional information with a length of 200 characters can be entered for each filter Besides the pages Filters Add Edit Filter and Filters ...

Page 42: ... gateway are adjustable The MAC address cannot be changed Each device receives a unique MAC address during the manufacturing process which can be used for identification The WLAN interface its operation mode and the connection settings can be configured on the Network WLAN page The page Network WLAN Network Scan displays all networks that are available for connection 5 5 1 CAN The Network CAN page...

Page 43: ...nnel should match the one of the connected CAN bus Bus Off The CAN controller was switched off The error counter is higher than 255 A possible cause can be a short circuit on the bus Bit Rate CAN channel transmission rate This value should match that one of the connected CAN bus Listen Only Mode The state of the Listen Only Mode is represented by an LED LED Symbol Meaning Active The CAN channel is...

Page 44: ... the bit rate click the drop down menu and select the value that is used on the connected CAN bus Custom Bit Rate Expert mode only By clicking on this checkbox a form for configuring a custom transmission rate can be opened For details see the following section Configuring Custom Bit Rates Listen Only Mode If the PCAN Gateway should act as a pure observer not affecting the data traffic Listen Only...

Page 45: ...ase Segment 1 2 The phase segments are used to compensate edge phase errors at the beginning and end of the bit Phase Segment 1 expects an input from 1 to 8 and Phase Segment 2 accepts values from 2 to 8 Propagation Segment This time segment is used to compensate the signal delays over the network and can accept values from 1 to 8 Calculated bit rate The form checks your entries and calculates the...

Page 46: ...t or the calculated bit rate is beyond the limits of the CAN transceiver 40 kbit s to 1 Mbit s the data can not be saved Re Synch Jump Width 1 4 The Resynchronization Jump Width defines the maximum extension or shortening of the Phase Segments for the signal resynchronization This value is not used for the calculation of the bit rate It accepts values from 1 to 4 By clicking on the Save Settings b...

Page 47: ... Settings form and its options are directly affected by this Infrastructured Mode Client The Gateway must connect to a WLAN network of an existing access point Ad Hoc Mode The Gateway provides a WLAN network of its own Other devices can connect to this network as an equal participant The SSID entered in the following form is used as the network s name This operation mode does not require an additi...

Page 48: ...e mandatory Please note that these settings are saved together with the address settings below Alternatively you can select an existing WLAN network on the web page WLAN Network Scan Open the page with the link and select the desired network from the list Connection Settings Name SSID Enter the name of the WLAN you would like to connect to Encryption Type Choose the encryption type that is used by...

Page 49: ...start of the device or the DHCP server In this case the existing routes won t work IP Address Enter here the IP address IPv4 of the WLAN interface 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 starting from this value are reserved for Multicast messages Depending on the Subnet mas...

Page 50: ... is optional Note Please note that after modifying these settings the de vice may not be reachable Possible causes for this are You have activated DHCP The IP address of the device is not known because it has been acquired dynamically from the gateway The address can often be found on a list provided by the gateway You have changed the part of the address assigned to the network see Subnet mask in...

Page 51: ...N networks according to their signal strength Thereby each net is listed with its name SSID the transmit frequency including channel specification and the encryption type Use the Select button to choose the network which you like to connect to The data will be transferred to the website WLAN where you can save the information along with the IP address settings The operation mode is automatically s...

Page 52: ...ce Interface Information This area lists all available communication interfaces regardless of their state Version Information This area shows different information concerning versions Hardware Version The hardware version indicates the revision of the circuit board Software Version This version number indicates the version of the installed software package This additionally to the software include...

Page 53: ...description will be shown in the header of the website and other areas Name Enter a name for the device in this field The maximum length allowed is 50 characters Please note This name is separate from the product name that is also displayed in the header area of the website Depending on the IP network it is possible to access the website of the device by typing this name with a previous http in th...

Page 54: ... imported and loaded Both devices would then have the same IP address This would cause an address conflict and would result in both devices being non accessible In such a case separate one device from the power supply The other device will then become accessible again and its IP address can be changed manually This will resolve the address conflict and both devices can be used again Export Configu...

Page 55: ...abel on the upper side of the device The PCAN Gateway is then reachable under the default IP address Auto Power Off With this form you can activate the Auto Power Off function If enabled the device will switch off if there is no voltage applied to terminal 15 for more than approx 5 seconds It restarts automatically if CAN traffic is detected or a High level is applied to terminal 15 Wake up pin Ac...

Page 56: ... If active the JSON interface can be used Enable Configuration If active the device can be configured via the JSON interface This includes the commands set reset and delete Enable Shell View If active the Shell view can be used It is primarily intended for development and familiarization Respect Public Display If active access is only allowed to elements that have been activated on the page Device...

Page 57: ...a new username and a new password The new password must be confirmed in order to exclude accidental input To ensure a minimum level of security the password should have at least 8 characters If possible use letters numbers and special characters Save your inputs with the Save Settings button Important notice Login data is confidential Do not act care lessly and leave your system open to attack Nev...

Page 58: ...his setting only applies for the current session and will be reset with your next login Reset after Login If you deactivate this checkbox the display mode is not reset after a new login Save the settings 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 Only basic status information can be m...

Page 59: ...The current settings may get lost if they are not supported by the software package to be installed or if a failure like a power cut happens Perform a software update 1 Use the button on the left to choose the software package tar 2 Start the process with the Start Software Update button Please note In order to prevent conflicts all CAN interfaces as well as all created routes will be put on stand...

Page 60: ...ains the complete help information available for your Gateway s Configuration web site It is nearly identical to chapter 5 of the PDF documentation Question mark icons are located next to every page title clicking on one will open a corresponding help page 5 8 Support On the Support page you will find links to product documentation German and English as well as contact information of PEAK System T...

Page 61: ...tworks to connect to each other over large distances 6 1 Unidirectional Data Transmission For unidirectional data transmission the message traffic from CAN bus A is to be forwarded to CAN bus B via a WLAN network Necessary for this are two PCAN Wireless Gateways and the creation of a route on each device In this example Gateway 1 s IP address is 192 168 1 201 and it is connected to CAN bus A via C...

Page 62: ...0000 IP Interface Protocol TCP After saving the route on Gateway 1 will be displayed on the Routing Manage Routes page as follows Creating a Receive Route Gateway 2 is to accept the data packets sent via WLAN network by Gateway 1 and pass the containing CAN messages through CAN channel 2 into CAN bus B For this a Receive route with the following values must be created Gateway 2 Receive Route Route...

Page 63: ...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 deactivating or erasing one of the routes on the Routing Manages Routes page Note The putting into operation of a PCAN Wireless Gateway is described in detail in chapter 3 Putting into Operation Detailed information concerning the creation of route...

Page 64: ...is example Gateway 1 s IP address is 192 168 1 201 and it is connected via CAN channel 1 to CAN bus A Gateway 2 s IP address is 192 168 1 202 and it is connected via CAN channel 2 to CAN bus B The difference here when compared with the example in chapter 6 1 is solely that the opposite message forwarding from CAN bus B to CAN bus A must also be realized The Routes on Gateway 1 Incoming messages fr...

Page 65: ...sent via WLAN network by Gateway 2 and pass the containing CAN messages through CAN channel 1 into CAN bus A For this a Receive route with the following values must be created Gateway 1 Receive Route B Route Direction Receive IP CAN Status Activate Port 25000 like the Send route B IP Interface Protocol TCP like the Send route B CAN Channel 1 connected to CAN bus A After saving the routes on Gatewa...

Page 66: ...annel 2 connected to CAN bus B Gateway 2 should transmit incoming message traffic from CAN bus B into the WLAN network For this a Send route with the following values must be created Gateway 2 Send Route B Route Direction Send CAN IP Status Activate CAN Channel 2 connected to CAN bus B IP Address 192 168 1 201 address of Gateway 1 Port 25000 IP Interface Protocol TCP Transferring data between 2 PC...

Page 67: ...rrupt the connection by deactivating or erasing one of the routes on the Routing Manages Routes page Note The putting into operation of a PCAN Wireless Gateway is described in detail in chapter 3 Putting into Operation Detailed information concerning the creation of routes as well as input and selection options can be found in chapter 5 3 2 Add Edit Route ...

Page 68: ... speed CAN 2 0A standard format and 2 0B extended format Bit rates 40 kbit s 1 Mbit s Transceiver NXP TJA1041 Supplying external devices IPEH 004020 D Sub pin 1 5 V max 50 mA not assigned at delivery IPEH 004020 A Not available Internal termination Not available Listen only mode Separately switchable for both CAN channels WLAN Protocol TCP UDP Antenna Internal chip Encryption WPA WPA2 Bit rates 11...

Page 69: ... in Sleep mode max 600 μA Buffer battery for μC Button cell LR44 1 5 V Measures Size 130 x 33 3 x 110 6 mm W x H x D See also dimension drawing Appendix B on page 71 Weight IPEH 004020 164 g IPEH 004020 A 156 g Environment Operating temperature 40 85 C 40 185 F Temperature for storage and transport 55 125 C 67 257 F Relative humidity 15 90 not condensing Ingress protection IEC 60529 IP20 Conformit...

Page 70: ...PCAN Wireless Gateway User Manual 70 Appendix A CE Certificate ...

Page 71: ...PCAN Wireless Gateway User Manual 71 Appendix B Dimension Drawings Figure 7 PCAN Wireless Gateway industrial model IPEH 004020 ...

Page 72: ...PCAN Wireless Gateway User Manual 72 Figure 8 PCAN Wireless Gateway automotive model IPEH 004020 A The figures don t show the actual size of the products ...

Page 73: ...al Informa tion Battery The device and the battery it contains must not be disposed of with household waste Remove the battery from the device for proper separate disposal The PCAN Wireless Gateway contains the following battery 1 x button cell LR44 1 5 V ...

Reviews: