Search the Community

Showing results for tags 'silly question time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 61 results

  1. Hi! I just started with PLC programming. I am trying to get the time between a output signal and a input signal. The problem is that the time is ~200 ms but when i measure it with this code:   TONR(Timer1); IF PosFeedback <= PosFeedback_Min & not Timer1.Reset THEN Timer1.TimerEnable := 0; FullCloseDeltaTime[1] := Timer1.ACC; Timer1.Reset := 1; END_IF; IF (move & not Move_LastScan) THEN //Start timer Timer1.TimerEnable := 1; Timer1.Reset := 0; END_IF; Move_LastScan := move; i only get even values in intervalls of 50 ms like 150, 200 and 250 ms. I have changed the real time sample rate to 11 ms so i don't understand why i don't get a more exact result. And i can see in my trend that the time isn't exactly 150, 200 or 250 each time. I i tried and time my own click on a button and i see the problem is the timer, i only get values in an interval of 50 ms. Is there a way to make the timer more exact?
  2. Hi all,  Can someone please help me, I am using a Micro830 Controller running connected components workbench software to program the controller. I want the use the Real Time Clock of the controller to control an output to turn on everyday at 01:30am and turn of when it receives a signal from an input. The output will control a backwash valve that will operate and activate a cam switch internally that sends a signal back to the Controller to say the valve has operated and can now stop sending the signal to the valve. (if that makes sense). I have tried playing around with the RTC instructions but I cannot seem to get it to operate how I want it to. Any help would be much appreciated. EnvrioService
  3. Hello all, I was asked to check if there is a PID real - time software which automatically calculates PID loops parameters and update the PLC registers or HMI ( by OPC server etc.) when the process is working and "breathing". REAL-TIME. Not PID simulator or PID tuner based on measured data, but a software that will calculate and update the PID parameters in real time while maintaning several PID loops simultaneously. Are there any suggestions? Thank you, Olesia
  4.   Dear, I need some help with an application in ml1500 with the RTC . I need an exit is enabled by days of the week . I´m programming in Rslogix500. Program follows the image. If possible help me. Thanks Daniel.
  5. Let me try to explain this correctly..  I have a machine built and coded in Japan, so while I know 90% of the code and functions there are certain parts of the code I have never touched.    Today i started getting an error that is commented as E-Net, so I am assuming its an ETH I/O issue.. but the device is something I have never seen. U1C\G20480  Can someone explain to me what this device is or how it is used? 
  6. Good day, I´m helping with small project and currently i am stuck because of this problem. And I hope you can help me out. I´m using PowerFlex 525 connected with AB CompactLogix 1769-33ER PLC via EtherNet/IP. Connection is working, I can read and write values from/to 525. To configure both devices i´m using RSLogix 5000. 1) First problem occurs after I loaded configuration to 525 and it´s, that 525 keeps overwriting values of Accel and Decel Time 1. It happens when i directly change parameters in Module Properties (online) or after I upload configuration to device. It happens even if i set parameters directly to 525 with its HMI panel. - I kinda get around this problem when i use Accel/Decel Time 2 for Step logic, but if i send direct reference value motor still jump to it and that is not good, especially when changing direction of rotation. 2) Second problem is that I cant get Speed Sources and Start References right. Usually Is working only option 1 and others are not, or they are doing something else that they should. For better imagination this is what i want to do: I have 3-state switch (left = 1 ON(DigIn TrmBlk 02), 2 OFF; center = 1 OFF, 2 OFF; right = 1 OFF, 2 ON(DigIn TrmBlk 03)), In center position I want to control 525 with EtherNet (already working when: Start 1 AND Speed 1 = EtherNet/IP). In left position I want to control motor directly with Drive Pot and In left position a want to start Step Logic (which i have already set) - Funny thing, If I set Start 1 = Ethernet, Speed 1 = Step, Start 2,3 = DigIn, Speed 2,3 = Drive Pot then in all three position motor goes in Step logic.. Or when i get left and right position working then Ethernet is blocked.. and this kind of things.. I Attach print-screen of my current settings, if you need something more just, tell me. Thank you for your time, and I hope someone will be able to help me.
  7. Can any one help? I am trying to write logic to collect data off a Control Logic controler using V.20.03 Logix5000 software. Attached is a copy of Time and Date logic. I there an easier way?
  8. Hello all, I am experiencing an unusual (and what appears to be an unheard of) behavior in my CompactLogix L18ER controller. I am setting the date/time of the controller from my work station, however when I GSV WallClockTime, it is reporting 4 hours different. I have asked our local resources as well as done some forum and knowledgebase searching without result. Has anyone encountered this before? Attached is a screenshot of the controller time vs. the wall clock time. This isn't mission critical since it can be manually adjusted however I would like to understand what is taking place that would cause this behavior. Thanks!
  9. Hello, I'm trying to convert time into seconds using the SECOND function. I use Word(signed) array 0..2 but get an error message saying "wrong input data type". What data type do I need? Thank you, Jurgen
  10. Dear all, I need some help with programming time in concept 2.6 in FBD. I use momentum PLC 171 CCC 980 30-IEC I would like to program 24Hours Clock with day, week and year. Can someone help me with this please. Regards Sam