Jump to content

Create internal Signals


Recommended Posts

Hi currently I am trying to simulate a signal in Visilogic. For example, I thought about create a vector bit to number, to create a vector which starts in MI0 an it has 10 lenght (MI0,MI1,MI2,MI3,...MI9), with them I represent 10 diferent states which I show in the graphic.

 

540b762465c372e3b53f5a69f6667ddeo.jpghttp://thumbs.subefotos.com/540b762465c372e3b53f5a69f6667ddeo.jpg

I do not know if there are any block to do signals, anyway I would like to know how to set times between MI0,MI1,..., Because I would like to link this signal to a by range image in the HMI, 

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

Square wave signals can be created by using the high speed PWM functions and varying the duty cycle (0-100%) of the 24V output signal. For example a duty cycle of 50% would result in the output representing a 12V output, or if connected to an external solid state relay 50% of the output power it was providing.

 

A sinusoidal wave may be more difficult to create depending on if you are using a PWM or analog output. An analog output may be the best to create a sinusoidal load.

 

What type of output are you planning on using?

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.