Hi, check the values inside array, probably some of them could be the problem. It seems the value 0,0 is the initial point of this line. Check if there is any value in array with 0,0. BR
Hi, What kind of error do you have? It seems there is no EtherCAT Task configured. All motion programs must be in EtherCAT task. BR
Hi, MC_GearIn synchronizes master and slave position, then two axes run at same velocity. MC_GearInPos is used to link two axes like MC_GearIn but two axes are synchronized at specific position. For example, is we have two module axes with 360 degrees and we can synchronize the axes with a 30 degrees offset we can use MC_GearInPos, two axes run at the same velocity but the position between each axis differs in 30 degrees. BR
HI, I think MC_Jog starts the stop ramp when it reaches the software limits. Then the axis exceed the limit position. One option is use the MC_MoveAbsolute setting the limit software as target position. But to accomplish the same function as MC_Jog you must stop the axis with MC_Stop when the user disable the Jog input signal. BR
Hi, you can use an internal visu variable to handle the click mouse, and then in the function called from TextVariable property use this variable. Please find attahced project
Another possibility is to use CSV file reader. You can convert a TextList to CSV file and then use this file inside your project. There is a project in CODESYS Forge to write and read CSV files https://forge.codesys.com/prj/csv-write-read/home/Home/ Inside IIoT Libraries there is another CSV reader https://store.codesys.com/iiot-libraries-sl.html BR
Hi, in visu properties you can replace a variable by a function call. For example, rectangle component has a "TextVariable" property where you can place a variable or a function call. This function call is executed every cycle in Visu task, and you can use to handle the mouse click through a visu local variable. In this post there is some example of how to use function calls in visu https://forge.codesys.com/forge/talk/Visualization/thread/ea04556dc9/ But it's not a good practice because the code...
Hi, one way is call a function from visualization. For example call external function from "Text variable" property of rectangle component. Best Regards