Back
[06:47:31] <micges> micges is now known as micges_plasma
[15:42:18] <micges> hello
[15:43:32] <micges> Today I was using oryginal emc master connected to my machine and I noticed some strange behaviour in Axis
[15:45:08] <micges> I have pyvcp panel button connected to halui.command-nn, when I pressed button on emc disabled, emc shows error, when after that I pressed F2 to enable machine, Axis was unresponsible 2 up to 4 seconds
[15:46:53] <micges> another stranges was Axis unresponsible during deacceleration, when hit Escape to stop running program
[15:48:13] <micges> I noticed that both problem are c.wait_complete in some places [command.task_stop() and last wait_complete in request_mode()]
[15:49:07] <micges> any comments if second one is required?
[16:01:01] <jepler> you mean ensure_mode()? The motivation for that is as follows:
[16:01:18] <jepler> you're about to do an operation that requires a specific mode. For instance, "touch off" requires MDI mode
[16:01:45] <jepler> to successfully issue the mdi command you have to know that task has completed the request to switch to mdi mode
[16:08:21] <micges> mhm
[16:15:21] <jepler> from old axis cvs, before it was integrated with emc2:
http://pastebin.ca/1551623
[16:17:54] <jepler> the first wait_complete was moved out of the function in a87068e8 in emc2 git
[16:20:25] <micges> so if they are importand there is some issue I've tracked
[16:20:36] <jepler> incidentally I went ahead and put the git import of the old axis cvs up:
http://git.unpy.net/view/axis.git -- you can view that revision I pastebinned at
http://git.unpy.net/view?p=axis.git;a=commit;h=f02623
[16:21:38] <micges> thanks
[16:22:22] <jepler> the change messages should give you some ideas about things to test if you want to experimentally remove them in your own tree (but be sure not to push such a change accidentally!)
[16:22:36] <jepler> (which raises the question: how can one be sure not to do something accidentally?)
[16:27:46] <micges> on pyvcp+halui issue I've mentioned when pressing F2, sometimes timeout occured in c.wait_complete() in ensure_mode() in set_mode_from_tab
[16:28:11] <micges> I can't track any more info
[16:28:21] <micges> bbl, dinner
[21:45:03] <CIA-8> EMC: 03mshaver 07master * r5e3968e3e657 10/configs/smithy/ (10 files): Remove redundent ini file entries and fix spindle door/run switch issue in 622.hal
[22:54:59] <JanisCNC> hi
[22:55:45] <JanisCNC> i neep help with the implementation of an pyvcp panel
[22:58:49] <CIA-8> EMC: 03mshaver 07master * r257bf15a109f 10/configs/smithy/ (1240.hal 622.hal 622_4axis.hal): Fix spindle door/run switch issue in 622_4axis.hal and 1240.hal and increase spindle accel rate for 622 machines.
[23:01:52] <JanisCNC> i need to cotrol two I/O pins of the parport with the switches of the pyvcp panel
[23:02:32] <JanisCNC> to do this i used the parporttest of the documentation
[23:15:31] <JanisCNC> i need to control two I/O pins of the parport with switches of the pyvcp panel which i created after the instructions of the documentation
[23:16:49] <JanisCNC> the hal-file is started by the ini and is defined as a "POSTGUI_HALFILE"