The Timed Pulse function block sets the output True for a specified time. You can use the block to run a motor for a specified time period.