PLC Error (checkbounds)

Dear Community, 

 

I am using ctrlX PLC 1.20 and ctrlX Work with version 1.20.2.

i have this code snippet when i compile the code i dont have any error but as soon as a login a am receiving the below error.

 

What if i delete the folder of checkfunction? for example Checkbounds.

Thank you!!

Best reply by CodeShepherd

So is it solved in your application?

In general you can for sure use arrays in loops. But like bostroemc mentioned you are looping and writing all 27 commands in one single cycle. I am not sure if the MX_Automation allows multiple commands in a single cycle, as it is an serial interface.

In your case I would only use one KRC.MoveLinearAbsolute or use them one after the other (like described in your last post) and then just change the inputs of this single function block as it has finished.

View original
5 replies