Video není dostupné.
Omlouváme se.

Omron CP1H PLC Programming Timers

Sdílet
Vložit
  • čas přidán 15. 08. 2024
  • The Omron CP1H series of programmable logic controllers are capable of having 4096 timers. There are twelve different timing instructions in the PLC. Six binary and six BCD instructions for the set values of the timers separate the six basic instructions. The memory area for timers has separate areas for the Timer PVs (Present values) and the Timer Completion Flags. We will be looking at the timer instructions in the CP1H along with some programming examples.
    The secret to using timers is a post that will go over timing charts. It is a good place to understand how timing charts can assist you in programming timers.
    The Secret of Using Timers
    accautomation....
    • Learn PLC Programming ...
    More information can be obtained at our website. This includes all of the links mentioned in this video.
    accautomation....
    Previously in this Omron CP1H PLC series, we looked at the following:
    System Hardware
    accautomation....
    CX-Programmer
    accautomation....
    Establish Communication
    accautomation....
    Omron CP1H Setting, Forcing and Online Editing
    accautomation....
    Omron CP1H Numbering Systems and Addressing
    accautomation....
    There are several reasons why we are using the Omron CP1H Controller. Here are just a few.
    - Standalone PLC with built-in I/O
    - Communication ability - Ethernet Port, RS232, RS485 - support for protocols such as Modbus, Host Link, ASCII (No Protocol)
    - Built-in Analog inputs and outputs
    - 4 axis control of motion
    - 4 high-speed counters
    - powerful instruction set (similar to CS and CJ series)
    - Ability to expand the system with a variety of modules
    The Omron CP1 series of programmable logic controllers consists of three different units. CP1E is the cost-effective unit, CP1L is the high performing controller that can come with embedded Ethernet and the CP1H is the position control and comprehensive programmable logic controller.
    We will be looking a the CP1H for this series, but a majority of the information can be applied to the CP1E and the CP1L controllers as well.
    www.accautomat...

Komentáře • 13

  • @ilhamekacahya3295
    @ilhamekacahya3295 Před 6 lety +1

    Thanks for your tutorial, i want to ask
    Why i couldn't call the timx function?
    Does cp1h support the timx function?

    • @ACCautomation
      @ACCautomation  Před 6 lety

      Hi Ilham,
      The Omron CP1H will support the TIMX instruction. (Code 550) This video only looks at the BCD version of the instructions but you can also use the Binary.
      www.fa.omron.com.cn/data_pdf/mnu/w451-e1-03_cp1h_cp1l.pdf?id=1916
      Page 170 of the above manual for the CP1H will show you the instruction.
      Thanks for the comments Ilham.
      Garry

    • @ilhamekacahya3295
      @ilhamekacahya3295 Před 6 lety +1

      In the manual told that TIMX is available on cp1h but, in the cx programmer i try to call TIMX , TIMX is not avalable on this current plc type ( i use cp1h). Is this a bug or something else. Thanks for your reply

    • @ACCautomation
      @ACCautomation  Před 6 lety

      Hi Ilham,
      I am currently using an older version 7.2 of CX Programmer. You are correct and the the instruction does not seem to be available in the controller. Do you have a newer version of CX programmer to try?
      If you really need the binary timer, you can use a BCD to Binary convert.
      Regards,
      Garry

    • @ilhamekacahya3295
      @ilhamekacahya3295 Před 6 lety

      Yes, i have. I use cx-p 9.5 version. I already tried the solution that you told, but there is still some errors calculation in the function. Maybe next time i will try another way. Thank you very much

  • @LukeVader77
    @LukeVader77 Před 3 lety +1

    Thank you for the in depth explanation. This helped greatly!

    • @ACCautomation
      @ACCautomation  Před 3 lety +1

      Thank you for the comment LukeVader77. I am glad that you found it helpful.
      Garry

  • @woodywood7734
    @woodywood7734 Před 2 lety +1

    Hello and thank you for the great information.
    I was wondering if you could give me some guidance on the TIML instruction, I’m using a cp1l and when I set the instruction up I am unable to get the timing value to retain when the rung goes false. What I mean by this is I would like the timer to time for one week then in my case go true for one minute then time again for one week and so on indefinitely. However when I execute my program , D100 times only once then the value in D100 +0 stays at zero unless I go in and manually set the value again.
    Can you point me in the right direction on this?

    • @ACCautomation
      @ACCautomation  Před 2 lety +1

      Hi Woody Wood,
      Thanks for the comments. Timers in the Omron PLC are non-memory retentive. However, you can use a counter or increment (Math) instruction to do this logic.
      You can use a 0.1-second clock pulse with your enabling logic to go to an increment on a DM area register. Move a 0 or reset when the register must be reset.
      0.1s Clock Pulse - P_0_1s
      dim.usal.es/eps/im/roberto/pesados/ryc/CP1H_Operation_Manual_(W450-E1-01).pdf
      4-19 Clock Pulses will show the pulses available in the controller.
      I hope this helps you out.
      Regards,
      Garry

  • @ghanshyamzambare8252
    @ghanshyamzambare8252 Před 4 lety +1

    The timer application I am looking for is something as follows:
    When the Timer is triggered it should start timing and if the trigger stops then the timer pause timing. But if the timer is triggered it should resume timing again(A retentive timer actually i.e. TTIM). But what I want to do is the measure of time for how long the trigger was ON. I want the accumulated value in that timer. Any idea how to do that?
    If you are used to Rockwell programming we use RTO timer and can use .ACC for reading the current value timed by the timer, which in your case is Process value(PSV). can i use TIML?
    Thanks

    • @ACCautomation
      @ACCautomation  Před 4 lety +1

      Hi Ghanshyam Zanbare,
      In order to do this timing application with the Omron, use a counter and the clock pulse bits.
      accautomation.ca/omron-cp1h-counters/
      The above is a link that will show you the counters and clock pulse bits.
      I hope this helps you out.
      Regards,
      Garry

    • @ghanshyamzambare8252
      @ghanshyamzambare8252 Před 4 lety

      Garry Shortt You know what I used TTIMX and created a bit to latch this timer and unlatch this logic using Timer done bit.i.e. T1000 if using 1000th timer.
      This works, it tested it. I can get precision upto 0.1sec, if you want to have 0.01sec precision then you have to use counters.
      I my case 0.1 works.
      Thanks Gary for replying.

  • @automationtechnology1378
    @automationtechnology1378 Před 3 lety +1

    Nnnnnnnñ