Hi,
is there naybody who know where I can find the CANopen LSS library for AS 6?
Hi,
is there naybody who know where I can find the CANopen LSS library for AS 6?
Do you mean this one? AsCANopen
B&R does not offer any CanOpen library which would support LSS
As far as I remember there was an user library capable to do so but I do not remember the name of the library nor who has written this library
Hi Oliver,
thanks for your reply. It’s really annoying that B&R doesn’t support this function. I have a CAN device here that only allows changing the NodeID via LSS.
Do you think I might be able to find the library on GitHub?
You could take a look at : CAN in Automation CiA DSP 305 V1.1.1 document.
You can use ArCan or CAN_Lib to sent and receive the correct can messages.
Hi Corne,
thanks for the tip. My CAN knowledge isn’t sufficient to program something like that, though. Do you perhaps know of an example?
Hi Corne,
I tested the FB ArCanSend() function. It seems the CAN master isn’t accepting LSS commands. I can see the sent frames using a CAN bus sniffer, but it has no effect.
Try using a CAN sniffer to send the corresponding LSS command to the CAN device.
The CAN device manufacturer might also offer a tool to set the node number.
Hi Stephan,
I’ve tried it in two ways now. Firstly, with the ArCAN Send FB and secondly, with the PEAK System sniffer. The CANopen device responds to the individual commands and sends a confirmation without an error when the CAN ID is changed. However, the ID isn’t being adopted by the device.
Could it be because the X90 doesn’t support LSS?
You probably need a CanOpen SDO command to save the changed communication parameters.
I’ve already tried object 0x1010 sub1. Unfortunately, that doesn’t work either.
Unfortunately, the manufacturer of the CAN device can’t give me any more information because the product is no longer supported. I guess I can throw the device away. Thanks for your help.