run from here does not work on latest 2.5 branch
21 Nov 2011 07:07 #14978
by mhaberler
Replied by mhaberler on topic Re:run from here does not work on latest 2.5 branch
Ok, so I replicated your setup after an hour.
I run Test.ngc .
I do nothing.
I get a message "clamp busy when it should be empty, program will stop".
I finally figure I need to press key 1 after starting within a certain time
I get a message "Spindle does not stop"
I figure I need to press some other key within a certain time
No, I wont figure this out.
You please invest your time first and narrow the error down to something manageable
Please remove any irrelevant stuff - afaict the pin I/O , time dependent and HAL input stuff is completely irrelevant for the bug you're claiming exists
If it is an oword/rfl bug you should be able to demonstrate with a main ngc program and a single subroutine, no pin io, not hal_input component, no fluff created by some CAM program.
Then return with a clear sequence of steps until the bug shows.
-m
I run Test.ngc .
I do nothing.
I get a message "clamp busy when it should be empty, program will stop".
I finally figure I need to press key 1 after starting within a certain time
I get a message "Spindle does not stop"
I figure I need to press some other key within a certain time
No, I wont figure this out.
You please invest your time first and narrow the error down to something manageable
Please remove any irrelevant stuff - afaict the pin I/O , time dependent and HAL input stuff is completely irrelevant for the bug you're claiming exists
If it is an oword/rfl bug you should be able to demonstrate with a main ngc program and a single subroutine, no pin io, not hal_input component, no fluff created by some CAM program.
Then return with a clear sequence of steps until the bug shows.
-m
Please Log in or Create an account to join the conversation.
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
21 Nov 2011 08:02 - 21 Nov 2011 08:35 #14979
by grandixximo
Replied by grandixximo on topic Re:run from here does not work on latest 2.5 branch
I'm sorry i tough that the I/O stuff was relevant to the bug, but you are right it's not, i've been able to make a much simpler shorter and cleaner sequence.
please have a look at it.
the step to see the bug is playing test.ngc and see what it does, then load tool 3 (T3M6) play test2.ngc which is a trimmed version of the first test file and see what the machine should do if everything above the second o101 call was not there.
Now load again tool 3 (T3M6) open the first test file and try to run from the second o101 call (line 20), see that what you get is different from playing the test2.ngc which is the bug.
If you start from line 20 of first test file with no tool loaded, see the interpreter executing first and second o101 call without the drilling movement in between.
please have a look at it.
the step to see the bug is playing test.ngc and see what it does, then load tool 3 (T3M6) play test2.ngc which is a trimmed version of the first test file and see what the machine should do if everything above the second o101 call was not there.
Now load again tool 3 (T3M6) open the first test file and try to run from the second o101 call (line 20), see that what you get is different from playing the test2.ngc which is the bug.
If you start from line 20 of first test file with no tool loaded, see the interpreter executing first and second o101 call without the drilling movement in between.
Last edit: 21 Nov 2011 08:35 by grandixximo.
Please Log in or Create an account to join the conversation.
21 Nov 2011 08:19 #14980
by mhaberler
Replied by mhaberler on topic Re:run from here does not work on latest 2.5 branch
excellent.
Now note you have to spoon-feed us dull developer folks.
1. Now exactly what do I have to do?
2. What would you have expected?
3. What is wrong?
Now note you have to spoon-feed us dull developer folks.
1. Now exactly what do I have to do?
2. What would you have expected?
3. What is wrong?
Please Log in or Create an account to join the conversation.
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
21 Nov 2011 08:37 #14981
by grandixximo
Replied by grandixximo on topic Re:run from here does not work on latest 2.5 branch
i was editing the post adding those information, i think now it's clear.
Please Log in or Create an account to join the conversation.
21 Nov 2011 09:49 #14982
by mhaberler
Replied by mhaberler on topic Re:run from here does not work on latest 2.5 branch
could you work with this example and modify it until your bug shows?
o100 sub
(debug, sub-1: 5400=#5400)
t#1m6
(debug, sub-2: 5400=#5400)
o100 endsub
o100 call [2]
(debug, #5400)
m2
-m
o100 sub
(debug, sub-1: 5400=#5400)
t#1m6
(debug, sub-2: 5400=#5400)
o100 endsub
o100 call [2]
(debug, #5400)
m2
-m
Please Log in or Create an account to join the conversation.
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
21 Nov 2011 10:25 - 21 Nov 2011 11:07 #14984
by grandixximo
Replied by grandixximo on topic Re:run from here does not work on latest 2.5 branch
I attached the bug sequence.
the bug is that if you run from line 3 of test.ngc you get
sub-1: #5400=0
sub-1: #5400=1
sub-2: #5400=2
2
sub-1: #5400=2
sub-2: #5400=3
3
but this is what i think i should get
sub-1: #5400=0
sub-2: #5400=2
2
sub-1: #5400=2
sub-2: #5400=3
3
There should be no sub-1: #5400=1 because that was from the call in line 1 of test.ngc, such line should not exist since run from line should have skipped it.
Notice that what i expect is the same result as if you delete line 1 and 2 in test.ngc and you play it.
PS
Since silent gratitude is not of much use to anyone, i want to thank mhaberler for his patience and his time, i have no other words but thanks.
the bug is that if you run from line 3 of test.ngc you get
sub-1: #5400=0
sub-1: #5400=1
sub-2: #5400=2
2
sub-1: #5400=2
sub-2: #5400=3
3
but this is what i think i should get
sub-1: #5400=0
sub-2: #5400=2
2
sub-1: #5400=2
sub-2: #5400=3
3
There should be no sub-1: #5400=1 because that was from the call in line 1 of test.ngc, such line should not exist since run from line should have skipped it.
Notice that what i expect is the same result as if you delete line 1 and 2 in test.ngc and you play it.
PS
Since silent gratitude is not of much use to anyone, i want to thank mhaberler for his patience and his time, i have no other words but thanks.
Last edit: 21 Nov 2011 11:07 by grandixximo.
Please Log in or Create an account to join the conversation.
21 Nov 2011 11:34 #14986
by mhaberler
Replied by mhaberler on topic Re:run from here does not work on latest 2.5 branch
ok, we have a case - that clearly is in error
I filed it as Bug ID 3440704: sourceforge.net/tracker/?func=detail&aid..._id=6744&atid=106744
-Michael
I filed it as Bug ID 3440704: sourceforge.net/tracker/?func=detail&aid..._id=6744&atid=106744
-Michael
Please Log in or Create an account to join the conversation.
21 Nov 2011 16:16 #14995
by mhaberler
Replied by mhaberler on topic Re:run from here does not work on latest 2.5 branch
Please Log in or Create an account to join the conversation.
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
22 Nov 2011 01:34 - 22 Nov 2011 01:35 #15009
by grandixximo
Replied by grandixximo on topic Re:run from here does not work on latest 2.5 branch
I'm subscribed to the bug report, i think we can go on the discussion on sourceforge
For anyone interested here:
Bug ID 3440704: sourceforge.net/tracker/?func=detail&aid..._id=6744&atid=106744
For anyone interested here:
Bug ID 3440704: sourceforge.net/tracker/?func=detail&aid..._id=6744&atid=106744
Last edit: 22 Nov 2011 01:35 by grandixximo.
Please Log in or Create an account to join the conversation.
Time to create page: 0.147 seconds