Beginner Question

This forum covers issues concerning multiple software products.

Beginner Question

Postby singlequestion » Mon 2. Jul 2018, 15:44

Hey everyone,

I am using a PCAN USB device connected to my usb port on pc. I want to connect my PCAN USB DEVICE to a module like the following Illustration.

NOTEBOOK -----> PCAN USB DEVICE -----> CAN CONNECTION CABLE -----> MODULE
The module has also can port which i can connect to.
Now I am sending messages with PCAN-View periodically e.g.

[00 01 01 01 01 00 00 00] (Length: 8, ID: 00000100h)

and I hope that i can receive this as a message in PCAN-View. But it fails, messages are going out, nothing coming in. Maybe can you tell me which ID i have to fill in here?
Is it the ID of the USB PCAN DEVICE or is it the ID of the Module that i want to comunicate with? Is there a way to find out the ID from the module without knowing it?
I would be really thankful for any help i can get.

Best regards
singlequestion
 
Posts: 5
Joined: Mon 2. Jul 2018, 15:35

Re: Beginner Question

Postby U.Wilhelm » Tue 3. Jul 2018, 10:36

If your CAN Node do not send CAN Frames, you will not see any CAN Frames in the PCAN-View.
This Tool is a CAN Monitoring Software that could send and receice CAN Frames. Not more - not Less.
If your module does not send CAN Frames by it´s own - you will see no CAN Frames incomming to the CAN USB , and so PCAN-View will not show any message in the Receice Window.
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------
User avatar
U.Wilhelm
Sales & Support
Sales & Support
 
Posts: 1036
Joined: Fri 10. Sep 2010, 18:34
Location: Darmstadt

Re: Beginner Question

Postby M.Maidhof » Tue 3. Jul 2018, 10:37

Hi,

the message ID you have to send is depending on the module you are using. So please contact the manufacturer of the module and ask, which CAN ID and data is necessary to communicate with that module.

Please check that you use a terminated CAN cable between PCAN-USB and your module.

regards

Michael
M.Maidhof
Support
Support
 
Posts: 1237
Joined: Wed 22. Sep 2010, 13:00
Location: Darmstadt, Germany

Re: Beginner Question

Postby singlequestion » Wed 4. Jul 2018, 08:36

Thanks a lot for your answer, it helped me a lot.

So when i try to send a datapacket (DP) like


DPTest1 = CanDatapacket()
DPTest1.data = array('B', [00,00,00,00,00,00])
DPTest1.dlc = len(DPTest1.data)
DPTest1.id = 0x01
DPTest1.uniqueID = 2382822626

then the necessary ID to communicate is the unique ID? The ID represents only the message-id for the tasks to communicate with module.

Best regards,
singlequestion
 
Posts: 5
Joined: Mon 2. Jul 2018, 15:35

Re: Beginner Question

Postby U.Wilhelm » Wed 4. Jul 2018, 08:42

DPTest1 = CanDatapacket()
DPTest1.data = array('B', [00,00,00,00,00,00])
DPTest1.dlc = len(DPTest1.data)
DPTest1.id = 0x01
DPTest1.uniqueID = 2382822626


the Syntax is not from any of our Hardware ...if this is your own CAN node, pleae conatct the node manufacturer - we could not help to solve other companies problem - sorry...
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------
User avatar
U.Wilhelm
Sales & Support
Sales & Support
 
Posts: 1036
Joined: Fri 10. Sep 2010, 18:34
Location: Darmstadt


Return to Software



This website uses cookies for analytics, for logins to the online shop and the forum, and for the handling of an order. By browsing this website you agree to the use of cookies. Detailed information on their use can be found in our privacy policy.

OKPrivacy Policy