- Posts: 37
- Thank you received: 0
Array variable in G-code
- mighty_mick
- Topic Author
- Offline
- Junior Member
-
Less
More
2 years 7 months ago #296447
by mighty_mick
Array variable in G-code was created by mighty_mick
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
Thank you for your time,
Berkay
Please Log in to join the conversation.
2 years 7 months ago #296462
by andypugh
Replied by andypugh on topic Array variable in G-code
Yes, sort-of.
This is a valid syntax:
This would store the value of 25.4 in the parameter #103
This is a valid syntax:
Code:
#1 = 3
#[100 + #1] = 25.4
This would store the value of 25.4 in the parameter #103
Please Log in to join the conversation.
- mighty_mick
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
2 years 7 months ago #296708
by mighty_mick
Replied by mighty_mick 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.
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 to join the conversation.
Time to create page: 0.078 seconds
