ishman wrote:My drive model is SA3L04C
www.bonmet.com/productshow_eng.asp?id=1506
Actually, contrary to what other have said, it seems that that drive _will_ work with step/dir signals.
As an aside, that looks like a really good driver for LinuxCNC use, and the mains-voltage input is a huge advantage compared to many. The price (£245) is competitive too.
I would guess that to calculate the steps/rev you need to choose the encoder resolution of your motor, though the "electronic gearing" of the drive might change that.
If the motor encoders are high resolution then you will probably need to use the "elecronic gearing" as a standard parport will struggle to output pulses fast enough to give you adequate motor speed.
So, in Stepconf you can probably pretend that it is a 1000 steps-per-rev stepper motor, then see how far off your physical scaling is, and adjust it. (by which I mean program a 1" of 25mm move, measure how big it really is, and then adjust the steps-per-rev to suit.
Having said that, step-dir mode with the position control inside the drive is not the preferred way to control machines under linuxCNC. We prefer to use analogue voltage control and move the PID loop inside the control PC where it is easy to watch what is happening and tune the PID.
If you are using that style of drive and the sorts of motors that suit it, I suspect that you have quite a large and serious machine, and in that case you will probably find yourself running out of IO lines on just a parport, and the 7i77 mentioned earlier will be a good upgrade.