strange behavior of the configurator

More
5 years 6 months ago #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
Code:
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
Code:
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

Please Log in to join the conversation.

More
5 years 6 months ago #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 to join the conversation.

More
5 years 6 months ago #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 to join the conversation.

More
5 years 6 months ago #207263 by PCW
If you use pncconf, control type should be 1

Please Log in to join the conversation.

Time to create page: 0.292 seconds
Powered by Kunena Forum