Search the Community

Showing results for tags 'time clock'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 67 results

  1. Hi,  i want to read real time and date in simulation mode. How can i do this in Unity pro? Thanks for helping
  2. Time Based Interrupt

    Hello guys!!! My system constist of: CPU: Q03UDE Some I/O modules Some Intelligent Modules (Q68ADI,QJ71PB92V...) A High Speed Digital Input card QX80H (setting responce time 0.1msec) 1 digital input from QX80H occupied to count the pulse that a flow meter sends. The pulse corresponds to the totalizer of the Flow meter (FCI ST100 series Thermal Mass) and it has fixed width 0.5msec. The flow meter sends 4 pulses / minutes approximately according to current flow rate. My Main Program has scan time 2.4msec. I think that PLC ignores some pulses because of the pulse width is lower than scan time of my program. Is it right? So, the PlC program calculates wrong total flow.... What can I do to avoid this issue? Attached you can find a sketch what I mean... I though to program a time based interrupt every 0.3msec. Is it right and possible in Q03UDE CPU.....? If yes, how can to do it? Thanks a lot in advance for your any help!!!
  3. Hi 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.
  4. 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?
  5. 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
  6. siemens 1212C PLC

    All, I have bought a new siemens PLC 1212C. connected to TIA V13 software working perfect. When i use the clock memory byte, and selecting the 1sec bit M255.5 it is not counting. Why this is not working? What do i wrong? grtz Frans  
  7. 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
  8.   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.
  9. Version 1.0.0

    49 downloads

    Updated Clock logic and HMI screen simple and well documented. To use this, 'Import' this 'Toolchest' Drawer file into your PMC's Toolchest. Then 'Copy' one of the Ladder Blocks into your 90-30 or PAC Rx3i Target by holding down the Ctrl key while drag-n-dropping it onto the 'Program Blocks' in the Navigator window. The QuickPanel Screen along with the 'Indexed Message Grid'  can similarly be brought into your QP or QP+ Target. If there is already variables in your project you may need to adjust some or all of those used here. The logic here also will help you to understand the Array_Move Function blocks in PME.
  10. Clock_S90_PAC_QP+.zdrw View File Updated Clock logic and HMI screen simple and well documented. To use this, 'Import' this 'Toolchest' Drawer file into your PMC's Toolchest. Then 'Copy' one of the Ladder Blocks into your 90-30 or PAC Rx3i Target by holding down the Ctrl key while drag-n-dropping it onto the 'Program Blocks' in the Navigator window. The QuickPanel Screen along with the 'Indexed Message Grid'  can similarly be brought into your QP or QP+ Target. If there is already variables in your project you may need to adjust some or all of those used here. The logic here also will help you to understand the Array_Move Function blocks in PME. Submitter RussB Submitted 01/05/16 Category PLC Sample Code
  11. 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.
  12. Hiya Guys, New here (first post!) - and I'm fairly new to Connected Components Workbench, so apologies for the mammoth post! I am currently developing a System using one Micro850 PLC and one PanelView C600 HMI. I am able to update the current HMI time by sending Unsigned-Integers to Global Connection Tags: System Clock – Hour ($SysClockHour);System Clock – Minute ($SysClockMinute);System Clock – Second ($SysClockSecond);However, if using the same “update time” more than once, this method does not work as the HMI is looking for a “change” in a Tag before an update occurs (Tag-specific). For example, we require to be able to receive a “synchronisation signal” on a digital-input on the PLC each day at 15:00:00. This will only work once as, even though the HMI’s current time updates every second, I will still be sending the values “15”, “0”, and “0” to the above Tags (which will therefore not force an update – as they haven’t changed). I cannot reset these Tags without updating the current Time – as any number “out of range” causes an error (incidentally the errors are shown on the HMI to occur on Tags “SysClockSecondTimed”, “SysClockMinuteTimed”, and “SysClockHour” – note the omission of the word “Timed” on the Hours error…). There appears to be no reference to these “Timed” Tags anywhere in CCW, and I have no idea why the “Hour” update errors on a different (the correct?!) Tag. It’s a pretty confusing problem and difficult to explain… it took me a while to get my head around it – and I can see what the code is doing! J I've looked for documentation on how these Global Connection Tags work, but I can't find anything. Everything I (think I) know so far is from extensive testing... so if anyone knows of any documentation, or has any suggestions as to how I can achieve the required result - that would be massively helpful! Thanks for taking the time to read all this! Cheers, Steve.
  13. 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?
  14. 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!
  15. Hey guys, sorry for all of the newbie questions, I had 1-2 years of PLC training at a tech school, and then I got a job where I didn't use my knowledge at all for 2 years, and now my current job is all PLCs, and I have forgotten some of the stuff I learned, but it's coming back to me, so I appreciate all the help with the stupid questions. Anyways, here is my question. I am using a MicroLogix 1100 running RSLogix 500 to collect data on a few of our machines about scrap parts and run time vs down time. I just have some basic inputs hooked up to it. I need to be able to send the data to an integer file at the end of every shift, and then reset the current data (easy enough for me, at a certain time I will use a MOV function to move the info from the timers and counters to integers and then use a RES function to reset everything that I want). Anyways, my question is how to I tap into the free running clock built into the MicroLogix 1100? I see that it is S2:4, but I am confused how to use it or set it. I just set one up on a SLC 5/05 and that was super easy, I just set the time while it was online, and then used 3 different COMPARE functions to tell it when I wanted to move/reset the data (I used S:40, S:41 and S:42). Anyways, I can't seem to figure out how to tap into this clock on the MicroLogix 1100. Can anyone help me with a "dumbed down" step-by-step guide. I just want data sent at 6:30, 14:30 and 22:30 and then data reset 2 seconds after each of those times. Any help is truly and honestly appreciated and very useful. Thank you in advanced. Howard
  16. 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
  17. 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