PCAN-USB vs PCAN-USB FD x6

USB to CAN Interface
Post Reply
Terje
Posts: 18
Joined: Sun 27. Sep 2020, 19:04

PCAN-USB vs PCAN-USB FD x6

Post by Terje » Tue 6. Oct 2020, 11:20

Hi.
Drivers PCAN Basic allows up to 16 PCAN-USB.

It would probably not be good to connect 16 IPEH-002022 using several usb-hubs. (Lots of cables & devices..)

Could I replace IPEH-002022 with three IPEH-004064 without changeing my C-code?
I see IPEH-002022 is PCAN-USB and IPEH-004064 is +FD..

And 3 units * 6channels = 18 connections, but PCAN-Basic accepts only 16. Will there be issues?
Or would it be safer with 2 units * 6channels = 12 connection and 4 PCAN-USB to get the required 15 channels I need??

Or do you have an recomendation.

I requirement is 15 USB-CAN interfaces to be used by PCAN-Basic in Linux Ubuntu.

/Terje.

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: PCAN-USB vs PCAN-USB FD x6

Post by M.Maidhof » Tue 6. Oct 2020, 12:24

Hello,

yes, with PCANBasic under Linux you can use the PCAN-USB X6 in the same way as if you connect 18 PCAN-USB IPEH-002022 modules on one PC. It will also be possible to have a mix setup of 2x PCAN-USB X6 and 3 PCAN-USB, to have 15 channels at all.

regards

Michael

Terje
Posts: 18
Joined: Sun 27. Sep 2020, 19:04

Re: PCAN-USB vs PCAN-USB FD x6

Post by Terje » Wed 7. Oct 2020, 08:29

Hi.

Thanks for the answer.

Lets think. Need to straighten out this.

If I connect three PCAN-USB FDx6 to on computer, Then I'm only able to use 16 of 18 channels, due to limitation in PCANBasic. Right?

So how sure can I be that I dont get one of the unused channels by misstake? (After a reboot or so..)

(I know that I can give every channel a hardware number. But PCANBasic don't care about that I guess.)

Can I disable the unused channels? So PCANBasic never can detect them? (Open the PCAN-USB FDx6 box and remove a jumper??)

/Terje.

F.Vergnaud
Software Development
Software Development
Posts: 305
Joined: Mon 9. Sep 2013, 12:21

Re: PCAN-USB vs PCAN-USB FD x6

Post by F.Vergnaud » Wed 7. Oct 2020, 12:19

Hello Terje,

You can use the PCANBasic parameters DEVICE_ID and CONTROLLER_NUMBER to identify your channel.
But since the enumeration of the USB devices depends on the system, it is not 100% sure that the 3 PCAN-USB X6 will always be enumerated in the same order.
So if you have the following configuration:
- PCAN-USB_X6 #1 device_ID=0xA1 controller number 0 to 5
- PCAN-USB_X6 #2 device_ID=0xA2 controller number 0 to 5
- PCAN-USB_X6 #3 device_ID=0xA3 controller number 0 to 3 (due to the 16 channels limitation)
It is possible that one day you could get the following:
- PCAN-USB_X6 #1 (formerly #3) device_ID=0xA3 controller number 0 to 5
- PCAN-USB_X6 #2 device_ID=0xA2 controller number 0 to 5
- PCAN-USB_X6 #3 (formerly #1) device_I= 0xA1 controller number 0 to 3 !

You would be able to detect the change but there is not yet a solution to disable some controllers in order to enable others..
As of now, I think the safest and most robust solution would be to work with 2 PCAN-USB X6 and 3 PCAN-USBs.
Best regards,
Fabrice

Terje
Posts: 18
Joined: Sun 27. Sep 2020, 19:04

Re: PCAN-USB vs PCAN-USB FD x6

Post by Terje » Wed 7. Oct 2020, 12:35

Thanks for the answer.

/Terje.

Post Reply