Jump to content

Recommended Posts

Hi guys, 


 


I need a button on the HMI display which will "pulse" an output (from an IO-D16A3-TO16 module) when is pressed/released. I know that it is possible by assigning a MB to that button, continue with a set coil, and after that a reset coil assigned to the output, but I could not find how to proper program the ladder. 


There is any example showed somewhere? I looked after a solution on forum, but I could not find something that could suit my need. If it is explained somewhere, I would kindly ask to post the link here. 


Any help would be greatly appreciated (and if is explained for dummies would be wonderful). 


 


Thanks


 


Link to comment
Share on other sites

Hi,

There are several ways to approach this task. The easiest is to use a positive transition contact (linked to a button) connected to an output coil.

If you want the pulse to be generated when the button is pressed and released, you can use both positive and negative transition contacts in the same net.

I created the two nets in the attached application and added counters as a bonus :)

pulse button.vlp

Link to comment
Share on other sites

Hi mate,


I tried your program, unfortunately without my expected results (to pulse the physical output from IO-D16A3-T016 module). 


Attached is a sample of the program in which I have used your advice and has inside some comments.


 


This is exactly what I need: 


Quote:


 "the pulse to be generated when the button is pressed and released" 


I tried this (from your program) without success. 


 


Any help is greatly appreciated. 


 


pulse_output.vlp

Link to comment
Share on other sites

All right. The issue is solved. 

 

Issue: 

How to "pulse" an Output Oxx by pressing/releasing a Button on the HMI.

 

Solution:

The steps are as follow: 

- create a Button on the HMI

- assign a MBxx to the Button

- create the logic in the ladder: a direct contact assigned to MBxx linked to a Coil assigned to the Output Oxx (the output that you want to "pulse"). 

 

That's it. Works.

 

Thanks guys for your help !

         

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.