Simple rslogix TON help

VICE5000

Member
Join Date
Oct 2013
Location
IE
Posts
2
I am learning Rslogix on my own when free time is available at home and have created several simple programs. My question now, is how to change the value of a TON preset value in a program using inputs to increase and decrease the value. Any help is greatly appreciated.

Thanks
 
The Preset of a timer - for example T4:10.PRE for timer T4:10 - can be the destination of any MOV or mathematical operations.

The instruction - ADD 1 T4:10.PRE T4:10.PRE - would add 1 to the current value of the preset.
 
Just make sure that you include a limiter to make sure that the preset cannot go negative.

LES Timer.PRE 0 MOV SomeSafeValue Timer.PRE.

Negative values in the preset will fault most processors.
 
Here are some simple RSLogix MOVE instructions to try with your simple RSLogix timer.

VICE5000 SIMPLE RSLOGIX TIMER.jpg
 

Attachments

  • VICE5000 SIMPLE RSLOGIX TIMER.pdf
    28.2 KB · Views: 8
  • VICE5000 TIMER- LogixPro Version.ZIP
    615 bytes · Views: 2
Last edited:

Similar Topics

Good morning (EST), I am trying to implement the code below in on an S7-1200. It's barely half a dozen instructions, but I am stuck; I have not...
Replies
26
Views
5,644
Hello, I have a modicon background where there is a "Pulse" function that accepts an input for the deisred pulse time length. I effectively...
Replies
8
Views
2,023
Here is the rungs I have made for my school project: Basically I just press an associated Function Key (F1, F2, etc) on the PanelView to...
Replies
7
Views
1,851
Hello everyone, thank you in advance for taking the time to read this post. All comments and advice are welcomed. I follow up on everybody in...
Replies
72
Views
29,307
Hello everyone. I would like to thank anyone reading this post. I would appreciate any advice or thoughts on this program. I am a beginner. This...
Replies
28
Views
9,537
Back
Top Bottom