- Posts: 49
- Thank you received: 0
Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
has one of you an idea why this message when you submit the program the error message:
Named parameter #<_ini[axis_2]max_limit> not defined
Attachment not found
Native Cam Version 0.1.14d
Linuxcnc 2.9
appears. It does not matter if I do not give up a task or a task like facing. Here is my ini.
[AXIS_X]
MIN_LIMIT = -10000
MAX_LIMIT = 10000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
HOME_OFFSET = 0.0
HOME_SEQUENCE = 0
VOLATILE_HOME = 0
SCALE = 100
ENC_SCALE = 4096
FERROR = 1
MIN_LIMIT = -10000
MAX_LIMIT = 10000
BACKLASH = 0.000
P = 150.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 0.0
FF2 = 0.0
DEADBAND = 0.001
MAX_OUTPUT = 200.0
[
[AXIS_Z]
MIN_LIMIT = -10000
MAX_LIMIT = 1000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
HOME_OFFSET = 0.0
HOME_SEQUENCE = 0
VOLATILE_HOME = 0
SCALE = 100
ENC_SCALE = 4096
FERROR = 1
MIN_LIMIT = -10000
MAX_LIMIT = 10000
BACKLASH = 0.000
P = 150.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 0.0
FF2 = 0.0
DEADBAND = 0.001
MAX_OUTPUT = 200.0
Please Log in to join the conversation.
so for your best guess is to just copy past
[AXIS_X]
MIN_LIMIT = -10000
MAX_LIMIT = 10000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
to
[AXIS_0]
MIN_LIMIT = -10000
MAX_LIMIT = 10000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
axis_2 is Z
Please Log in to join the conversation.
if I use it like this:
[AXIS_0]
MIN_LIMIT = -10000
MAX_LIMIT = 10000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
...
[AXIS_2]
MIN_LIMIT = -10000
MAX_LIMIT = 10000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
comes the message:
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/cnc/linuxcnc/configs/Erna_v1_e Modbus'
Machine configuration file is 'Erna_V1e.ini'
INIFILE=/home/cnc/linuxcnc/configs/Erna_v1_e Modbus/Erna_V1e.ini
VERSION=1.1
check_config: (trivkins kinematics) WARNING:
Unspecified [JOINT_0]MAX_VELOCITY, default used: 1.0
Unspecified [JOINT_0]MAX_ACCELERATION, default used: 1.0
Unspecified [JOINT_1]MAX_VELOCITY, default used: 1.0
Unspecified [JOINT_1]MAX_ACCELERATION, default used: 1.0
Unspecified [JOINT_2]MAX_VELOCITY, default used: 1.0
Unspecified [JOINT_2]MAX_ACCELERATION, default used: 1.0
Unspecified [AXIS_X]MIN_LIMIT, default used: -1e99
Unspecified [AXIS_X]MAX_LIMIT, default used: +1e99
Unspecified [AXIS_Y]MIN_LIMIT, default used: -1e99
Unspecified [AXIS_Y]MAX_LIMIT, default used: +1e99
Unspecified [AXIS_Z]MIN_LIMIT, default used: -1e99
Unspecified [AXIS_Z]MAX_LIMIT, default used: +1e99
check_config: (trivkins kinematics) ERROR:
[JOINT_0]MIN_LIMIT > [AXIS_X]MIN_LIMIT (-10000 > -1e99)
[JOINT_0]MAX_LIMIT < [AXIS_X]MAX_LIMIT (10000 < +1e99)
[JOINT_1]MIN_LIMIT > [AXIS_Y]MIN_LIMIT (-10000 > -1e99)
[JOINT_1]MAX_LIMIT < [AXIS_Y]MAX_LIMIT (10000 < +1e99)
[JOINT_2]MIN_LIMIT > [AXIS_Z]MIN_LIMIT (-10000 > -1e99)
[JOINT_2]MAX_LIMIT < [AXIS_Z]MAX_LIMIT (10000 < +1e99)
check_config validation failed.
Please Log in to join the conversation.
- tommylight
-
- Online
- Administrator
-
- Posts: 22010
- Thank you received: 3
pl7i92 wrote: seams you mixed up the valiues and Versions
so for your best guess is to just copy past
[AXIS_X]
MIN_LIMIT = -10000
MAX_LIMIT = 10000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
to
[AXIS_0] <<<< this is wrong, there can not be axis 0, just joint 0
MIN_LIMIT = -10000
MAX_LIMIT = 10000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
axis_2 is Z
Please Log in to join the conversation.
ok so adapted.
now I could limit it further, as soon as a tool <> 0 is selected, the error appears. Since the lathe tool table contains no XZ offsets, I have no idea yet.
Please Log in to join the conversation.
- tommylight
-
- Online
- Administrator
-
- Posts: 22010
- Thank you received: 3
That was not your mistake.blue0cean wrote: SRY, my mistake.
Please Log in to join the conversation.
Please Log in to join the conversation.
zu4lu wrote: Did you find what caused this? I have the same problem.
same here now.
Gmoccapy and Probescreen 2. Everything seems to work, only the toollength measurement gives me that error and will not function anymore.
Please Log in to join the conversation.
I don't now where so search.
named parameter #<_ini[axis_2]max_limit> not defined
Please Log in to join the conversation.
Try changing [axis_2] to either [axis_Z] or [joint_2]
Please Log in to join the conversation.
