Array variable in G-code

More
21 Mar 2024 08:11 #296447 by Özkarhan
Hello folks! I am wondering about is there any way to define an array variable in G-code? The main reason makes me wanna know this is about aligning columns in my log file. I am doing some repeated measurement operations in forward and reverse way. During this process, if i log the data one after another, rows are being increased in my log file, and i need to arrange that file to align forward and reverse measurements in excel by myself. I think keeping the data in the array can be solution. 

Thank you for your time,
Berkay

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

More
21 Mar 2024 12:09 #296462 by andypugh
Replied by andypugh on topic Array variable in G-code
Yes, sort-of.

This is a valid syntax:
#1 = 3
#[100 + #1] = 25.4

This would store the value of 25.4 in the parameter #103
The following user(s) said Thank You: meister

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

More
25 Mar 2024 10:19 #296708 by Özkarhan
Replied by Özkarhan on topic Array variable in G-code
Thank you for your answer Andy.
Is there any discord channel or something like that to discuss these kind of topics? It would be great if i can join that channel.

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

Time to create page: 0.232 seconds
Powered by Kunena Forum