khiraly

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About khiraly

  • Rank
    Newbie

Profile Information

  • Country Hungary
  1. With CJ1M I dot think there is a memory address. So if you take a look at the screenshot, the PRV command is like this: PRV #10 #0 D202 So the "port specifier" is #10 constant. How can I determine what is the real address of this high speed counter? Is there somewhere in the CIO area. I use the following commands for counter manipulation: Restoring the last value when the plc is switched on: Read the actual value: Make a reference (limit switch): When I restore the last value when the plc is switching on, should I use the first cycle flag? Bits N Bytes: Omron Knowledge Center http://www.omron247.com/doc/pdfcatal.nsf The search function does not work for me (timeout: error the requested url could not be retrieved).
  2. IF-ELSE in ladder program

    Thank you very much, I successfully used your example program in my program. Thank you!
  3. Hi! I read the incremental encoder using the PRV function and save it directly to the D (non-volatile) memory: PRV #10 #0 D202 The problem is, when I shut down the plc (CJ1m CPU22), sometimes it saves wrong data in the D area. And also there are some random data in the D memory, in areas which I do not touch. So the question is: When I shut down the plc (disconnect from the mains using contactor) the internal voltage does not stop immediatly and maybe there is not enough voltage to write successfully in the memory? This could be the case? If yes, how can I protect the PRV function from the low internal voltage? (currently the PRV function is directly connected to an always ON) And a completely unrelated question: I need to monitor 6 incremental encoders. The CJ1M cpu22 has 2 internal high speed counter. Is it an expansion modul which provide high speed counter? Or how can I read 6 independant incremental encoder in the same time? (from the same cpu) Oh, there is somewhere a summary sheet for reserved memory areas? So which D an CIO areas are reserved for internal usage? I usually use this areas: CIO 30.00 - 40.00 CIO 100.00 - 120.00 CIO 300.00 - 350.00 CIO 30000.00 - D 100.00 - 120.00 D 200.00 - 400.00 D 30000.00 -
  4. IF-ELSE in ladder program

    I cant open you third file. The CX programmer only say that Could not open file ...\Example2.cxp The first two opened without any hiccup. Thank you, I examinate it right now! The second looks more interesting. Wouls you mind to attache one more time your third example? (or a screenshot of it)
  5. IF-ELSE in ladder program

    Hi! My problem is really simple: I have a timer relay which switch on 5sec and off 5sec. When the timer is on I want to move some words in the memory. Like this: t_on: copy once D3200 to D3100 (copy one word) t_off: do nothing t_on: copy once D3210 to D3100 (copy one word) t_off: do nothing t_on: copy once D3200 to D3100 (copy one word) t_off: do nothing t_on: copy once D3210 to D3100 (copy one word) t_off: do nothing and so on ... I have written a simple program, you can look at here: I have multiple problem with this: 1. it does not run correctly. Always the P_NE is executed. 2. I want to eliminate the UP contact I would really thanks for any hint! Im really stuck with it. I think this problem is so simple, that I must overlook something really basic. Thank you in advance!