Sorry but this is not possible. The PWM output of the 7334 is not intended to do any motion control. It's a static PWM output. You can set the frequency and the duty cycle programmatically within some given ranges and that's it. The output is free running and you can't output a determined number of steps. It's also not possible to generate any trajectory profiles on these outputs.
There are several use cases for the PWM outputs. Here are some examples:
- Laser pulse control
- current limiting for motion drives (some drives provide a PWM input for this purpose)
I can think of two solutions:
1. use another 7334
2. If you don't need to move the fifth axis in parallel to the other four you could design a little circuitry with some SPDT relays on it in order
to switch the motion signals from one amplifier input to the next. You would need one SPDT relay for each of these signals: step, direction, FWD, REV and Home limit switch inputs, inhibit output.
You could control the SPDT (single pole double throw) with the digital outputs of your 7334.
Best regards,
Jochen Klier
National Instruments Germany