Calibration dialog incomplete and error message

More
20 Jul 2010 18:53 - 20 Jul 2010 19:06 #3432 by tklocke
Hi,

I'm actually using EMC2_2.4.2 and TKEMC. After I opened the calibration dialog I can not see the parameters of axis 1 and 2.

Refresh on Axis 0 is producing this error:

invalid command name ".main.top.fpage0.next-setp motenc.0.enc-00-scale 1000"
invalid command name ".main.top.fpage0.next-setp motenc.0.enc-00-scale 1000"
while executing
"$labelname-$name configure -state $entrystate"
(procedure "iniTuneButtonpress" line 35)
invoked from within
"iniTuneButtonpress refresh"
invoked from within
".main.top.fpage0.buttons.refresh invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0

    "
    (procedure "tk::ButtonUp" line 22)
    invoked from within
    "tk::ButtonUp .main.top.fpage0.buttons.refresh"
    (command bound to event)


Refresh on Axis 1 is producing this error:

can't read "ininamearray(1)": no such element in array
can't read "ininamearray(1)": no such element in array
while executing
"set ininamearray($axisentry)"
(procedure "iniTuneButtonpress" line 34)
invoked from within
"iniTuneButtonpress refresh"
invoked from within
".main.top.fpage1.buttons.refresh invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0

    "
    (procedure "tk::ButtonUp" line 22)
    invoked from within
    "tk::ButtonUp .main.top.fpage1.buttons.refresh"
    (command bound to event)



Refresh on Axis 2 is producing this error:

can't read "ininamearray(2)": no such element in array
can't read "ininamearray(2)": no such element in array
while executing
"set ininamearray($axisentry)"
(procedure "iniTuneButtonpress" line 34)
invoked from within
"iniTuneButtonpress refresh"
invoked from within
".main.top.fpage2.buttons.refresh invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0

    "
    (procedure "tk::ButtonUp" line 22)
    invoked from within
    "tk::ButtonUp .main.top.fpage2.buttons.refresh"
    (command bound to event)


Screenshot:

My motenc.ini is:
# EMC controller parameters for generic controller. Make these what you need
# for your system.

# General note: Comments can either be preceded with a # or ; - either is
# acceptable, although # is in keeping with most linux config files.

# General section -------------------------------------------------------------
[EMC]

# Version of this INI file
VERSION =               $Revision: 1.13 $

# Name of machine, for use with display, etc.
MACHINE =               STARRAG

# Name of NML file to use, default is emc.nml
#NML_FILE =              emc.nml

# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG =                0x00000003
#DEBUG =                0x00000007
DEBUG = 0

# Sections for display options ------------------------------------------------
[DISPLAY]

# Name of display program, e.g., tkemc
DISPLAY =               tkemc
#DISPLAY =              axis
#DISPLAY = 		touchy

# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME =            0.0500

# Path to help file
HELP_FILE =             tkemc.txt

# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET =       RELATIVE

# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK =     ACTUAL

# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE =     1.5

# Spindle speed override
MIN_SPINDLE_OVERRIDE=   0.0
MAX_SPINDLE_OVERRIDE=   1.0


# Prefix to be used
PROGRAM_PREFIX = /home/cncfh/emc2/nc_files

# Introductory graphic
INTRO_GRAPHIC =         emc2.gif
INTRO_TIME =            5

# Task controller section -----------------------------------------------------
[TASK]

# Name of task controller program, e.g., milltask
TASK =                  milltask

# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME =            0.010

# Part program interpreter section --------------------------------------------
[RS274NGC]

# File containing interpreter variables
PARAMETER_FILE =        motenc.var

# Motion control section ------------------------------------------------------
[EMCMOT]

EMCMOT =                motmod

# Key for real OS shared memory, e.g., for simulated motion
SHMEM_KEY =             101

# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT =          1.0

# Interval between tries to emcmot, in seconds
COMM_WAIT =             0.010

# Base task period, in nanoseconds - this is the fastest thread in the machine
BASE_PERIOD =           100000
# Servo task period, in nanoseconds - will be rounded to an integer multiple
#   of BASE_PERIOD
SERVO_PERIOD =          1000000
# Trajectory Planner task period, in nanoseconds - will be rounded to an
#   integer multiple of SERVO_PERIOD
TRAJ_PERIOD =           1000000

# Hardware Abstraction Layer section --------------------------------------------------
[HAL]

# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.

# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE =               core_servo.hal
HALFILE =               motenc_motion.hal
HALFILE =               motenc_io.hal

#Load HALUI component
HALUI = halui

# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD =               save neta

# Trajectory planner section --------------------------------------------------
[TRAJ]

