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

More
24 Sep 2019 12:26 - 24 Sep 2019 12:34 #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



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
Attachments:
Last edit: 24 Sep 2019 12:34 by blue0cean.

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

More
24 Sep 2019 13:42 #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 or Create an account to join the conversation.

More
24 Sep 2019 15:09 #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 or Create an account to join the conversation.

More
24 Sep 2019 15:56 #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 or Create an account to join the conversation.

More
25 Sep 2019 08:13 #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 or Create an account to join the conversation.

More
25 Sep 2019 08:57 #146144 by tommylight

blue0cean wrote: SRY, my mistake.

That was not your mistake.

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

Time to create page: 0.127 seconds
Powered by Kunena Forum