PCAN LIN can not see can messages

RS-232 to CAN/LIN Interface
Post Reply
Eliza
Posts: 2
Joined: Fri 31. May 2019, 11:06

PCAN LIN can not see can messages

Post by Eliza » Tue 16. Jul 2019, 08: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 5354 times
LDF_gear.ldf
(1.83 KiB) Downloaded 614 times
NewProfileCANLIN.pclin
(43.11 KiB) Downloaded 615 times
testprofile.pclin
(43.11 KiB) Downloaded 603 times

M.Riedl
Software Development
Software Development
Posts: 34
Joined: Wed 22. Sep 2010, 13:28

Re: PCAN LIN can not see can messages

Post by M.Riedl » Tue 16. Jul 2019, 17: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 5345 times
Please note the PCAN-LIN is not a CAN interface like the PCAN-USB Pro FD.

Regards
M.Riedl

Eliza
Posts: 2
Joined: Fri 31. May 2019, 11:06

Re: PCAN LIN can not see can messages

Post by Eliza » Thu 18. Jul 2019, 09: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 565 times

M.Riedl
Software Development
Software Development
Posts: 34
Joined: Wed 22. Sep 2010, 13:28

Re: PCAN LIN can not see can messages

Post by M.Riedl » Thu 18. Jul 2019, 15: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

Post Reply