Sign in to follow this  
Followers 0
FRANK RUIZ

FX5 PWM Y0 OUTPUT

2 posts in this topic

Hello everybody peeps,

Todays challenge is to get this PWM going on Y0.

I know that we can do this 2 ways. I am wanting to do it via Parameters and the HIOEN function.

but despite following the PWM guide I cannot get it going on simulation, Y0 is not turning on at all.

I have set parameters as per attached, and did the same code is on the guide, but still nothing.

 

the code in the guide goes in error at the moment.

Let me know your thoughts.

 

Many thanks.

pwm1.png

pwm2.png

Share this post


Link to post
Share on other sites

sorted!

well it appears you cannot simulate PWM. not sure why......

if you have an output turning on off (pulses) you can control the on and the total duration of the cycle using PWM, so you can control directly DC motor speed or solenoid valves using this instruction.

dont need HIOEN, just the instruction PWM, that's it. but you need hardware as the software will not simulate it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0