How to: Bind a PCAN-device to a PCAN-Net permanently

Professional Windows® software to communicate with CAN and CAN FD busses and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Locked
M.Heidemann
Sales & Support
Sales & Support
Posts: 1019
Joined: Fri 20. Sep 2019, 13:31

How to: Bind a PCAN-device to a PCAN-Net permanently

Post by M.Heidemann » Tue 14. Jul 2020, 11:02

HOW-TO: Bind a PCAN-device to a PCAN-Net permanently

Due to the nature of some systems they may discard the order in which PCAN-Devices were recognized at the previous boot,
which can be problematic in case you intend to use the same physical hardware with a specific PCAN-Net permanently.

To bind a PCAN-Net to a certain physical PCAN-hardware, please follow these steps:

Step 1) Set a Device-ID for your PCAN-device

Open your Windows control-panel (symbolic view) and look for the Peak-hardware applet and open it:

The Peak-Hardware Applet can be accessed via the Windows control-panel.
The Peak-Hardware Applet can be accessed via the Windows control-panel.
PeakHardwareApplet.PNG (12.81 KiB) Viewed 18172 times
Select the device you want to bind to a PCAN-Net and choose "Set Device-ID" on the lower right:
The Peak Hardware-Applet also allows you to gather information about the currently installed drivers and APIs.
The Peak Hardware-Applet also allows you to gather information about the currently installed drivers and APIs.
HardwareAppletOpened.PNG (15.78 KiB) Viewed 18172 times

a new window will open up, which allows you to set a Device-ID for your device:
This windows allows you to set a Device-ID for your Device.
This windows allows you to set a Device-ID for your Device.
SetAnDeviceID.PNG (2.45 KiB) Viewed 18172 times

Once you have set the Device-ID for all devices that you want to bind to a PCAN-Net,
you can leave the Peak-Hardware Applet and close the Windos Control Panel.

Step 2) Bind a Device-ID to a PCAN-Net

Open up PCAN-Nets Configuration, either from the Start Menu or via the PCAN-Explorer 6 menu bar under "Tools":
You can start PCAN-Nets configuration from the PCAN-Explorer 6 tools menu.
You can start PCAN-Nets configuration from the PCAN-Explorer 6 tools menu.
PCAN-NETSPE6.PNG (14.87 KiB) Viewed 18172 times

In PCAN-Nets Configuration you'll see that your device now has the previously set Device-ID displayed next to it:
The Device-ID makes it easy to differentiate your devices.
The Device-ID makes it easy to differentiate your devices.
PCANNetsDeviceID.PNG (13.24 KiB) Viewed 18172 times

Either create a new PCAN-Net or edit an existing one, in this example, we create a new PCAN-Net:

Right-Click your device and select "New Net":
Creating a new Net can also be done by using the hotkey "insert" when your device is selected.
Creating a new Net can also be done by using the hotkey "insert" when your device is selected.
PCANNetCreateNet.PNG (17.95 KiB) Viewed 18172 times

Configure your PCAN-Net as needed:
You could use the Net-Name to reflect its properties, for example the used baudrate, locations, etc.
You could use the Net-Name to reflect its properties, for example the used baudrate, locations, etc.
NetConfigured.PNG (6.98 KiB) Viewed 18172 times

Select the tab "Device ID":
NetConfiguredDevID.PNG
NetConfiguredDevID.PNG (8.02 KiB) Viewed 18172 times

Here you check "Bind to Device-ID", enter the device ID that will be bound to this PCAN-Net and lastly you can
set which channel is bound to this PCAN-Nets, given your device features multiple Channels:
Please leave the channel field as 1, if your PCAN-Device only features a single channel.
Please leave the channel field as 1, if your PCAN-Device only features a single channel.
BindToDeviceID.PNG (7.5 KiB) Viewed 18172 times

Click the Save-Icon or use the hotkey ctrl+s to save your NET, if the Device-ID was successfully bound,
you will see a little pin needle icon on the left hand side of its name.
This is how an ID-bound PCAN-Net looks like.
This is how an ID-bound PCAN-Net looks like.
IDisBound.PNG (2.06 KiB) Viewed 18172 times


For the changes to take effect, please reboot your PC.


Now the PCAN-Net is permanently bound to your custom Device-ID!



Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

Locked