Jump to content

Recommended Posts

hello,

 

this is the first time I use a PLC from Unitronics.

I have a little experience with Siemens PLCs.

 

I have the following problem :

I have a machine which is now operated with a start/stop button. We want to add a timer function on this machine.

This machine is operated in a explosionsafe environment.

 

My idea was to have a SM43-J-T20 PLC in a explosionsafe box with a window, operated with a box with explosion safe buttons.

I have 4 buttons : "+", "-", "E" and "R".

 

With the "+" and "-" buttons I would like to set a timer on the display of the PLC, for example from 0 -> 99 minutes.

When we press the "E" button we would acknowledge the timer and when we press the start button of the machine, the timer would count down.

When the timer reaches 0, the machine would receive a stop command.

With the "R" button we can reset the timer to 0.

If we acknowledge the timer on 0 minutes, then the machine should work continuesly untill we press the stop button.

 

Who can help me a little bit on my way?

 

thanks in advance

 

with klind greetings

 

Steven

Link to comment
Share on other sites

  • MVP 2023

This was simple enough that I just threw together some code rather than try to explain what to do. Feel free to ask if you have any questions.

 

It may not be exactly what you're looking for, and I generally buffer inputs and other niceties that I didn't do here, but you should be able to figure out what to do from looking at this.

stevennoppe_Samba.vlp

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.