BITS N BYTES

MrPLC Member
  • Content count

    911
  • Joined

  • Last visited

Everything posted by BITS N BYTES

  1. PID CONTROL INSTRUCTIONS

    Jay I have downloaded all the manuals I need for my new application directly from the Omron website. Would have saved a LOT of grief if they kept them up to date. Where/when can one keep track of which is the latest revision? Looks like this website might be a more reliable place than Omron's to keep up to date! Thanks for your help.
  2. PID CONTROL INSTRUCTIONS

    After exhaustive testing and rereading the manual I found the problem with PID(190) There is a mistake in the manual that screwed me up. Section3-18 page 682 shows the PID Parameter Table. This states that Bits 00 to 03 of C+6 are for the Integral and Derivative units and Bits 04 to 07 of C+6 are for the Output range. WRONG!!!! Bits 00 to 03 of C+6 are for the Output range and Bits 04 to 07 of C+6 for the Integral and Derivative units. The table on page 679 is correct. Checked the table on page 692 PIDAT(191), this shows the CORRECT format.
  3. IR/DR's and TASKS

    Jay and Jay Many thanks for your very quick and detailed response. It is really nice to know there is such excellent support when you need it.
  4. IR/DR's and TASKS

    CJ1M-CPU21 I am using Index Registers and Data Registers for Indirect addressing at the bit level to dynamically change the input bit location in a 10 word long reversible shift register. Changing the offset value of the DR in the associated IR/DR pair turns on a bit at different locations within the shift register. This works exactly as desired and Jay Hughes excellent article was a great help. I would like to retain the setting to use IR/DR's Indepently per task My application requires the shift register and associated IR/DR settings to be located within a rising hardware interrupt [TASK 140]. The IR's and associated bit level base address are normally loaded once during the first cycle of the PLC. Because the IR data settings are within the interrupt TASK 140, these cannot be loaded until the task is enabled by the physical input turning ON Is there a method to load the IR with the bit level base address data in the interrupt TASK 140 WITHOUT the interrupt input being ON? IF NO, then will disabling "Use IR/DR's Indepently per task" allow the IR data used within the interrupt to be set at first cycle?
  5. CX PROGRAMMER 5.00

    Is there a setting within CX programmer that sets a default for viewing each program section. Every time I open,or close a section or exit/restart CX Programmer each and every7 section returns to a wide view. This is REALLY ANNOYING!!
  6. CJ1M INTERRUPT COUNTING

    Thanks for the explanation. Guess I will stick with the ++(590) [binary increment] or +(400) [binary addition].
  7. CJ1M INTERRUPT COUNTING

    I cannot get the CNT instruction to work within an interrupt. The CNT input is conditioned with the ALWAYS ON FLAG [CF113]. Though the Instruction Set manual states that the CNT instruction CAN be used within an interrupt I am baffled how to make it work. Using a statement |+[400] D0 #0001 D0| appears to work fine!! I just cannot get the CNT to work. HELP!!
  8. NS-DESIGNER 5.01E

    Using a CJ1M PLC with an NC-233 position contol unit. Rather than create a custom screen for our position control units we want to use the Smart Active Parts Function within NS-Designer to adjust motion settings. The Smart Active Parts library includes a sub-folder NC_V1-3_E. When I select the NC133_233 folder and click "USE" I get the following message "The Smart Active Parts is upgraded version. Cannot apply it".
  9. OMRON - SHIFT REGISTER

    Forgot to say thnks! Worked great.
  10. OMRON - SHIFT REGISTER

    I have enabled the hardware Interrupt on input 0 of an Omron CJ1M-CPU21and tested it is working correctly. I need a left direction shift register of at least 10 words long that is incremented by this interrupt. I'll be darned if I can get this to work within the interrupt, have tried with a single SFT[010] instruction as well as multiple NSSL[582] instructions. I suspect that because these instructions require an OFF to ON transition that this condition is NOT evaluated within the interrupt. Any suggestions how to make this work?
  11. NS-DESIGNER 5.01E

    Thanks Jay. Too bad I couldn't find this in the NS manuals! BTW The help function in nearly ALL OMRON applications really SUCK!! They open the front page of the PDF file - "NO HELP" is a better name. In some PDF files the search function doesn't even work [for example try searching for "macro" in V075-E1-03.pdf. 0 Results]. I HATE PDF DOCUMENTATION - Give me that good ole book. On the positive side - without this forum and the many contributors [including yourself] we would be LOST.