HAL iocontrol.0.user-enable-out does not exists

More
31 Mar 2021 11:52 #204206 by MichalHK
Hi,

im new in LinuxCnc.
I have problem that I enable TOOL_TABLE and launch LinuxCNC I give error : iocontrol.0.user-enable-out does not exists. In debug information.
So I dont explain why? How tool table is connected with IO control pin?

Have you any idea?

Configuration here:

#
# NYX v2.3 YMDS2P LinuxCNC 2.8 sample config
#
# 2019, www.yurtaev.com
#

[EMC]
MACHINE = YMDS2P
VERSION = 1.1

[DISPLAY]
DISPLAY = axis
CYCLE_TIME = 0.1
HELP_FILE = doc/help.txt
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.0
MAX_SPINDLE_OVERRIDE = 2.0
MAX_LINEAR_VELOCITY = 250
DEFAULT_LINEAR_VELOCITY = 50
DEFAULT_SPINDLE_SPEED = 100

PROGRAM_PREFIX = /home/user/linuxcnc/nc_files
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1
INCREMENTS = 1mm, 0.1mm, 0.01mm, 0.001mm
PYVCP = nyx-6.xml

[APPLICATIONS]
DELAY = 1
#APP = nyx-mds-startup.sh

[TASK]
TASK = milltask
CYCLE_TIME = 0.01

[RS274NGC]
PARAMETER_FILE = nyx-mds.var

[EMCMOT]
EMCMOT = motmod
SERVO_PERIOD = 888888
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010

[HAL]
HALUI = halui
HALFILE = nyx.hal
HALFILE = nyx-mds-sp.hal
POSTGUI_HALFILE = nyx-6-pgui.hal
#SHUTDOWN = nyx-mds-shutdown.hal

[NYX]
PARAMS = par/deckel-dmc-70v.par
AXES = 7
VEL_SCALE = 10
SP_VEL_SCALE = 10
TRQ_SCALE = 1

[EMCIO]
EMCIO = iov2
CYCLE_TIME = 0.1
#TOOL_TABLE = tools.tbl

[TRAJ]
COORDINATES = X Y Z
HOME = 0 0 0
NO_FORCE_HOMING = 1
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
POSITION_FILE = nyx-mds.pos

[KINS]
KINEMATICS = trivkins
JOINTS = 3

[AXIS_X]
MAX_VELOCITY = 150
MAX_ACCELERATION = 6800
MIN_LIMIT = -500
MAX_LIMIT = 500

[AXIS_Y]
MAX_VELOCITY = 150
MAX_ACCELERATION = 6800
MIN_LIMIT = -500
MAX_LIMIT = 500

[AXIS_Z]
MAX_VELOCITY = 150
MAX_ACCELERATION = 6800.0
MIN_LIMIT = -500.0
MAX_LIMIT = 500

[JOINT_0]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = 150
MAX_ACCELERATION = 6800
BACKLASH = 0.000
SCALE = 10.0
MIN_LIMIT = -500
MAX_LIMIT = 500
FERROR = 10
MIN_FERROR = 5
HOME_OFFSET = 0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
ABSOLUTE_ENCODER = 1

[JOINT_1]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = 150
MAX_ACCELERATION = 6800
BACKLASH = 0.000
SCALE = 10.0
MIN_LIMIT = -500
MAX_LIMIT = 500
FERROR = 10
MIN_FERROR = 5
HOME_OFFSET = 0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
ABSOLUTE_ENCODER = 1

[JOINT_2]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = 150
MAX_ACCELERATION = 6800.0
BACKLASH = 0.000
SCALE = 10.0
MIN_LIMIT = -500.0
MAX_LIMIT = 500
FERROR = 10
MIN_FERROR = 5
HOME_OFFSET = 0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
ABSOLUTE_ENCODER = 1
.

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

More
31 Mar 2021 14:36 - 31 Mar 2021 14:50 #204222 by Michael
Io control deals with the tool change commands. I noticed you are using iov2 which I have always been curious about the difference compared to regular io

github.com/LinuxCNC/linuxcnc/tree/master/src/emc/iotask

These files should help explain the difference and also the relationship with tool table. Link your hal file also to see if the issue is in there. How did you generate your ini and hal files?

There is also an issue with copy and paste into hal. Sometimes copy and paste will copy a hyphen instead of a minus symbol. So if you copy and pasted some portion of hal, try manually retyping it with the minus symbol.
Last edit: 31 Mar 2021 14:50 by Michael.

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

More
31 Mar 2021 14:38 #204224 by cmorley
can you post the actual error log? that could just be because there was another error first so the pin was not made.

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

More
31 Mar 2021 15:19 #204230 by Michael
Also looks like the code specific to io control is looking for tool.tbl you have in your INI:
#TOOL_TABLE = tools.tbl

Still learning this stuff myself so not sure if that makes a difference. Also the file in your config will need to be named correctly.

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

More
02 Apr 2021 18:00 #204540 by MichalHK
Finally problem was wrong tool table that I download from internet. Thanks so much from yours report.

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

Time to create page: 0.096 seconds
Powered by Kunena Forum