BITS N BYTES

MrPLC Member
  • Content count

    911
  • Joined

  • Last visited

Everything posted by BITS N BYTES

  1. Device Type Setting - CX Programmer

    Thnx for reply anonymous. File memory simply refers to a memory card that you may (or may not) have fitted to your PLC. Is the "memory card" a Compact flash card mounted in the CPU or something else?? Looks like you are suggesting that this setting is meaningless for the CJ1M processors. All very confusing!! Guess I'll ignore this for now, but it would be real nice if someone from OMRON could explain further.
  2. CJ1M INSTRUCTION MANUAL

    http://www.omron247.com/Industrial-Automat...2264_ProductDoc SYSMAC CS Series, CJ Series, SYSMAC One NSJ Series Programmable Controllers Programming Manual http://www.omron247.com/doc/pdfcatal.nsf/C...LE/W340E115.pdf
  3. xfrb question

    The bits from the S[ource] are COPIED to the D[estination] when using this instruction, the S[ource] word is not affected. If you read the manual for the XFRB instruction you will find an example. "XFRB(062) transfers up to 255 consecutive bits from the source words (beginning with bit l of S) to the destination words (beginning with bit m of D). Bits in the destination words that are not overwritten by the source bits are left unchanged." Examples from Manual "When CIO 000000 is ON in the following example, the 20 bits beginning with CIO 020006 are copied to the 20 bits beginning with CIO 030000"
  4. High speed

    One of the great features of the built-in I/O on the CJ1M series processors is their ability to handle very high speed functions that are asynchronous with the normal ladder scan. Read this link for details ----> http://forums.mrplc.com/index.php?autocom=downloads&showfile=268 In your application using the PRV and/or PRV2 instructions would be the best approach.
  5. CX-Designer

    Searching for some ideas/concepts how to manipulate data blocks in CX-Designer from a data block CSV file! I am using an NS-10 PT-HMI version V1 with system program V7_0. Would welcome some suggestions - this is what I am trying to do:- Data record Table CSV File contains 10 data records - 1 thru 10. QUESTION 1. The PLC sequentially processes each data record. How can this be achieved?? I cannot seem to find a word in the PT memory that reflects the current data record being processed?? Does this exist?? And if so where is it??? QUESTION 2. The operator may need to change/modify the order of processing - for example, current active data block is #3. He wants to change the order of production so that next data record to be processed from the CSV file is data record #7 versus #4. Seems like the macro functions in CX_ Designer allow over-writing a complete CSV data record file using the "WRITECF" function. But how does one write/overwrite to a single record within CSV file?? STUMPED!!
  6. Modem Remote through USB ports

    I wouldn't consider a list price of $53.50 for the CP1W-CIF01 Serial port to be a "substantial expense"!! All models of the CP1H and the M series units of the CP1L processors can accomodate two Serial ports. One for your HMI and the other for the modem.
  7. Omron CJ2

    Boy seems like cocotech really got us flaming!! Don't get pulled in, don't waste your valuable time and energy on a self-opinionated know-all, just ignore him. After all he is actually COCONUTS. http://www.financialexpress.com/old/fe/daily/20000731/fco31002.html
  8. PLC Error popup window not working?

    Using CX-Programmer on-line with CJ1M-CPU23. When I try to view PLC Errors when clicking on the error file tab for the processor, an Icon for "Error Messages" appears in the Windows taskbar but not usual complete and detailed Error Message popup window. When I try to Restore or Maximize from the task bar icon NOTHING HAPPENS. This used to work just fine and it was very easy and convenient to view/troubleshoot/clear errors. I now have to go online and view the PLC A files to discover the error codes - a real PITA. Anyone experienced a similar problem or has a solution?
  9. PLC Error popup window not working?

    Yep - that's exactly what is happening!! What do you mean in your next post by by "Is it possible to re-install PLC tools?" THNX
  10. CX One Simulator Problem

    http://forums.mrplc.com/index.php?showtopic=14095 http://forums.mrplc.com/index.php?showtopic=11917&hl= This fixed my similar problem with CX Simulator.
  11. PLC Test Rack

    Thank God for CX-Simulator. With that setup I'd go crazy. SOOOOOO_______JEALOUS!!!
  12. SFC Online Editing

    Got my hands on a V4.0 PROCESSOR this morning. Online Editing of SFC works with processor BUT NOT with CX Simulator.
  13. SFC Online Editing

    I am developing some SFC programmes in CX-Programmer V7.3 with a CJ1M-CPU23 processor. Programs run fine in CX-Simulator but I an not able to to Online Edits. The SFC manual says that this CAN be done but doesn't say if this will only work when online with a physical processor. Anyone got any feedback?
  14. The TKON and TKOFF instructions CANNOT be used in interrupts, it's all IN THE MANUAL if you bother to read it. OMRON is usually very detailed in specifying in their documentation how/when/where each instuction works, which data areas can be used as well as a sample of how it works. tkof.pdf
  15. 2Qs: Adressing and Moving a BYTE of data

    How do you "know"?? One of my very few gripes with the Omron PLC is that you CANNOT directly address D memory at the bit level. See link: - http://forums.mrplc.com/index.php?showtopic=13788&hl=
  16. Help: Computing Checksum

    In both your examples the Hex sum is incorrect. Should be "28D" and "28E". Use SUM[184] instruction to sum BYTES to calculate these values. In your example the first C[ontrol] word of the SUM instruction would be 13 bytes = #D. The second contol word [C+1] = #2000.
  17. Moving Literals

    Each ASCII character requires 1 byte of memory, so you cannot store four characters in a single word. You don't need four MOV instructions, only two are required. In your example to load TEST into memory starting at H150":- MOV #5445 H150 MOV #5354 H151
  18. How to use PMCR simultaneously

    Use a FIFO stack to transmit PMCR's. Each event pushes a specific PMCR number onto the stack. The PMCR is then sequentially pulled from the stack and transmitted via the serial port. See attached example. PMCR_messaging_FIFO.zip
  19. CJ1M with database

    Use Host Link serial protocol from your PC to the PLC using C-Mode commands. The Omron manual W342 Communications Commands Reference Manual covers the complete message structure. Just remember to set the PLC in Monitor mode if you plan on WRITING data to the PLC.
  20. Happy b'day Jay!

    Jay's DA MAN!!!
  21. Omron Copy Instruction

    Which model PLC are you using? Block transfer instruction XFER is hardware dependent!!
  22. Simultaor not working

    Just ran AutoUpdate for April 2008. Indeed CX Simulator failed to run after the update. Tried registry changes suggested by both anonymous and pszczepan in post http://forums.mrplc.com/index.php?showuser=5154 Registry changes suggested by anonymous did not solve problem. Registry changes suggested by pszczepan worked perfectly. Thanks to both for their help!
  23. Pinouts for CS1W-CN118

    Here's the pinout for the CS1W-CN226. I think [not 100% sure] this is the same as CS1W-CN118. You state that are connecting to an HMI so I assume you are using HostLink protocol. You should be using the CN226 cable for the interface NOT the CN118. See link:- http://www.plctalk.net/qanda/showthread.php?t=38886 AND link on this site:- http://forums.mrplc.com/index.php?showtopi...w=&st=& CS1W_CN226.pdf
  24. RS422 communication between 3 Omron PLC, possible?

    The CPM1A uses the PLC Data Link protocol but can only share common data areas betweeen 2 PLC's. The CJ Series has the same PLC Data Link protocol that can be shared between up to 9 PLC's. What I do not know is whether the CJ Series can use PLC Data Link with one CPM1A. IF THIS IS POSSIBLE and you want to use this method then you could use the CJ Plc with a relay that switches communications between your two CPM1A. The relay is controlled by an output on the CJ PLC, so it knows WHICH CPM1A it is communicating with. Each CPM1A needs an input telling it that the CJ is communicating to it. Sounds crazy, but should work.
  25. Protocol Macro (.psw) File Lost

    I have never had a problem uploading protocols. Start CX Programmer and go Online to PLC. Place PLC in Program Mode. Open PLC I/O Table and right click on SCU unit in Main Rack. Select "Start Special Application" Select "Start with settings Inherited" Select "CX Protocol". The SCU should now show up in the CX Protocol application. Right Click and "Upload Communication Port Setting" When complete Right Click and "Upload Protocol List" When complete Right Click and "Upload Protocols" If any of these fail to start then you must have entered a Password at some point to lock access. This MUST be entered before and upload is permitted.