IF CAN LED 20 Transmission Error

Hello, This topic is somehow related to this problem https://www.plcnext-community.net/en/discussions-2-offcanvas/if-can-module-issues.html but the thing is my 20 LED is on and i have read the manual and it says that it is a transmission error. [attachment]image0.jpg[/attachment] And when I try to run the example project ‚CAN_10_EXA_AXL.pcwex‘ using the iExample 1000, the iState is always stuck at 40. I think this means that im not receiving any messages from the messages that I sent. [attachment]SC1.JPG[/attachment] [attachment]sc2.JPG[/attachment] Thanks

This may be a wiring problem, or some other application-specific problem. Do you mind if we contact you directly by email, on the address that you used to register on this forum?

[quote]This may be a wiring problem, or some other application-specific problem. Do you mind if we contact you directly by email, on the address that you used to register on this forum?[/quote] The problem was resolved by unplugging and pluggin the power. Moreover, can you please explain what ‚udtExample.udtCanData.arrMessagesSend[0].xUsed := TRUE;‘ specifically the .xUsed? Thanks

Here is the answer from the developers of the CAN FB: When send mode is active, the function block AXL_CAN_COMM searches the arrMessagesSend array for messages that should be sent. The user can prepare messages in the array, and as soon as you want to send the message, you set xUsed in the message to TRUE. Then, when the FB searches for the messages that should be sent, it will find the messages where xUsed is TRUE. It will send that message to the CAN module, and then set xUsed to FALSE. You can then resend the same message again, if required, simply by setting xUsed to TRUE on the message again. If you have other questions about how this FB works, it is possible to contact the developers directly using the „Contact“ button on the app page in the PLCnext Store.