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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...