MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by BobB

  1. Yes - but if not powered down not a problem. Can be re-written from the screen anyway.
  2. Here is a bit more - this is to turn pumps to night speed and day speed. The hour and minute values are written to D2020, 21, 22 and 23 from a touch screen. the SWAP function is used to swap the minute bytes to make the comparison easy. ANDW is really very easy to use and I use it here as a mask to block hours and let through minutes and to block minutes and let through hours. While the settings are in HEX they are actually read in binary - HEX is a leftover from older Omron PLCs to allow those programs to be easily converted to newer PLCs I believe. The settings in D2020, 21, 22 and 23 are actually HEX values. Time Clock.cxp
  3. Here is how to extract minutes and hours to separate channels with a mask.
  4. Declare an Alarme

    That is the HR area - holding relays. If in CIO select CIO from the drop box then the channel and bit number on the right - easy as.
  5. Declare an Alarme

    Just type in the address e.g. 300.01.
  6. Declare an Alarme

    If you use the alarm history object you can set the ring buffer to say 1000 alarms and they will be saved there. The ring buffer is FIFO.
  7. Pair of typical Old Phfarts Jay - no patience - has to happen NOW! LOL
  8. Bugger! Too slow - never be quicker for mine. Came up with DOS software - typing in an I/O address wins hands down compared to symbols. Anyway! Must be getting old and grumpy!
  9. What a ruddy pain! IEC crap! Sticking to the CJ2M and CX-P for a lot of reasons. Bloody European requirements are a load of rubbish for mine. Way to slow to program. Studio is really a PITA. Give me CX-P anytime. Sorry - not helpful but how I feel - must be getting old and cranky! And I have to program a Schneider redundant system shortly - very painful also.
  10. Can't modify memory

    You can only write to the PLC and transfer data when in monitor mode or program mode. Put the PLC in monitor mode on start up and all will be good - monitor mode is the same as run mode except you can write to it and do online program changes. Settings as attached and write to PLC.
  11. Device Types, where are they?

    You can probably get it here
  12. Update CX-One and it works fine. Been using it since Windoze 10 came out.
  13. Omron CJ1W-ETN21 Redundant

    No - Modbus only has one master. I have managed to organise 2 Modbus masters in a Red Lion protocol translator though - not the same.
  14. Your previous post about this has been answered.
  15. And people wonder why I will not use the new ones! Sticking with CJ2 and CS1 - oh and CP1. I program on the keyboard using numbers - symbols are stupidly slow! I have a job to program with Schneider - symbols - painful - if you want to use the keyboard %I. then rack number - then slot number - then bit number! Studio is not much better!
  16. Scale Encoder Reading to 0 to 359

    OK - it is just that the last encoders I used were scaleable in the encoder - made it easy.
  17. Scale Encoder Reading to 0 to 359

    In the encoder?
  18. Fatal Error?

    Perhaps the peripheral port is dead. Check the manual - you can set the serial port to a default value and try again with a serial cable? Just be careful - the Omron serial cable is not standard. cable is 2-3, 3-2, 4 & 5 tied together at the computer end and 9-9 if I remember correctly - check and make sure - I have not used a serial cable for many years.  
  19. Fatal Error?

    You need CX-Programmer. You will have have to re-create the I/O table.
  20. CX-Spervisor Dev V3 WANTED TO BUY

    Contact Omron or a distributor.
  21. When will I use CIO and Work bits?

    W or work bits are just non retentive internal bits - known as M bits in other PLCs. CIO is common I/O bits and are used as inputs, outputs, and non retentive work bits as well. I rarely use W bits but just use CIO for most of my programming. You can also use the W area as non retentive words, as you can with the CIO area. The ability to access the D area as bits is only fairly recent - CJ2M if my memory is correct. D and H areas are both memory retentive.

    I believe you can get it here. or here not sure which version is is though.
  23. Counter and Divide

    ? Makes no sense.
  24. Set multiple non-sequential bits in an array?

    Have a look at BSET - should do it for you. @BSET for a one shot.
  25. Alarm history in NB Designer

    Yep innoaloe - rubbish! And that is from a huge Omron fan! Sysmac Studio is rubbish for mine as well! Sticking with the old stuff - saves me heaps of time. I program by way of I/O numbers not useless, stupid symbols. Takes way too long - fast and furious here. Can make or lose a lot of money writing software - CX-One is brilliant - write software really quickly. I program via keyboard not drop down rubbish. Grew up with PLCs in the 1980s when there was a keyboard on the front of the Omron sequencer! Way back. And then there were very expensive EPROM burners and the like and even a very expensive printer interface module. The new stuff is hard to work with - getting like Schneider - impossible. Must be getting old - the new stuff is just too hard.