AXES =                  3
# COORDINATES =         X Y Z R P W
COORDINATES =           X Y Z 
HOME =                  0 0 0
# changed from inch to mm
LINEAR_UNITS =          mm
ANGULAR_UNITS =         degree
CYCLE_TIME =            0.010
DEFAULT_VELOCITY =      5.0
MAX_VELOCITY =          25.0
DEFAULT_ACCELERATION =  50.0
MAX_ACCELERATION =      50.0
#MAX_VELOCITY =          25.0
#DEFAULT_ACCELERATION =  15.0
#MAX_ACCELERATION =      25.0
# New added - allow machine to start with the same
# coordinates it had on shutdown.
POSITION_FILE =         position.txt

NO_FORCE_HOMING = 1

# Axes sections ---------------------------------------------------------------

# First axis
[AXIS_0]

TYPE =                  LINEAR
HOME =                  -15.000
MAX_VELOCITY =          83.334
#MAX_VELOCITY =          83.334
MAX_ACCELERATION =      15.0
#MAX_ACCELERATION =      25.0
BACKLASH =              0.0232
INPUT_SCALE =           1000
OUTPUT_SCALE =          1
OUTPUT_OFFSET =         -0.02
MIN_LIMIT =             -775.0
MAX_LIMIT =             0.1
FERROR =                0.5
MIN_FERROR =            0.5
HOME_OFFSET =           -15.0
HOME_SEARCH_VEL =       8.0
HOME_LATCH_VEL =        -1.0
HOME_USE_INDEX =        YES
HOME_IGNORE_LIMITS =    NO
HOME_FINAL_VEL =	1.0
MIN_OUTPUT =            -10.0
MAX_OUTPUT =            10
# PID tuning params
DEADBAND =              0
P =                     0.8
I =                     0
D =                     0
FF0 =                   0
FF1 =                   0.072
FF2 =			0
BIAS =                  0.002

# Second axis
[AXIS_1]

TYPE =                  LINEAR
HOME =                  -15.000
MAX_VELOCITY =          50.000
#MAX_VELOCITY =          50.000
MAX_ACCELERATION =      15.0
#MAX_ACCELERATION =      17.0
BACKLASH =              0.0249
INPUT_SCALE =           1000
OUTPUT_SCALE =          0.997
OUTPUT_OFFSET =         -0.005
MIN_LIMIT =             -495.0
MAX_LIMIT =             0.1
FERROR =                0.3
MIN_FERROR =            0.3
HOME_OFFSET =           -15.0
HOME_SEARCH_VEL =       8.0
HOME_LATCH_VEL =        -1.0
HOME_USE_INDEX =        YES
HOME_IGNORE_LIMITS =    NO
HOME_FINAL_VEL =	1.0
# New added
MIN_OUTPUT =            -10.0
MAX_OUTPUT =            10
DEADBAND =              0
P =                     3
I =			0
D =                     0
FF0 =                   0
FF1 =                   0.139
FF2 =			0
BIAS =                  0.005

# Third axis
[AXIS_2]

TYPE =                  LINEAR
HOME =                  -10.000
MAX_VELOCITY =          25.000
#MAX_VELOCITY =          25.000
MAX_ACCELERATION =      15.0
BACKLASH =              0.019133
INPUT_SCALE =           1000
OUTPUT_SCALE =          0.996
OUTPUT_OFFSET =         0.01
MIN_LIMIT =             -395.0
MAX_LIMIT =             0.1
FERROR =                0.3
MIN_FERROR =            0.3
HOME_OFFSET =           -10.0
HOME_SEARCH_VEL =       8.0
HOME_LATCH_VEL =        -1.0
HOME_USE_INDEX =        YES
HOME_IGNORE_LIMITS =    NO
HOME_FINAL_VEL =	1.0
# New added
MIN_OUTPUT =            -10.0
# change from 1.0 to 10.0
MAX_OUTPUT =            10
# PID tuning params
DEADBAND =              0
P =                     7
I =                     0
D =                     0
FF0 =                   0
FF1 =                   0.2835
FF2 =			0
BIAS =                  -0.0022


# section for main IO controller parameters -----------------------------------
[EMCIO]

# Name of IO controller program, e.g., io
EMCIO =                 io

# cycle time, in seconds
CYCLE_TIME =            0.100

# tool table file
TOOL_TABLE =            motenc.tbl

TOOL_CHANGE_POSITION = 	-325 	-490 	0
TOOL_CHANGE_QUILL_UP = 	1

Has anybody an idea what is going on?

Thank you so much in advance for offering your time by helping me.

Toby
Last edit: 20 Jul 2010 19:06 by tklocke.

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

More
21 Jul 2010 13:37 #3447 by BigJohnT
That was broken sometime between 2.4.0 and 2.4.1. The developers know about it.

John

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

Time to create page: 0.324 seconds
Powered by Kunena Forum