gmoccapy error pins not found
- Aciera
- Topic Author
- Offline
- Administrator
Less
More
- Posts: 3947
- Thank you received: 1705
18 Oct 2019 08:24 #148173
by Aciera
gmoccapy error pins not found was created by Aciera
I'm trying to set up feedoverride in gmoccapy for my machine.
Whenever I use a gmoccapy-pin in the hal I get the error :
./custom_postgui.hal:12: parameter or pin 'gmoccapy.feed-override.analog-enable' not found
This is my custom_postgui hal:
Here is my .INI
Whenever I use a gmoccapy-pin in the hal I get the error :
./custom_postgui.hal:12: parameter or pin 'gmoccapy.feed-override.analog-enable' not found
This is my custom_postgui hal:
# Include your custom_postgui HAL commands here
# This file will not be overwritten when you run PNCconf again
# ---Potentiometer Overrides
loadrt scale names=scale.spindle,scale.feed
addf scale.feed servo-thread
setp gmoccapy.feed-override.analog-enable TRUE
setp scale.feed.gain 0.0417
net feed-override-raw classicladder.0.floatout-00 => scale.feed.in
#net feed-override-scaled scale.feed.out => gmoccapy.feed-override.direct-value
Here is my .INI
Warning: Spoiler!
# Generated by PNCconf at Sat Sep 14 11:24:43 2019
# Änderungen an dieser Datei werden beim nächsten
# overwritten when you run PNCconf again
[EMC]
MACHINE = Aciera_vertikal_4_Achsen
DEBUG = 0
[DISPLAY]
#DISPLAY = axis
DISPLAY = gmoccapy
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 0
PROGRAM_PREFIX = /home/aciera/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.000000
MAX_LINEAR_VELOCITY = 25.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
SERVO_PERIOD = 1000000
[HOSTMOT2]
# **** This is for info only ****
# DRIVER0=hm2_eth
# BOARD0=7i76e
[HAL]
HALUI = halui
HALFILE = Aciera_vertikal_4_Achsen.hal
HALFILE = custom.hal
HALFILE = custom_postgui.hal
SHUTDOWN = shutdown.hal
[HALUI]
[TRAJ]
AXES = 4
COORDINATES = X Y Z A
MAX_ANGULAR_VELOCITY = 360.00
DEFAULT_ANGULAR_VELOCITY = 36.00
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 2.50
MAX_VELOCITY = 25
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 24.0
MAX_ACCELERATION = 300.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 25
STEPGEN_MAXACCEL = 375
P = 8
I = 1
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0.006
MAX_OUTPUT = 0
ENCODER_SCALE = 200
# these are in nanoseconds
DIRSETUP = 2500
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = 3840
MIN_LIMIT = -0.1
MAX_LIMIT = 400.1
HOME_OFFSET = -5.0
HOME_SEARCH_VEL = -24
HOME_LATCH_VEL = -10
HOME_FINAL_VEL = 15
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 16.0
MAX_ACCELERATION = 300.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 20
STEPGEN_MAXACCEL = 375
P = 8
I = 1
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0.006
MAX_OUTPUT = 0
ENCODER_SCALE = 200
# these are in nanoseconds
DIRSETUP = 2500
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = -7680
MIN_LIMIT = -250.1
MAX_LIMIT = 0.1
HOME_OFFSET = -20.0
HOME_SEARCH_VEL = 20
HOME_LATCH_VEL = -10
HOME_FINAL_VEL = 15
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 16.0
MAX_ACCELERATION = 300.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 20
STEPGEN_MAXACCEL = 375
P = 8
I = 1
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0.006
MAX_OUTPUT = 0
ENCODER_SCALE = 200
# these are in nanoseconds
DIRSETUP = 2500
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = +7680
MIN_LIMIT = -245.0
MAX_LIMIT = 0.1
HOME_OFFSET = -46.0
HOME_OFFSET = -5.0
HOME_SEARCH_VEL = 20
HOME_LATCH_VEL = -10
HOME_FINAL_VEL = 15
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
#********************
# Axis A
#********************
[AXIS_3]
TYPE = ANGULAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 120.0
MAX_ACCELERATION = 800.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 150
STEPGEN_MAXACCEL = 1000
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
# these are in nanoseconds
DIRSETUP = 2500
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = 948.1481
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
HOME_OFFSET = 0.0
#********************
# Spindle
#********************
[SPINDLE_9]
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 2000
ENCODER_SCALE = 150.0
OUTPUT_SCALE = 2000
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 2000
# Änderungen an dieser Datei werden beim nächsten
# overwritten when you run PNCconf again
[EMC]
MACHINE = Aciera_vertikal_4_Achsen
DEBUG = 0
[DISPLAY]
#DISPLAY = axis
DISPLAY = gmoccapy
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 0
PROGRAM_PREFIX = /home/aciera/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.000000
MAX_LINEAR_VELOCITY = 25.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
SERVO_PERIOD = 1000000
[HOSTMOT2]
# **** This is for info only ****
# DRIVER0=hm2_eth
# BOARD0=7i76e
[HAL]
HALUI = halui
HALFILE = Aciera_vertikal_4_Achsen.hal
HALFILE = custom.hal
HALFILE = custom_postgui.hal
SHUTDOWN = shutdown.hal
[HALUI]
[TRAJ]
AXES = 4
COORDINATES = X Y Z A
MAX_ANGULAR_VELOCITY = 360.00
DEFAULT_ANGULAR_VELOCITY = 36.00
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 2.50
MAX_VELOCITY = 25
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 24.0
MAX_ACCELERATION = 300.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 25
STEPGEN_MAXACCEL = 375
P = 8
I = 1
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0.006
MAX_OUTPUT = 0
ENCODER_SCALE = 200
# these are in nanoseconds
DIRSETUP = 2500
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = 3840
MIN_LIMIT = -0.1
MAX_LIMIT = 400.1
HOME_OFFSET = -5.0
HOME_SEARCH_VEL = -24
HOME_LATCH_VEL = -10
HOME_FINAL_VEL = 15
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 16.0
MAX_ACCELERATION = 300.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 20
STEPGEN_MAXACCEL = 375
P = 8
I = 1
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0.006
MAX_OUTPUT = 0
ENCODER_SCALE = 200
# these are in nanoseconds
DIRSETUP = 2500
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = -7680
MIN_LIMIT = -250.1
MAX_LIMIT = 0.1
HOME_OFFSET = -20.0
HOME_SEARCH_VEL = 20
HOME_LATCH_VEL = -10
HOME_FINAL_VEL = 15
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 16.0
MAX_ACCELERATION = 300.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 20
STEPGEN_MAXACCEL = 375
P = 8
I = 1
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0.006
MAX_OUTPUT = 0
ENCODER_SCALE = 200
# these are in nanoseconds
DIRSETUP = 2500
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = +7680
MIN_LIMIT = -245.0
MAX_LIMIT = 0.1
HOME_OFFSET = -46.0
HOME_OFFSET = -5.0
HOME_SEARCH_VEL = 20
HOME_LATCH_VEL = -10
HOME_FINAL_VEL = 15
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
#********************
# Axis A
#********************
[AXIS_3]
TYPE = ANGULAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 120.0
MAX_ACCELERATION = 800.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 150
STEPGEN_MAXACCEL = 1000
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
# these are in nanoseconds
DIRSETUP = 2500
DIRHOLD = 1000
STEPLEN = 1000
STEPSPACE = 1000
STEP_SCALE = 948.1481
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
HOME_OFFSET = 0.0
#********************
# Spindle
#********************
[SPINDLE_9]
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 2000
ENCODER_SCALE = 150.0
OUTPUT_SCALE = 2000
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 2000
Please Log in or Create an account to join the conversation.
- Aciera
- Topic Author
- Offline
- Administrator
Less
More
- Posts: 3947
- Thank you received: 1705
18 Oct 2019 08:37 #148176
by Aciera
Replied by Aciera on topic gmoccapy error pins not found
I've just solved this myself!
The postgui.hal needs to be called by POSTGUI_HALFILE not just HALFILE in the INI.
The postgui.hal needs to be called by POSTGUI_HALFILE not just HALFILE in the INI.
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
Less
More
- Posts: 1453
- Thank you received: 526
18 Oct 2019 10:16 #148180
by RotarySMP
Replied by RotarySMP on topic gmoccapy error pins not found
What machine are you usnig Gmoccapy on? Norbert did a fantastic job with this GUI, I really like it.
Mark
Mark
Please Log in or Create an account to join the conversation.
- Aciera
- Topic Author
- Offline
- Administrator
Less
More
- Posts: 3947
- Thank you received: 1705
18 Oct 2019 11:33 #148182
by Aciera
Replied by Aciera on topic gmoccapy error pins not found
I am refitting an old mechanical Aciera F5 that used to be run on Mach3.
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
Less
More
- Posts: 1453
- Thank you received: 526
18 Oct 2019 12:06 #148184
by RotarySMP
Replied by RotarySMP on topic gmoccapy error pins not found
Those are really nice machines. Have you posted photos?
Mark
Mark
Please Log in or Create an account to join the conversation.
- Aciera
- Topic Author
- Offline
- Administrator
Less
More
- Posts: 3947
- Thank you received: 1705
19 Oct 2019 18:16 #148353
by Aciera
Replied by Aciera on topic gmoccapy error pins not found
They are nice machines. Built in a different era, they just don't make machinery like that anymore. Maybe when I finally get my pile of work done thats waiting to be finished I'll post a few pictures.
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.060 seconds