My configuration is the one below:
The PCAN-LIN is the master and I want to control my device (LIN Valve) via CAN.
The LIN control frame is ID 0x12 and LIN status frame is 0x32.
I want to control the valve via scheduled frames every 100ms for each.
I cannot change the value of the control frame (0x12) when I am in scheduled mode which is optional in the user manual (page 18), how can we do it?
If I use the sheduled mode, I get the status frame from the valve (0x32). But I can't control it.
If I use the Gateway LIN - CAN mode, I can control it but I can't get the status even if I send the LIN header by CAN to get the status frame.
I attach the files of the scheduled and "Gateway LIN - CAN" configurations.
1. scheduler mode: you forgot to set the 0x12 to publisher. After setting this frame to publisher, use CAN ID 0x52 (0x12 +0x40) with 8 databytes to change the publisher data while the scheduler is active. See PCAN-LIN CT help for more details
2. non scheduler mode: configuration is correct, send CAN ID 0x12 with 8 data as publisher frame and 0x32 8 RTR to initiate a subscriber frame on LIN ID 0x32.
Next, please don´t post in the forum and send emails with the same topic, this just double our work.....
Thank you for the reply, I made it run in scheduled mode.
My concern is when the CAN signal is stopped, is the default value sent by the LIN master? Because it seems that it's not doing that but maintaining the last data received by CAN.Is it the expected behavior? How can I change it?
I will only use the forum for it then.