Receiving data from lin device using RS232

RS-232 to CAN/LIN Interface
rollinstone
Posts: 10
Joined: Wed 13. Jan 2016, 13:58

Re: Receiving data from lin device using RS232

Post by rollinstone » Mon 11. Jan 2021, 11:25

Hello, i'm still waiting for LDF file...

in the meantime - i've got one more question - when i'm sending frame through pcan-lin software - in control window i don't see any data (i remember that it should show how many frames were send etc.) - do You know how to solve this problem?

M.Heidemann
Sales & Support
Sales & Support
Posts: 486
Joined: Fri 20. Sep 2019, 13:31

Re: Receiving data from lin device using RS232

Post by M.Heidemann » Mon 11. Jan 2021, 11:34

Hello,

Are the mentioned columns visible? (Count, Direction, etc)

Can you provide us with a screenshot of your PLIN-View Pro window, so we can
assess this issue?

Best Regards

Marvin

rollinstone
Posts: 10
Joined: Wed 13. Jan 2016, 13:58

Re: Receiving data from lin device using RS232

Post by rollinstone » Mon 11. Jan 2021, 11:41

M.Heidemann wrote:
Mon 11. Jan 2021, 11:34
Hello,

Are the mentioned columns visible? (Count, Direction, etc)

Can you provide us with a screenshot of your PLIN-View Pro window, so we can
assess this issue?

Best Regards

Marvin
Hi Marvin. We are using PCAN-Lin CT, not PLin View
in main window i can see columns source, type, code, etc. but there's nothing below, so i don't know how many frames i've send etc.

M.Heidemann
Sales & Support
Sales & Support
Posts: 486
Joined: Fri 20. Sep 2019, 13:31

Re: Receiving data from lin device using RS232

Post by M.Heidemann » Mon 11. Jan 2021, 12:03

Hello,

Pardon me, my mistake.

In order to show the traffic on the connected busses in the Messages and Scheduler-Tab foward Mask to RS-232 must be configured for both CAN and LIN, as mentioned in the PCAN-LIN CT help.

Are the foward masks to RS-232 for both CAN and LIN configured?
PCAN-LIN_CT_Foward-Mask.PNG
PCAN-LIN_CT_Foward-Mask.PNG (34.48 KiB) Viewed 446 times
PCAN-LIN_CT_Foward-Mask2.PNG
PCAN-LIN_CT_Foward-Mask2.PNG (34.1 KiB) Viewed 446 times

Please give us feedback regarding this.

Best Regards

Marvin

rollinstone
Posts: 10
Joined: Wed 13. Jan 2016, 13:58

Re: Receiving data from lin device using RS232

Post by rollinstone » Mon 1. Feb 2021, 08:50

Hello Marvin,
As You suggested, i've tried to change forward mask on both lin & can protocols to rs232, but still in main window i don't receive any info about amount of sent frames etc.

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

Re: Receiving data from lin device using RS232

Post by M.Maidhof » Mon 1. Feb 2021, 10:35

Hi,

please enable the error forwarding in the LIN Section for RS232, or send us your PCAN-LIN CT configuration file.

regards

Michael

rollinstone
Posts: 10
Joined: Wed 13. Jan 2016, 13:58

Re: Receiving data from lin device using RS232

Post by rollinstone » Fri 19. Feb 2021, 10:17

Hello,
it's still me, still with the problem of reading answer through lin...
i've managed to receive frames data in PCAN-Lin software (i had to change time from 5 to 10ms) but still - i receive only info about frames i've send

in attachment i'm sending log file and configuration file

From client i've received info
" You should transmit following frames:
CDE_RESEAU_LIN_4
Signal CDE_PV_LIN = 0x01
Other signals all zero.

CDE_SIEGES
ETAT_PRINCIP_SEV = 0b01 = Contact
Other signals all zero.


You should read following frames:
ETAT_SCB_D (keyboard status)
EVT_DEFAUT_SCB_D: defect status
"
The file which he's referring to - i'd like to send it to you in private message or email - is it possible?
Attachments
LINLog12.txt
(134.92 KiB) Downloaded 19 times
NewProfile111.pclin
(42.81 KiB) Downloaded 19 times

M.Heidemann
Sales & Support
Sales & Support
Posts: 486
Joined: Fri 20. Sep 2019, 13:31

Re: Receiving data from lin device using RS232

Post by M.Heidemann » Fri 19. Feb 2021, 10:47

Hello,

Please contact us via email:

support[at]peak-system.com

Make sure to give reference to your issue
and also inlcude the attachments from this forum-post:

LINLog12.txt
NewProfile111.pclin


Also please give us some info on how you transmit the LIN-frames shown in your
logs, do you initiate them via CAN, via RS-232? Are you just "listening to a LIN-bus"?

Best Regards

Marvin

Post Reply