update parameters (X,Y) from file

More
22 Jun 2015 23:02 #60063 by alexlinuxcnc
update parameters (X,Y) from file was created by alexlinuxcnc
Hello

I am not sure how to attack the problem. Here is my challenge. I would use a camera to take a picture of my working environment. From the picture a software will locate all the components on my image and write out a location file containing all the coordinates of the components. I would like to read in that file containing my coordinates (x,y). The linuxcnc program will move to each new coordinate in a loop. Is there a way for me to reset the the coordinates, G0 X$1 Y$2, where $1 and $2 are read from file?

Thank you,
Alex

Please Log in or Create an account to join the conversation.

More
23 Jun 2015 13:19 #60081 by ArcEye
Replied by ArcEye on topic update parameters (X,Y) from file
Sounds like you are writing your own pick and place machine.

Others have done similar before.

If you are going to generate the co-ordinates separately, you are probably going to either have to use them to write a proper gcode file and run it, or use them piecemeal via axis-remote MDI commands.

regards

Please Log in or Create an account to join the conversation.

More
23 Jun 2015 22:30 #60093 by alexlinuxcnc
Replied by alexlinuxcnc on topic update parameters (X,Y) from file
Dear ArcEye,

Thank you for your ideas. I will try.

Thank you.

Please Log in or Create an account to join the conversation.

More
24 Jun 2015 14:45 #60107 by ArcEye
Replied by ArcEye on topic update parameters (X,Y) from file
If you go the write a gcode file route, I have some unofficial Axis mods at

mgware.co.uk/ > Axis Modifications

Amoungst them is the facility to run a file remotely, as well as load it remotely from axis-remote

The zip contains replacement files for 2.5.3 and 2.6.3, which should work in any subversions of those major versions

regards
The following user(s) said Thank You: alexlinuxcnc

Please Log in or Create an account to join the conversation.

More
29 Jun 2015 20:23 #60249 by alexlinuxcnc
Replied by alexlinuxcnc on topic update parameters (X,Y) from file
Dear ArcEye,

Thank you for sharing your infinite wisdom. God does not answer me this quick.

I will study your file today.

Sincerely,
Alex

Please Log in or Create an account to join the conversation.

More
29 Jun 2015 20:29 #60251 by ArcEye
Replied by ArcEye on topic update parameters (X,Y) from file

Thank you for sharing your infinite wisdom.


Oh I am quite sure it is finite, I may have exceeded my quota already :laugh:

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum