Internet PLC Forum

General => Technical support => Topic started by: cch1955 on September 15, 2015, 09:10:02 AM

Title: Fx2424 PWM output
Post by: cch1955 on September 15, 2015, 09:10:02 AM
I have an application where I need 3 step and direction stepper outputs and 1 PWM output. I really don't want to use a Nano just for a PWM channel output if possible.

In my case I do not use outputs 7, 8 for stepper phase outputs, I would like to use PWM output 3 while still allowing stepper 1 step-direction output mode to function.
Title: Re:Fx2424 PWM output
Post by: support on September 15, 2015, 12:16:46 PM
According to pg 6-1 of the Fx2424 User's Manual, output7 & 8 are for PWM 3 & 4 and these two outputs are not used by the 3 stepper motor pulse/direction output mode. So you should be able to use them for PWM output. Have you tried it?
Title: Re:Fx2424 PWM output
Post by: cch1955 on September 16, 2015, 08:14:18 AM
I went back an looked at the Fx2424 manual and its a bit cloudy on the issue. It appears that if I use stepper as step and direction outputs, PWM output 3 &4 are still available for PWM output, but PWM outputs 1&2  are used for stepper 1.

I have planned on the functionality of PWM output 3 while retaining the functionality of stepper 1 set up as step and direction output.

I will test today that the two being used simultaneously have no interaction on their functionality.

The special outputs section on its own is lacking in the detail that the stepper configuration section has regarding configuring the stepper outputs for step and direction vs. driver outputs.



Title: Re:Fx2424 PWM output
Post by: support on September 16, 2015, 03:15:20 PM
If you use Stepper #1 as a driver then it would use up all four outputs which shares with PWM 1 to PMW4.

But since you are only using the Stepper #1 as a stepper controller instead of as a driver (direction and pulse outputs only), it only uses two outputs and therefore PWM3 and PWM4 are available.

Chapter 6 presented the special I/Os in a table format. We will look into improving the explanation of the different potential combinations of special I/Os to give readers a clearer picture.
Title: Re:Fx2424 PWM output
Post by: cch1955 on September 17, 2015, 08:32:47 AM
Good to know for sure. Thanks for looking into this.