Named parameter #<_ini[axis_2]max_limit> not defined on Programm Start

More
7 years 1 month ago #146060 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

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.

More
7 years 1 month ago #146069 by pl7i92
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

Please Log in to join the conversation.

More
7 years 1 month ago #146081 by blue0cean
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.

Please Log in to join the conversation.

More
7 years 1 month ago #146086 by tommylight

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.

More
7 years 1 month ago #146137 by blue0cean
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.

Please Log in to join the conversation.

More
7 years 1 month ago #146144 by tommylight

blue0cean wrote: SRY, my mistake.

That was not your mistake.

Please Log in to join the conversation.

More
5 years 9 months ago #193742 by zu4lu
Did you find what caused this? I have the same problem.

Please Log in to join the conversation.

More
5 years 5 months ago #209907 by ikkuh

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.

More
5 years 3 months ago #214717 by CADdy
The same here...
I don't now where so search.

named parameter #<_ini[axis_2]max_limit> not defined

Please Log in to join the conversation.

More
5 years 3 months ago #215036 by andypugh
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]

Please Log in to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum