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
Beginner Question
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Beginner Question
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.
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[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: Beginner Question
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
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
-
- Posts: 5
- Joined: Mon 2. Jul 2018, 16:35
Re: Beginner Question
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,
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,
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Beginner Question
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...DPTest1 = CanDatapacket()
DPTest1.data = array('B', [00,00,00,00,00,00])
DPTest1.dlc = len(DPTest1.data)
DPTest1.id = 0x01
DPTest1.uniqueID = 2382822626
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------