Basic PLC Question

pLcJohnGuy

Member
Join Date
May 2017
Location
Windsor
Posts
12
What ladder logic is required to have an HMI button that gives output when you push it then removes that output when you push it again? For example, in the attached picture, I push the button in a seal branch and it turns on the output... The idea behind it is a String that goes to output when I push the button then removes from output when I push the button again. Any suggestions?

Capture.jpg
 
Here's an interesting one I've been using:
D4XdBQ8.png

You can adjust the times as needed, something around 50ms would act like a normal button press, or in my application they need to hold the button down before the machine moves.
 
Easiest way is to use a toggle button on the HMI. :)
I was taught to not use most of the fancy buttons in the HMI (toggle, latch, etc.) because if someone is reading the logic and isn't familiar with how the HMI was done it can be confusing to them. I guess in the bigger world it's programmer preference, and customer demand.
 

Similar Topics

Create ladder logic program to count 4 on pulses (not using a counter) and then turn the output on if the on pulse input signal can look like the...
Replies
105
Views
36,467
I will apologize in advance for this question. In a PLC scan I understand the inputs are read, then the PLC carries out a scan out the logic and...
Replies
11
Views
4,137
:banghead: I am a newbie trying PSIM and am facing difficulty with a counter in the Batch program. I observe that there is significance in the...
Replies
2
Views
2,186
Hello Everyone, I am brand new to PLC's (learned they even existed 3 days ago) and have gone through the tutorial on this site. I am a little...
Replies
4
Views
5,222
Please,: Explain the meaning of Scan cycle in a PLC when it is running a program?
Replies
2
Views
3,216
Back
Top Bottom