Jump to content

Configuring high-speed output for Unistream, UIS-WCB2


Martin Sirovy

Recommended Posts

Hello,

I have Unistream 7 and I have problem with configuration of high-speed output of module UIS-WCB2. The high speed output 0O should be able to be configured up to 250 kHz using PWM mode.

According to help, I have configured in properties windows HS Block 1 to PWM - see screenshot. Then I have configured the struct B1 according to the screenshot, but it still does not work.  The classical "slow" output using function PWM worked, however I can not get to work the high-speed 100 Khz+ output mode.

Thank you very much for any tips.

Best regards,

Martin Sirovy.

2017-12-08_14-52-49.png

Link to comment
Share on other sites

  • 2 years later...

Hi Martin, 

I am just getting to know how PWM works on Unistream. I too have UIS-WCB2 module and having trouble configure the PWM HSO. 

Did you set up a target value (for number of pulses sent), somehow in your project? 

How did you manage to work it out? 

Did you use a custom made function ? 

Tnx, 

BR

Link to comment
Share on other sites

  • MVP 2023

This post is a little old.  You're probably not going to get a reply from Martin.

PWM is not a discrete pulse output type, so there is no "number of pulses"sent out.  That is a"pulse" output.  Are you looking for pulses out to control a stepper or a continuous PWM output to drive an SSR?

The -WCB2 does PWM.  Enable it under HS Block in the Properties window of the module-

image.png.dc7b1d2f1287e64c75de1536e87d4b57.png

Once you do that, PWM values magically appears in the IO Struct-

image.png.761e7513e36f251e6914e61fefefd16f.png

 

Let us know more specifically what you are trying to do.  Posting your program is also a really good idea.

 

Joe T.  

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.