Forum Header

Forward Step / Backward Step - Vexta Question

More
8 years 7 months ago #107274 by BrendaEM
I am I correct in assuming that StepConf cannot set up driver for a forwardstep and backwardstep pins such as the older Vexta drivers for parallel port use?

I have found very little info, but this:
forum.linuxcnc.org/38-general-linuxcnc-q...s-with-cw-ccw-signal

I've written a 3,000+ line serial-port command-line Arduino Stepper test program, and yet I am not confident that I can set up a motor with Linux CNC.
forum.arduino.cc/index.php?topic=469343.msg3213804#msg3213804

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

More
8 years 7 months ago #107276 by PCW
I dont think stepconf can set the step type but its easy to do in the hal file section that loads the stepgen component

The stepgen manual page explains how to do this:

man stepgen

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

More
8 years 7 months ago - 8 years 7 months ago #107281 by BrendaEM
Thank you PCW...

...but I looked over some of the documentation for HAL and Stepconf; it looks like a real complicated, sparely documented, nightmare : (

That's why I posted the original post.
Last edit: 8 years 7 months ago by BrendaEM.

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

More
8 years 7 months ago - 8 years 7 months ago #107284 by PCW
I think HAL is quite well documented as is the stepgen component. in addition,
there are HAL tutorials to get you started, for example:

linuxcnc.org/docs/html/hal/tutorial.html

l also think that as a simple setup tool stepconf does OK for most people but for more unusual LinuxCNC
configurations or customization you need some understanding of hal and components

DId you read the stepgen manual page and look at the (stepconf created) hal file?
Last edit: 8 years 7 months ago by PCW.

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

More
8 years 7 months ago #107307 by andypugh
Also look here for more elaborate stepgen docs.

linuxcnc.org/docs/2.7/html/hal/rtcomps.html#_stepgen

(precis: You need step_type 1)

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

More
8 years 7 months ago - 8 years 7 months ago #107324 by BrendaEM
I am looking at the HAL tutorials. It's difficult for me to get a lay of the land. Yikes, there's tread management on the first page of the tutorial. Do certain things have to be loaded? Are there kernal-module depends?

Looking at a StepConf's GUI, those are the only settings I am interested in, well that and the ability to set for stepforward/stepbackward.

AFAIK, I am not going to be able to use stepconf to created/modify the HAL configuration for my set up. If there were a forward-step / backward step option, I wouldn't have to mess with HAL in the first place.

It's regrettable that what I have seen appears a very flat non-tree way of doing things. In other words, why should a user see low-level motor winding waves--and higher level motor-driver settings at the same time?

Andypugh, thanks I have seen that about stepgen.
Last edit: 8 years 7 months ago by BrendaEM.

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

Time to create page: 0.163 seconds
Powered by Kunena Forum