- GCode and Part Programs
- CAD CAM
- NativeCAM
- Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
- blue0cean
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 2
24 Sep 2019 12:26 - 24 Sep 2019 12:34 #146060
by blue0cean
Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start was created by blue0cean
Hello Nativcam user,
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
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
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
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
Last edit: 24 Sep 2019 12:34 by blue0cean.
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1890
- Thank you received: 356
24 Sep 2019 13:42 #146069
by pl7i92
Replied by pl7i92 on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
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]
MIN_LIMIT = -10000
MAX_LIMIT = 10000
MAX_VELOCITY = 60
MAX_ACCELERATION = 20
axis_2 is Z
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 or Create an account to join the conversation.
- blue0cean
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 2
24 Sep 2019 15:09 #146081
by blue0cean
Replied by blue0cean on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
Hello pl7i92 thanks for the quick answer.
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.
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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19379
- Thank you received: 6487
24 Sep 2019 15:56 #146086
by tommylight
Replied by tommylight on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
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 or Create an account to join the conversation.
- blue0cean
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 2
25 Sep 2019 08:13 #146137
by blue0cean
Replied by blue0cean on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
SRY, my mistake.
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.
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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19379
- Thank you received: 6487
25 Sep 2019 08:57 #146144
by tommylight
Replied by tommylight on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
That was not your mistake.SRY, my mistake.
Please Log in or Create an account to join the conversation.
- zu4lu
- Offline
- Junior Member
Less
More
- Posts: 32
- Thank you received: 4
01 Jan 2021 16:52 #193742
by zu4lu
Replied by zu4lu on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
Did you find what caused this? I have the same problem.
The following user(s) said Thank You: ikkuh
Please Log in or Create an account to join the conversation.
- ikkuh
- Offline
- Elite Member
Less
More
- Posts: 272
- Thank you received: 46
23 May 2021 13:50 #209907
by ikkuh
same here now.
Gmoccapy and Probescreen 2. Everything seems to work, only the toollength measurement gives me that error and will not function anymore.
Replied by ikkuh on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
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 or Create an account to join the conversation.
- CADdy
- Offline
- Senior Member
Less
More
- Posts: 65
- Thank you received: 5
14 Jul 2021 11:07 #214717
by CADdy
Replied by CADdy on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
The same here...
I don't now where so search.
named parameter #<_ini[axis_2]max_limit> not defined
I don't now where so search.
named parameter #<_ini[axis_2]max_limit> not defined
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23537
- Thank you received: 4852
16 Jul 2021 12:27 #215036
by andypugh
Replied by andypugh on topic Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
I think that this is a side-effect of the changes in 2.8 which changed some parts of the INI layout.
Try changing [axis_2] to either [axis_Z] or [joint_2]
Try changing [axis_2] to either [axis_Z] or [joint_2]
Please Log in or Create an account to join the conversation.
- GCode and Part Programs
- CAD CAM
- NativeCAM
- Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start
Time to create page: 0.094 seconds