Gmoccapy Quedtions issues

More
20 Oct 2014 00:22 #52196 by tkamsker
Gmoccapy Quedtions issues was created by tkamsker
Hi,
i am very happy with gmoccapy on my lathe but ob the mill i have 2 questions

1) i use remap heavily and have an ATC so how do i switch off the manual question of that tool
is there a parameter i overlooked ?

2) i have to prepare some python macros for the workers so my question is how do i get an py file on the macro button ?

the error message shows that he tries to adjust the macro name with an ngc on the end

help would be appreciated
thomas

Please Log in or Create an account to join the conversation.

More
20 Oct 2014 03:19 #52198 by newbynobi
Replied by newbynobi on topic Gmoccapy Quedtions issues

1) i use remap heavily and have an ATC so how do i switch off the manual question of that tool
is there a parameter i overlooked ?


Just do not net the gmoccapy toolchange hal pin. and net the iocontrol.0.tool.... pin to your own remap and toolchange related stuff.

2) i have to prepare some python macros for the workers so my question is how do i get an py file on the macro button ?


Have never tried this, it is on my to do list, but I am afraid there is no possibility jet. Have you tried, using an user M code to start the python script?

Norbert
The following user(s) said Thank You: tkamsker

Please Log in or Create an account to join the conversation.

More
25 Oct 2014 00:09 #52360 by tkamsker
Replied by tkamsker on topic Gmoccapy Quedtions issues
Thank you
the m code rewrite is an good idea but i then rather teach the old master how to use open
and mouse and so ,.. he is used to the TD2500 of the bridgeport ;)-

and i tried to not use
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
do not do the unlink and the above line
my ATC comonent doesnt work how can that be ?

i ll try to find that my be in my config

Please Log in or Create an account to join the conversation.

More
27 Oct 2014 02:48 #52412 by newbynobi
Replied by newbynobi on topic Gmoccapy Quedtions issues
hallo,

xou need to connect the iocontrol.0.tool-change and prepare stuff to your tool changer component, otherwise the tool will never be prepared and never a signal changed will be given.

Norbert

Please Log in or Create an account to join the conversation.

More
27 Oct 2014 02:48 #52413 by newbynobi
Replied by newbynobi on topic Gmoccapy Quedtions issues
hallo,

you need to connect the iocontrol.0.tool-change and prepare stuff to your tool changer component, otherwise the tool will never be prepared and never a signal changed will be given.

Norbert
The following user(s) said Thank You: tkamsker

Please Log in or Create an account to join the conversation.

More
27 Oct 2014 16:49 #52424 by tkamsker
Replied by tkamsker on topic Gmoccapy Quedtions issues
Hi thank you for the fast response i do that perfectly when i use axis
it is even changing the tool perfectly but then gmoccpy asks me kindly some press button if you have changed the tool stuff
how do i switch that off

i need to run lets say an drilling job which requires 3 tools unattended ,..
but if the systems ask for press a button i have a problem.
so if someone knows how to switch that off would be nice
thx
thomas

Please Log in or Create an account to join the conversation.

More
28 Oct 2014 14:57 #52478 by newbynobi
Replied by newbynobi on topic Gmoccapy Quedtions issues
Thomas,

it will not ask, if you do not use the gmoccapy hal pin, but you are forced to connect iocontrol tool change, tool changed prepare and prepared to you changer component!

Norbert

Please Log in or Create an account to join the conversation.

More
02 Nov 2014 02:54 #52674 by tkamsker
Replied by tkamsker on topic Gmoccapy Quedtions issues
thx newbynobi
i change now the postgui file to
# the unlink pin commands are only used, because they are connected
# in core_sim.hal and we use this file to simulate
#check unlinkp iocontrol.0.tool-change
#check unlinkp iocontrol.0.tool-changed

#check net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
#check net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number

net tooloffset-x gmoccapy.tooloffset-x <= motion.tooloffset.x
net tooloffset-z gmoccapy.tooloffset-z <= motion.tooloffset.z

and it worked
i overlooked it
very good job thx

for the old master i need to write an drillmaster.py script which does him the cycles he needs so i will need some time but then
i would like also to have it on an makro button
therefore i ll do the script open source ;)-
thx
thomas

Please Log in or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.086 seconds
Powered by Kunena Forum