I am trying to implement a CAN layer 2 FB for a Cross Control Pilot VI where the manufacturer at this stage is providing the normal CANopen interface.
Did follow the example from Codesys CANbusAPIExample but it seems that this require to periodically call the method CL2.Read().
So, even if the timer is set to 5ms but the program which implements this call is run every 20ms, this will create a min latency of 20ms on the CAN bus.
My question is if there is any way to use interrupt or call back so to run a message processor everytime a specific CAN ID is received.
Thank you to everyone able to help.
Do I need to reformulate the question??
Anybody able to assist on this??
How far did you get with the example in the online help?
https://help.codesys.com/webapp/ISLA-9j ... n=18.104.22.168 m
Log in to post a comment.