mshifa

Can any one help me

5 posts in this topic

Hello,

I am a late beginner with plc, sorry for that.

I have a siemens s7 1200, 1212c Ac/DC/Relay type.I started a simple program and wired the plc using a breadboard,: input, mini bush button and output led light.The wiring seems good, because i see input led light branding when l push the push button but it does not initiate the output. But within the program by forcing the input it works. what went wrong?

Thanks in advance

Share this post


Link to post
Share on other sites

Hi mshifa.

Firstly welcome to the forum.

My initial guess is that you have the wrong Input Address in your program? Can you double check the input address matches your physically wired input?

If this is all OK maybe check your voltage supply, it may be sufficient to illuminate the LED but not necessarily enough to close the input relay.

Otherwise please attach your code and maybe a photo of your wiring..

 

Regards

Daniel

Edited by collinsd70

Share this post


Link to post
Share on other sites

Introduction-to-S7-1200.jpg.0d5c7d2aaa91

THANKS FOR THE REPLY

I hAVE JUST WIRED  EXACTLY  LIKE THIS WITH 24 VDC FROM PLC  TO THE INPUT AND EVEN USING SIEMENS SIMULATION SWITCHES, IT DOES NOT INITIATE OUT PUT, THE ADRESSES ARE EXACTLY THE SAME THAT WHY THE LED BRANDS ON I0.0 AND THE CODE IS I0.0. tHE ONLY DIFFERENCE I HAVE IS THE OUT PUT VOLTAGE, I USED 9Vdc.

 

Share this post


Link to post
Share on other sites

Hello mshifa,

You just give us the most important hint: voltage is 9V DC.

9V is not considered as HIGH logical level.

9V is not LOW but also is not HIGH.

Just change to 24V DC and it will work.

Share this post


Link to post
Share on other sites

The way I read it is that he's using relay outputs to switch the 9V. If they're really relay outputs, the voltage shouldn't matter (unless it's way too high, of course).

Can you post a screenshot of the PLC code while it's executing?

Share this post


Link to post
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