Omron CP1H PLC Programming Timers

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024

ความคิดเห็น • 13

  • @ilhamekacahya3295
    @ilhamekacahya3295 6 ปีที่แล้ว +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  6 ปีที่แล้ว

      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 6 ปีที่แล้ว +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  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

      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 3 ปีที่แล้ว +1

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

    • @ACCautomation
      @ACCautomation  3 ปีที่แล้ว +1

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

  • @woodywood7734
    @woodywood7734 2 ปีที่แล้ว +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  2 ปีที่แล้ว +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 4 ปีที่แล้ว +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  4 ปีที่แล้ว +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 4 ปีที่แล้ว

      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 3 ปีที่แล้ว +1

    Nnnnnnnñ