PCAN LIN can not see can messages

RS-232 to CAN/LIN Interface

PCAN LIN can not see can messages

Postby Eliza » Tue 16. Jul 2019, 07:53

Dear Colleges,
I have two CAN-LIN adapters:
- PCAN - LIN
- PCAN-USB Pro FD

I am trying to set up PCAN - LIN to control gear of the car.
Firstly, I decided to check whether I can send LIN to LIN frame and get CAN message on PCAN - LIN side. I made USB Pro FD as Master and PCAN - LIN as Slave (I attached testprofile.pclin). I send from PCAN-USB Pro FD (Windows 7, PLIN View PRO, Bit rate 9600) and publish frame (attach PLIN ViewPro .jpg). However, I could not see anything via CAN though PCAN - LIN, but can see sent LIN frame via RS though PCAN - LIN. Could you explain why? Which settings I forgot?

The main goal is to control a gear. I can not attach ldf, only part of it (LDF_gear.ldf) and correspond pclin is
NewProfileCANLIN.pclin. Could you check is it correct? Is partial ldf enough to clarify?

Thanks in advance.
Attachments
PLIN ViewPro .jpg
PLIN ViewPro .jpg (144.27 KiB) Viewed 138 times
LDF_gear.ldf
(1.83 KiB) Downloaded 36 times
NewProfileCANLIN.pclin
(43.11 KiB) Downloaded 38 times
testprofile.pclin
(43.11 KiB) Downloaded 36 times
Eliza
 
Posts: 2
Joined: Fri 31. May 2019, 10:06

Re: PCAN LIN can not see can messages

Postby M.Riedl » Tue 16. Jul 2019, 16:45

Dear,

First thing the LIN frame you try to transmit as publisher (3Fh) is not defined in the attached LDF_gear.ldf. It contains only the subscriber frame definition of ID 22h.
However, the profile testprofile.pclin is configured to forward LIN frames to CAN and RS232. This should work.

What do you mean with
However, I could not see anything via CAN though PCAN - LIN


How do you try to inspect the CAN frames? With our PCAN-View software and one CAN channel of the PCAN-USB Pro FD?
If you are using the PCAN-View, do you connect with the correct bit rate 250kbit/s?
PCAN-View-Connect.jpg
PCAN-View-Connect.jpg (24.54 KiB) Viewed 129 times

Please note the PCAN-LIN is not a CAN interface like the PCAN-USB Pro FD.

Regards
M.Riedl
User avatar
M.Riedl
Software Development
Software Development
 
Posts: 15
Joined: Wed 22. Sep 2010, 12:28

Re: PCAN LIN can not see can messages

Postby Eliza » Thu 18. Jul 2019, 08:21

Thank you so much for reply.
My problem was that - I did not get CAN frames at all in any settings. However, everything appear to be simple I added resistor and I get CAN Frames.
However, as I said I need to control gear. I attached ldf (LDF_gear.ldf) and new pclin (PCANLIN_gear.pclin). Could you check is it correct?
Best regards
Attachments
PCANLIN_gear.pclin
(42.8 KiB) Downloaded 36 times
Eliza
 
Posts: 2
Joined: Fri 31. May 2019, 10:06

Re: PCAN LIN can not see can messages

Postby M.Riedl » Thu 18. Jul 2019, 14:54

Hi,

That's fine, so the PCAN-LIN work correctly.
Unfortunately we don't have any information how to control gear you want.
Please contact the manufacturer of the car, to get the needed details.

Regards
M.Riedl
User avatar
M.Riedl
Software Development
Software Development
 
Posts: 15
Joined: Wed 22. Sep 2010, 12:28


Return to PCAN-LIN



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