- Thank you received: 0
Read axis position
- piasdom
- New Member
-
Less
More
15 years 6 months ago #9266
by piasdom
Replied by piasdom on topic Re:Read axis position
andypugh wrote:
piasdom wrote:
Probably because they both have the same O-number. EMC2 uses the O-number to tell which Do belongs to each While.
so i can't use the same do/while more then once ?
Because you are not saying "offset X by this much" you are saying "offset X so that the current position is this value"
Thanks
Please Log in to join the conversation.
15 years 6 months ago #9267
by BigJohnT
Replied by BigJohnT on topic Re:Read axis position
The only problem I see is you don't assign #2 back to 0 for the second loop. So being a do then test loop you only get one pass.
I'm not sure if it is required but It is better to use different numbers for your loops.
o100 do
...
o100 while
o101 do
...
o101 while
John
I'm not sure if it is required but It is better to use different numbers for your loops.
o100 do
...
o100 while
o101 do
...
o101 while
John
Please Log in to join the conversation.
- piasdom
- New Member
-
Less
More
- Thank you received: 0
15 years 6 months ago #9269
by piasdom
Replied by piasdom on topic Re:Read axis position
cool...thanks...didn't think about position.
Please Log in to join the conversation.
Time to create page: 0.038 seconds
