Search the Community

Showing results for tags 'How to program time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 125 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. Brian B

    I need help with a program I wrote for school that didn't work quite right.  I have to make a chasing light program that will freeze the lights when a PB is engaged and reverse when PB is engaged on light 1.  The assignment has already been turned in but our instructor ( if you want to call him that) has told us a similar sequence will be on the final.  Can anyone help me out??
  4. Dear Experts!!!   Could you please provide me the sample of "QD75MS Module & MR-J3-B program with functional block"    As you can see the page no. 3  in the attached document  "KI-Doc_QD77MSXX_MR-J3-XXBS.Zip" sample is there but i am not able to find it anywhere.   Or if you have any otherone please share it.   Please help!!! KIdoc_QD77servo_English_20130131.pdf
  5. Program not comparing

    Dear Sir, I need to update the PLC program offline with online, so I tried to compare the program blocks but I got the error that The comparison of the two blocks in STL showed that codes are identical. But still when I want to go online it is giving error that codes are different. Can anybody help us in this? New Microsoft Excel Worksheet (2).xlsx
  6. 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
  7.   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.
  8. CQM1H-CPU51 Download Program

    hello...... i use of C200HS-CN220-EU Program Download Cable for downloading program to plc. i can work online but when transfer to plc error is check dip switch.... i read manual and dip switch table but cant set dip switch..... please help me to setting dip-switchs for C200HS-CN220-EU Program Download Cable...
  9. How to resolve my plc is stop working after download program from H1U-XP with autoshop v2. It show download plc program process but i don't have any program in ladder chart. Pls help...
  10. FX5U

    Halo, i have question and asking for help. my factory use mitsubishi plc type fx5u. can anyone help me how to setting everything that make motor servo can run. PLC : FX5U Ampli Servo : MR-J4-70A Thank you for helping me.
  11. Verify program

    Hello, I have a question concerning the verified program. I do not know if the program is verified or not. I can not upload pic. I have 8 programs Verify result MATCH and one green line Data (Verify destination):NOT TO USE Verify result: Dest. Only. The green line is confusing me. I ask for an explanation. Please. Greetings to all
  12. I have a problem when trying to download a program from a FX1S-30MT PLC. I am using a SC-09 USB cable. The software i am using is GX Developer 8. When trying to download the MAIN program the screen in the attachment appears. I tested the download from another PLC of same model and have no problems, therefore the cable is ok, and the laptop is ok. When downloading of the parameters and comments does not give error, just when trying to download MAIN. Also I tested connection with Test Connection button and says communication is ok. Anyone who can help? I have a doubt, how can i see the communication parameters on the PLC side? Thanks a lot
  13. Help about converting program

    Hello, First of all, Hello to all members. Im From Portugal. I trying to help my dad. I Have a Omron CJ1M-CPU11 with a program running that works fine... Now i need to transfer this program to a CJ1M-CPU13. I started to download from CJ1M-CPU11 to a file... them im running the Cx-programer on the CJ1M-CPU13, connection its ok, but when i try to transfer i get this error : The connect PLC type : CJ1M-CPU11 The Project PLC type : CJ1M-CPU13 Its possible to convert ? Please Help. Please view in attached file. Thanks
  14. Hello: I'm not sure how to go about creating the structure of this program, would like some ideas/help. I have a program that checks/reads 8 analog inputs and compares each input against 4 different settings, if the value is outside any of these settings the program runs a subroutine to send out an email for (Alarm/Event) notification for that particular input. The way the program is structured now is that it reads analog input 0 first and checks against the settings if the reading is not in range it will call a subroutine to send out email for that sensor(analog AI:0.0) then it will return and read for Analog input #1 and check reading and if it needs to it will call another subroutine to send out email for that sensor(analog AI:0.1) and so forth. What I need to add, is a way to count how many times a sensor(input) has sent the alarm email because I want to limit this to 5 notifications after that, stop sending emails. Now this has to be done for each sensor(input).(Note: I would also like to have a timer involved so that it will only send emails about every 15 minutes for 5 counts.) I need this because the plc will send out emails until the error for the sensor has been corrected, this could take a few hours and if I don't have some sort of control, that would result in 1000's of emails being sent and world probably get shut down for spamming. Would like some ideas on how I should go about this. I am using a micrologix 1100 and rslogix 500 software. Thanks
  15. Do I need to write the "Program Loop" into the ladder or will the complete program start over once it has hit the "END RUNG"??? Micrologix 1100, programming with the RSLogix500. Thanks
  16. 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.
  17. I am writing a new program for a MicroLogix 1500 LRP Series C. When I verify the project I get the following errors: Program error ERROR: Attempted to set more IO data than has been allocated Program error ERROR: Incorrect Output Force File Size The IO Configuration should be correct because I had the software "Read IO Config". I don't see any unverified rungs. My software is RSLogix 500 Version 9.00.00 (CPR 9) Does anyone have a solution?
  18. Hello Everyone, I am new to ladder logic, and trying to understand flow of below attached ladder logic- How does the program flow ? Does PT4601_I in rung 3 waits for rung 2 to complete inorder to consider updated value of PT4601_I or it consider PT4601_I default value and runs simultaneously with rung 2 ? Thank you in advacne
  19. 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?
  20. 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!
  21. 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
  22. 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
  23. NT21 System Program

    I currently have a NT21HMI that does not have the system software loaded. I do not have any system programs with the *.21 extension. Where can I find the NT21 system software?
  24. Hi Im new here! Please let me know What cable do you use to program a M340 ? -1- a mini USB ? -2- Ethernet ? -3-RS485? any one can give me a sample test program to test M340? just a dummy simple program to start from there. I appreciate it in advance.