Search the Community

Showing results for tags 'timer blocks'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 61 results

  1. ON/OFF Timer for Mitsubishi FX

    FB_TIMER_ON_OFF The FB is a part of RTC library and implements a timer, based on RTC, for ON and OFF a control bit, e.g. to turn ON/OFF a load in the time interval, and can be easily added into your program in desired quantity. The FB is supplied with E (Enable) input, EO (Output to Control Bit), and can operate in one of two modes: HMS = Hours + Minutes + Seconds (daily timer) MDH = Month + Date + Hours (yearly timer) Each setpoint of ON and OFF time settings should be represented as Array of INT [0...2] type and contain a time data according to the chosen mode. Thus, for example: - in HMS mode: a control bit can be turned on at 02:03:14 am and then turned off at 06:04:17 pm, or turned on at 05:12:27 pm and turned off at 07:06:22 am; - in MDH mode: a control bit can be turned on 3th February at 02:00 pm and then turned off 4th June at 05:00 pm, or turned on 12th November at 03:00 pm and turned off 6th March at 10:00 pm. If the values of both time settings are the same, the FB output will not be activated. Supporting PLC CPUs: All FX Program memory: - 34 steps per each FB instance - 4 steps for entire project (reading from RTC) System variables: M - 3 bits (for entire project) The library is compatible with GX IEC Developer and GX Works2 software . https://plus.google.com/105445006108716761629/posts/Z4v4F11s4Bz
  2. Hi friends, Can anybody tell me when to use a local-Static variable and when to use a Local Temp variable whilst creating a Function-Block in S7 -1500 using TIA portal. Thanks for looking in. Best wishes.
  3. I am currently trying to get my program to take distance traveled per pulse, which is based off of the diameter, and convert it into IPM. I am using RS Logic 5000 software. If anyone could help me get over this hump I would really appreciate it!
  4. C40K

    Hi Can anyone help with changing timer values in a C40K using syswin and a host link3G2C7-LK201_EV1. I have tried clicking Editors, Data display editor and then T/C VAL. This then loads all the values into the display window. Double click the required Timer and a new window opens up with the value. Changing that value and then clicking ok and then writing the value to the C40K. This does not appear to change the value because if I then read the values back I still have the original value and not the one I changed it to. Hope this makes sense. I assume that it should be possible to change the values using this method. I can change the values using the hand held console
  5. Memory M8011 - 5ms possible?

    Greetings! I just have one question. Is it possible to get pulse time down to 5ms? I have only been using down to 10ms so far. Im using the M8011 timer memory. Thanks in advance! Best Regards Henrik.
  6. 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 :)
  7. Hello, I need to set a 1 second timer in a TSX 572623 plc with pl7 pro, the question is that using %s6 bit (1 second pulse) the timer is not exact enough, the program is 98 kb, not too big I think, I use the %s6 attaching to a positive pulse auxiliar mark in one section of the program and i use this mark %M in the rest of the program, but as i said, it is not quite exact, measuring the time displayed in a HMI connected to the plc, 40 seconds in the program (displayed in a HMI), it´s 47 seconds in a chronometer, it is not exact at all as I said, how can I solve this problem, can anyone help me? Thanks
  8. HHMMSS.cxf

    Version

    761 downloads

    FB to provide a simple long timer with time remaining outputs. Time can be entered in HMS (or just mins for example). Time remaining is normalised to HMS though. Uses 2 other FBs. Create instances of HHMMSS as required.
  9. [PLC Sample Code] - HHMMSS.cxf

    File Name: HHMMSS.cxf File Submitter: ParaffinPower File Submitted: 08 Dec 2014 File Category: PLC Sample Code FB to provide a simple long timer with time remaining outputs. Time can be entered in HMS (or just mins for example). Time remaining is normalised to HMS though. Uses 2 other FBs. Create instances of HHMMSS as required. Click here to download this file
  10. In my program, I have about 100 rungs for 100 faults. Each rung looks very similar. I thought I could make the code more maintainable by using function blocks, to avoid having to change each rung individually (if I needed to). Would it be best practice to create a new instance for each fault, or to reuse the same instance for each fault? I come from a C and java background, so I am confused as to whether a function block is supposed to be like a function (in C), or supposed to be like a class (in Java), or neither...
  11. Hi I need to program my fatek fab Plc with the following : . I need to detect between a single long input or a repeated second pulse. The idea is to control a window blind with two outputs of the Plc and two inputs (one for up, from a up switch and another for down from the down switch). the blind should go up until I maintain the key pressed. But when I make a repeated two pulse on the key it should go up automatically during a certainly define time (enough to completely open the blind). The same for the down direction. I need help on that.