How was the value for parport.0.reset-time detrmined?

More
20 Jan 2021 22:02 #196030 by Bari
Stepconf and the examples use 5000 (nS) for this setting. Does anyone recall how this was determined?

Reset triggered and pins monitored on a scope on a LPT port on PC's made in circa 2000?

linuxcnc.org/docs/html/hal/parallel-port...ub:parport-functions

github.com/LinuxCNC/linuxcnc/blob/master...al/parallel-port.txt

The example shows: setp parport.0.reset-time 5000

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

More
21 Jan 2021 01:37 - 21 Jan 2021 01:38 #196046 by PCW
Its set to match the step time requirements of the connected step motor
drives. The actual time will likely be longer depending on how the port
is interfaced (PCI would be faster than ISA which would be faster than LPC)
Last edit: 21 Jan 2021 01:38 by PCW.

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

More
21 Jan 2021 03:50 - 21 Jan 2021 04:16 #196056 by Bari
I didn't look into how the driver works with parport.0.reset-time.

Yes the bus and LPT used controller would determine what the reset time is for the pins. I am wondering why 5,000 (nS) is chosen in the examples and in stepconf.

When using stepconf the variables entered for step pulse forming are:

Step Time
Step Space
Direction Hold
Direction Setup

reset-time is not asked.

github.com/LinuxCNC/linuxcnc/blob/master...al/parallel-port.txt
explains the function 'parport.<p>.reset'
Last edit: 21 Jan 2021 04:16 by Bari. Reason: found the answer to how the function is used

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

More
21 Jan 2021 06:35 #196060 by PCW
Normally reset is just used to set the step time

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

More
22 Jan 2021 22:55 #196292 by andypugh
5000 is nearly always long enough, and there really is very little to be gained from going shorter.
Even drivers with a minimum step time of a few tens of nS are often connected via slower optos in the BoBs.

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

Time to create page: 0.148 seconds
Powered by Kunena Forum