5i25/7i76 pncconfig for gmoccapy

More
10 Oct 2014 07:43 #51934 by b2unit
could you help me out?
I thought it just copy and paste level..but it's quite complicate than I think.
it's quite different variables and structure between ini&hal setups for axis and gmoccapy..
here's ini&hal file for my axis..could anyone translate for gmoccapy? or instruction for it?

my condition is linuxcnc2.7 pre~0, gmoccapy 1.2.2, debian weezy and d525mw, 5i25, 7i76.

thanks,
Byoungil Choi
Attachments:

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

More
10 Oct 2014 14:12 #51937 by newbynobi
Hallo Byoungil Choi,

the configs are not as different as you think.

I took a look at your INI and HAL files.

Change in your INI File:

DISPLAY = axis
to
DISPLAY = axis

As you did not supply your postgui hal file, I am not able to see if there will be made some connections to the pyVCP panel and if all the halui pin are needed.

So for the first test I recommend to comment in the INI File the following lines:
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
SHUTDOWN = shutdown.hal
to
# HALFILE = custom.hal
# POSTGUI_HALFILE = postgui_call_list.hal
# SHUTDOWN = shutdown.hal

so they will not be used.

Then go to your hal File and change
loadusr -W hal_manualtoolchange
net tool-change-request iocontrol.0.tool-change => hal_manualtoolchange.change
net tool-change-confirmed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
to
# loadusr -W hal_manualtoolchange
# net tool-change-request iocontrol.0.tool-change => hal_manualtoolchange.change
# net tool-change-confirmed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
# net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
# net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

try to start your config and report.

There are many usefull informations in the WIKI

and as you use master, the information is also in the folder ~/linuxcnc-dev/docs if you did ./configure --enable-build-documentation

Norbert

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

More
12 Oct 2014 04:41 #51971 by akb1212

Change in your INI File:

DISPLAY = axis
to
DISPLAY = axis


I do think you mean to say change to:

DISPLAY = gmoccapy

????
;)

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

More
12 Oct 2014 16:57 - 13 Oct 2014 13:45 #51976 by newbynobi
of course DISPLAY = gmoccapy is correct.

Shame on me and copy and paste ;-)

Norbert
Last edit: 13 Oct 2014 13:45 by newbynobi.

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

More
13 Oct 2014 09:59 #51992 by b2unit
today morining I applied the setting which is edited by Mr. Nobert's advice.
it's working!

I just checked
emergency stop connected to pins via hal.
x, y, z movements & change velocity
spindle on/off & change rpm & direction,
physical limit switches conneted to pins via hal.
till now everything is fine. thanks! :laugh:

I will test more and then ask something more details for setting. thanks again. :laugh:

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

More
13 Oct 2014 13:52 #51996 by newbynobi
Hallo Byoungil Choi,

glad that it is working.

If you want to use the manual toolchange option, please do not forget to place the following lines in your postgui_hal file.

# Use gmoccapy toolchanger..
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

Norbert

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

More
17 Oct 2014 06:57 #52151 by b2unit
now i'm working on spindle rpm meter & spindle at speed display on gmoccapy default UI.
but I cound not find name of halpin for hal connetion. could you let me know?

sorry for basic question..i'm a newbie for programing.

thanks,
Byoungil Choi

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

More
18 Oct 2014 21:02 #52170 by newbynobi
Hallo, did you read the Wiki?
All hal pin are mentioned and displayed there.

To help more we do need more detailed information.

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

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

More
21 Oct 2014 10:07 #52229 by b2unit
i was too hurry. :silly:
thanks!

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

More
04 Nov 2014 20:08 #52760 by b2unit
I set auto tool measurement by following gmoccapy wiki.
right now I didn't make any change in source codes just copy and paste the code for auto tool measurement.

I loaded gcode program,
homed x, y, z axis,
moved to workpiece and set x=0, y=0,
machine started

but after z axis homed and I got "cannot use g53 incremental" alert window.
where I have to change? let me know..

thanks,
Byoungil Choi
Attachments:

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

Moderators: cmorley
Time to create page: 0.085 seconds
Powered by Kunena Forum