Dear reader,
I’m currently working on trying to communicate using the CAN-master and the AXL_CAN_COMM function block. Everything works fine and i’m able to communicate by writing the CAN_UDT_DATA.arrMessageSend* and providing it to the function. With this it doesn’t matter in which possition of the array i use to put my data.
The problem accurs when i use more messages in the array. (about ~60+ messages) As soon as i write more than 60+ messages it seems like it that some of my message simply are not sent (from the PLC to the CAN bus). My gut feeling says that it has something to do with the arrInputPD and arrOutputPD of type 'Array [0…63] of bytes of the AXL_CAN_COMM, which are then coupled to the hardware CAN-master.
My question is does anyone know how exactly the data in the CAN_UDT_DATA.arrMessageSend is converted to the arrOutputPD? And maybe knows on how to fix this issue?
*CAN_UDT_DATA.arrMessageSend = Array [0…199] of CAN_UDT_MESSAGE