Search the Community
Showing results for tags 'delay'.
Found 4 results
Hi all, I have an FB (ST) which will calculate the UINT values that need to send to DA outputs. Currently i was requested to add a delay between the calculated output & DA units. I am not sure how to do it? can I just use a TON? Any sample ST code?
emo posted a topic in Allen BradleyHi everyone, I would like to create a PLC code using RSlogix 5000 program in order to measure time delays on the network. Can anyone help me to do this? Thanks.
Howdy, Wasn't sure the best place to post this Programmatic Timer/Delay question. I need to create a Timer whose 'time' will change programmatically. I am having trouble coding this in RSLogix/Studio 5000. I need to delay a little more every time 1 Product passes through up to a certain count then reset and start over. Basically during a conveyor transition, via a pop=up conveyor, I don't want the product in the same place every time. I want each successive product to be in a little bit different spot, call it the Conveyor Land Point. The product will land a little further each product, then start back at the first land point I have no code to share as all attempts were FAILs Inputs: > Product Count (Count up or down counter) > Product Count Cycle (Number, constant, set able, currently = 4) > Delay Time Sequence Interval (Number, constant, set able, currently = 0.25 seconds) Outputs: A sequencing delay, based on Product Count > Delay Sequence: 1st delay 1 second. 2nd delay 2 seconds, ... up to Product Count Cycle (4) then reset back to 1. Program: (As I was thinking) Set Product Count Cycle, Product Count Cycle = 4 (May change could be 3,4,5, or 6) (Might be hard code, might be an HMI input) Set Delay Time Sequence = 0.25 seconds (May change could be 0.5, 0.75, 1.0 etc.) (Might be hard code, might be an HMI input) Line start, Product Count at one (1) Calculate Delay Delay = Delay Time Sequence Interval * Product Count Cycle * Product Count Product Count increments via PE Repeat e.g. Hopefully I have not 'run' at the mouth, wanted to give as much info upfront I included a picture Any thoughts, help would be great. thanks,
I want to build a logic in ladder diagram in RSLogix 5000 v16/v17 where an analog output is intially set to 10%. Two analog inputs are continuously being read and being compared to some respective threshold values, and if any of these two inputs are less than their respective threshold values, the PLC has to increment the analog output by 2% every 5 seconds. The effect of the analog output increment is reflected on this two analog inputs. If both the inputs reached their respective threshold values, turn on an LED lamp. Let me make it simple to understand: Let A = analog input1 B = analog input 2, C = analog output initially C = 10 after 5 seconds if A < 22 OR B < 36, then increment C by 2% if A < 22, B = 36, then increment C by 2% if A = 22, B < 36, then increment C by 2% and if A = 22 or greater and B = 36 or greater, turn on LED lamp do this (increase C by 2 %) every 5 seconds until both the inputs are equal or greater than their threshold values, i.e. A = 22, B = 36. The analog output must be set at increased value until next increment is given I've tried this using timer, timer done bit, timing bit, enable bit all, but did not success. The PLC doesn't increment after 1st increment, my logic is faulty. Any help would be appreciated. Thanks :)