Jump to content

Recommended Posts

Posted

Hello,

I am a first time user for the program and so far i've been learning from using the tutorials and i'm struggling to configure a relay output connected to a solenoid.

So from what i've found i believe i have assigned the solenoid to O0 and have added this to my ladder. Can anyone confirm if this is correct?

essentially i need the solenoid to open when a button is pressed for 2 seconds. Thanks in advance

image.thumb.png.24bff20635e120cbac197c782f70fa52.png

  • MVP 2023
Posted
2 hours ago, safchow said:

i need the solenoid to open when a button is pressed for 2 seconds

This is ambiguous. Do you want the output to turn on for 2 seconds after the button is pressed (this is what you have), or do you want the output to turn on after the button has been held down for 2 seconds?

Also, you appear to have the Power-Up for O0 as SET. This will turn on the output as soon as the PLC boots up. Is this what you intended?

  • MVP 2023
Posted
15 minutes ago, safchow said:

I would like the output to be on for 2 seconds.

Then what you have will work except that the output will already be on due to the Power-Up setting. Change that setting to either RESET or NONE.

  • MVP 2023
Posted
5 hours ago, safchow said:

Thanks for the help!

You're welcome. I do have to make a correction. Due to the fact that your ladder has a direct coil for O0, the Power-Up setting will have no effect. Turn it off anyway.

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.