strange behavior of the configurator

More
27 Apr 2021 20:01 - 27 Apr 2021 20:09 #207253 by icy
Hello,

am an newbie to Linux CNC, my normal "world" is klipper and reprap ;.)

If i am using the configurator for an mesa 7i76e i am getting for example the follwing Step gen entry in the hal
setp   [HMOT](CARD0).stepgen.00.dirsetup        [JOINT_0]DIRSETUP
setp   [HMOT](CARD0).stepgen.00.dirhold         [JOINT_0]DIRHOLD
setp   [HMOT](CARD0).stepgen.00.steplen         [JOINT_0]STEPLEN
setp   [HMOT](CARD0).stepgen.00.stepspace       [JOINT_0]STEPSPACE
setp   [HMOT](CARD0).stepgen.00.position-scale  [JOINT_0]STEP_SCALE
setp   [HMOT](CARD0).stepgen.00.step_type        0
setp   [HMOT](CARD0).stepgen.00.control-type     1
setp   [HMOT](CARD0).stepgen.00.maxaccel         [JOINT_0]STEPGEN_MAXACCEL
setp   [HMOT](CARD0).stepgen.00.maxvel           [JOINT_0]STEPGEN_MAXVEL

If i compare with an fenja example hal entry
setp   hm2_7i76e.0.stepgen.00.dirsetup        [JOINT_0]DIRSETUP
setp   hm2_7i76e.0.stepgen.00.dirhold         [JOINT_0]DIRHOLD
setp   hm2_7i76e.0.stepgen.00.steplen         [JOINT_0]STEPLEN
setp   hm2_7i76e.0.stepgen.00.stepspace       [JOINT_0]STEPSPACE
setp   hm2_7i76e.0.stepgen.00.position-scale  [JOINT_0]STEP_SCALE
setp   hm2_7i76e.0.stepgen.00.step_type        0
setp   hm2_7i76e.0.stepgen.00.control-type     0
setp   hm2_7i76e.0.stepgen.00.maxaccel         [JOINT_0]STEPGEN_MAXACCEL
setp   hm2_7i76e.0.stepgen.00.maxvel           [JOINT_0]STEPGEN_MAXVEL

If i try to connect the pins at the configurator i can only choose gpio entries
I have no possiblity to choose the analog ports for the PNP Sensor.

best regards

Chris
Last edit: 27 Apr 2021 20:09 by icy.

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

More
27 Apr 2021 20:14 #207258 by tommylight
Just went 4 times through it and i have to say, those are the same lines.
Hence i am failing to understand what are you asking and what PNP sensor are you wanting to wire to an analogue input?

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

More
27 Apr 2021 20:16 #207259 by tommylight
Ok i see you changed the control_type to 1
linuxcnc.org/docs/2.8/html/man/man9/stepgen.9.html

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

More
27 Apr 2021 20:52 #207263 by PCW
If you use pncconf, control type should be 1

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

Moderators: cmorley
Time to create page: 0.085 seconds
Powered by Kunena Forum