How was the value for parport.0.reset-time detrmined?
- Bari
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 646
- Thank you received: 235
20 Jan 2021 22:02 #196030
by Bari
How was the value for parport.0.reset-time detrmined? was created 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
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.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
21 Jan 2021 01:37 - 21 Jan 2021 01:38 #196046
by PCW
Replied by PCW on topic How was the value for parport.0.reset-time detrmined?
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)
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.
- Bari
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 646
- Thank you received: 235
21 Jan 2021 03:50 - 21 Jan 2021 04:16 #196056
by Bari
Replied by Bari on topic How was the value for parport.0.reset-time detrmined?
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'
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.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
21 Jan 2021 06:35 #196060
by PCW
Replied by PCW on topic How was the value for parport.0.reset-time detrmined?
Normally reset is just used to set the step time
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4860
22 Jan 2021 22:55 #196292
by andypugh
Replied by andypugh on topic How was the value for parport.0.reset-time detrmined?
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.
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.052 seconds