EDIT: See next post for integrated functions within Domore. Left this up as a rough example of structures, subroutines and my own humility.
I could not find a built in OneShot* or Pulse Timer, so made a subroutine.**
Uses the TICKms() math function for timing, in theory can be millisecond resolution.
Uses the SIM for the example.
Press the X0 to initiate the process.
Y0 is one shot, Y1 is pulsed.
*OneShot timers typically continue regardless of the Input/Enable for the specified duration. This is not the case with this example and the Output will drop as soon as the Input does. If the need arises where I would need the continuation after I may make an alteration.
**I am sure it is not the most efficient scan time wise, but is reusable code for use with multiple items and purposes.