Set OnTime

baily

Member
Join Date
Feb 2014
Location
ff
Posts
6
Hi,

I'm trying to make a simple function in RSLogix 5000, CompactLogix, that I can't figure out:
1. When IN = TRUE.
2. OUT = TRUE for a given time.

If the specific OUTtime is set to 1s, the IN will not affect the OUT during this time.

Can someone (if possible) write the command in structured text.

Appreciates all answers and tips!
 
I have a couple of questions for you:

1. Explain more what you are looking for. Your task is a little ambiguous. For example, let's say that IN is true for longer than your "OUTtime." What do you want OUT to do?

2. I'm wondering, because I'm curious: Why do you want to do this in structured text, and not ladder?
 
TConnolly: I will check the .TT bit in a while. Thx for the answer!

Benanna: If In is true longer then OUTtime I want the the Out to be False, So it has to trigged on the rise. My knowledge in ladder logic is low, my program only contains blocks and text. But if its much easier with ladder then ofc I can try it.
 
Last edited:
Just solved the problem. "In" -> "SETD", "Out" from "SETD" -> "TimerEnable" on "TONR", (5000 into "PRE"), "TT" as "out", and "DN" back to "Reset" on "SETD".

Hope you understand my solution
 

Similar Topics

Hi, i am using DVP-14SS2 PLC, after program written to plc, when power is reset, plc doesn't run. always need to connect to pc for the run mode.
Replies
0
Views
31
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
317
Omron AD081-V1 Analog Input Card Offset & Gain Adjustment Entering Adjustment Mode 1. Set the input card in adjustment mode (Turn ON Dip SW No-1)...
Replies
0
Views
96
I was loading a program onto an XE1e2 PLC and it got stuck on these two windows and won't progress. It won't let me connect from the PC to reload...
Replies
0
Views
80
Hi all, i have recieved some 4RF Aprisa SR+ ethernet radios from a customer to configure. Issue is that they are used and have non-default...
Replies
0
Views
85
Back
Top Bottom