Buffer upload - X20CM4810

Hi everyone.

I’m trying to upload the buffered values on the X20CM4810 card, but the update gets stuck near the end of the process. Example: if the FB “vbioCM4810” is configured to upload 4096 registers, it gets stuck at the register number 4061.

I followed the example on this link: https://github.com/hilch/demo-AsIOVib

Attached to this post is an image of the FB variables, showing the actual state of the block.

Any suggestions?

Have you checked that your timings are set correctly?

Necessary steps:


2. Make sure that the bus cycle times are configured so that they are synchronized with the task class cycle time.
3. Make sure that the bus cycle times are configured so that they are not shorter than the task class cycle time.

Automation Help: vbioCM4810

These are my timing configurations. I’m running the FB in the Cyclic #4 (100 ms) task.

And there is your issue.

I would suggest configuring your task class Cyclic #1 to (2ms) and moving the program that is using the vbIOCM4810 to Cyclic #1. This would then satisfy the requirements mentioned in my previus message.

As currently your timing settings only meet step 2, synchronization. But step 3 requires you to run the program at the same or faster rate as your bus cycle time (X2X cycle time).

Thanks for the help. Problem solved.