Timer time base
08 Jun 2022 13:02 #244762
by luki
Timer time base was created by luki
Hello,
the Classicladder documentation says:
"The timer base can be multiples of milliseconds, seconds, or minutes."
This applies to the "old" timer.
Unfortunately, I can only select at least 100ms for both the (old) timer and the IEC timer.
I need to generate a pulse that is 20ms long.
Can anyone support?
Many Thanks
the Classicladder documentation says:
"The timer base can be multiples of milliseconds, seconds, or minutes."
This applies to the "old" timer.
Unfortunately, I can only select at least 100ms for both the (old) timer and the IEC timer.
I need to generate a pulse that is 20ms long.
Can anyone support?
Many Thanks
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5047
- Thank you received: 1433
08 Jun 2022 15:01 #244764
by Todd Zuercher
Replied by Todd Zuercher on topic Timer time base
Do you need this 20ms pulse width within Classiclader, or outside in Hal?
If you only need the pulse outside of CL then you could use a Hal component such as the oneshot or edge components to generate your desired pulse width.
linuxcnc.org/docs/stable/html/man/man9/oneshot.9.html
linuxcnc.org/docs/stable/html/man/man9/edge.9.html
If you only need the pulse outside of CL then you could use a Hal component such as the oneshot or edge components to generate your desired pulse width.
linuxcnc.org/docs/stable/html/man/man9/oneshot.9.html
linuxcnc.org/docs/stable/html/man/man9/edge.9.html
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5047
- Thank you received: 1433
08 Jun 2022 15:06 #244765
by Todd Zuercher
Replied by Todd Zuercher on topic Timer time base
If you need a repeating pulse (such as a heart beat) use siggen.
linuxcnc.org/docs/stable/html/man/man9/siggen.9.html
linuxcnc.org/docs/stable/html/man/man9/siggen.9.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds