Search the Community

Showing results for tags 'timing'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 2 results

  1. So I have a plc program where most of the outputs are based on a counter that goes from 0 to 1000. The counter speed is adjustable and is generally set to run through a full cycle (count from 0 to 1000) anywhere between 0.5 to 2 seconds. The problem is, when I try to energize an output by using an EQU instruction, it will almost always skip the count because the scan time is not fast enough. I've been using a LIM instruction which has been working, but its not quite as accurate as it needs to be. I switched the counter logic to be continuous to try to make it faster which made it almost perfectly accurate... But only in the continuous task; it made the other periodic task significantly less accurate. I was curious if any of you had any tips on how to remedy this or just general help. I am still relatively new to PLCs and ladder logic so any advice would be awesome, Thanks in advance! Edit: The purpose of the counter is to cycle through from 0 to 1000 over and over again. My outputs actuate during a certain interval within this cycle (For example I would say actuate from 300 to 800 and it would stop and end once it hit those values via an EQU or LIM instruction). I wrote the logic as follows: First I calculate how many cycles per minute I want to perform, using that value I calculate how many times I want to increment my counter per millisecond. Then a timer is given a preset of the total cycle time. While that timer is running I continuously multiply the timer's accumulated value by the "cycle count per millisecond" that I calculated earlier; the resulting value is the current count that all my outputs are based on... Hopefully that makes sense, I know it's not the best but I could not figure out a better way of doing it and I know rounding is certainly making the accuracy worse. My hardware is: Allen Bradely PLC (5069 l306erms2), 5069-ob16, 5069-ib16, and a Kinetix 5500s2 Driver for my motor(s)
  2. Anyone have experience with the Peak to Peak hold function on Keyence IL-1000 amplifier?  I have an IL-030 lase head running off it and I want to utilize the peak to peak hold function.   I connected the red wire from a generic 24VDC, 1A, power supply to the IL-1000 Pink/Purple (timing input wire) and the black wire from the power supply to IL-1000 Blue (0V).   I have a 24VDC, 5A, power supply connected to IL-1000 Brown (10-30V) and IL-1000 Blue (0V) to power the IL-1000.   What I thought might work is to plug the 24VDC, 1A power supply in and out of an outlet to trigger the timing input for the P-P hold (similar to an on/off button).  But it's not doing anything.   I am not an electrical guy.  Any tips here?  Thanks,