Hi all CNC-programmers.
We are getting an Okuma MB5000HII with a huge cube so i'm trying to invent some autofunctions to it.
Since the machine isn't here yet I can't really try things out.
So will pop some questions down.
1)
When defining variables, can i use another variable to loop it into an array?
Example:
DC=0
N100
DC=DC+1
FX[DC]=1
IF[DC EQ 32]N101
GOTO N100
N101
What i'm trying to achive is to set a number of "fixtures" as active by giving them the value 1 and use it as an array
I know i can repeat the line FX[1]=1 32 times but since alot of settings in the program will be about what fixture it's working on the FX[DC] function would be awesome.
Many Thanks
We are getting an Okuma MB5000HII with a huge cube so i'm trying to invent some autofunctions to it.
Since the machine isn't here yet I can't really try things out.
So will pop some questions down.
1)
When defining variables, can i use another variable to loop it into an array?
Example:
DC=0
N100
DC=DC+1
FX[DC]=1
IF[DC EQ 32]N101
GOTO N100
N101
What i'm trying to achive is to set a number of "fixtures" as active by giving them the value 1 and use it as an array
I know i can repeat the line FX[1]=1 32 times but since alot of settings in the program will be about what fixture it's working on the FX[DC] function would be awesome.
Many Thanks