BITS N BYTES

MrPLC Member
  • Content count

    726
  • Joined

  • Last visited

Community Reputation

38 Excellent

About BITS N BYTES

  • Rank
    Expert

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Gender Male
  • Location Miami Beach FL
  • Country United States

Recent Profile Visitors

5978 profile views
  1. NB designer change the screen

    NB_series_StartupGuideManual_en_201402_V109-E1-08.pdf
  2. CAN NOT WRITE PROGRAM READ PULSE ENCODER FOR PLC CJ1M CPU11

    Don't waste your time trying to count encoder pulses on a CJ1M-CPU-1x series PLC. As GT support states either add a High Speed Counter module OR replace with a CJ1M-CPU-2x CPU. Better still! The CJ1M is an older model and in my experience is more costly than purchasing both a CJ2M-CPU-1x and a CJ2M-MD21x Pulse I/Omodule.
  3. Omron R7D-BP02H Problem

    See section 2-5-8 regarding Test Run CX-Drive_Operation_Manual_W453-E1.pdf
  4. Omron R7D-BP02H Problem

    If it was working previously, then unless you have changed the PLC program or drive Parameters it is a hardware/wiring issue you need to troubleshoot. My first approach would be to go online with CX Drive to the servo and test whether you can manually move the motor and it responds to position commands. IF NOT OK then you most likely have some wiring or power issues that need resolving. IF OK THEN you need to go online with the PLC and monitor whether the PULS/SPD/INI rungs are active. Monitoring A276-277 for pulse 0 or A228-279 for pulse output 1 in the watch window is a quick way to confirm PLC pulse outputs are working. These are all normal steps in troubleshooting your system.
  5. Omron R7D-BP02H Problem

    Post your program and your servo parameter setup.
  6. SCL Block confusion

    Forget the SCL instruction. Use APR. See example in http://forums.mrplc.com/index.php?/topic/30950-proble-with-scale-function-in-cp1l/#comment-145675
  7. NJ501 MODBUS TCP/IP COMMUNICATION ISSUE

    The EZ3 EZAutomation Panel HMI  specifications lists A-B EtherNet/IP protocol as an available communication-driver. Since the NJ uses EtherNet/IP by default I suggest you use it vs. ModBusTCP/IP.
  8. Function block for indexing and look up

    Per your first post, the program I posted was to lookup a matching Magazine ID and IF found display its Weight. To continue the process of adding a Magazine ID and Weight you would implement a new index search to find the first record that is empty [contains no data]. In the example I posted there are 100 records every 10 words. IF the initial search found no matching ID then then DR0 have a value of 1000 at completion of the existing FOR/NEXT loop. Add new ladder below posted example [VERY, VERY SIMILAR!!] This will reset DR0 to 0 and start a new indexed search using FOR/NEXT.l When a record with no data is found, copy the new Magazine ID to location DR0,IR0 and its Weight to location DR0,IR1 and BREAK out of the FOR/NEXT loop.          
  9. Function block for indexing and look up

    You are welcome. Always like a challenge and this one was easy!
  10. Function block for indexing and look up

    Attached is example with 100 iterations of FOR/NEXT:- ID String to search for is entered in D0-D4. Once entered turn ON W0.0. IF ID is Found THEN ID it is shown in D10-D14 and Weight is shown in D20-24.   Indexing with Lookup.cxp
  11. Function block for indexing and look up

    A 10 Character string uses 5 words. So first ID occupies E6_00 thru E6_4 and first weight E7_00 thru E7_4. So if first ID and Weight are in E6_00 and E7_00 then I assume you mean second ID and Weight are in E6_10 and E7_10?
  12. Function block for indexing and look up

    Ill be glad to help, but first. How many characters is the Magazine ID? How many characters is the Magazine weight? Where in E6 memory is the first Magazine ID and where in E6 memory is the second Magazine ID? Where in E7 memory is the first Weight for first Magazine ID and where in E7 memory is the Weight for the second Magazine ID?
  13. Function block for indexing and look up

    Don't index the string, leave it alone. Rather index a pointer! The string is represented by numbers by a group of 10 words, so IMHO there is absolutely NO need to Text Processing Instructions.  Enter the new magazine ID into a temporary area [ID_NEW]. This could be any unused area in the PLC you choose. Use a for/next loop that indexes the pointer starting at the first Magazine ID location E6_00. Compare the 10 Words of [ID_NEW] to the 10 words of the pointer ID location using five LD=L [Double words] comparison instructions to achieve this.  IF all ten words match copy them to a second temporary area  [ID_FOUND] break out of the for/next loop. IF all ten words don't match THEN increment the pointer to the next Magazine ID. Continue for/next. IF ID is found you now have two temporary memory areas [ID_NEW] and[ID_FOUND] to work with and manipulate as required.   Done this MANY times for similar applications.
  14. Communication Between Two VFD

    The majority of VFD's have an analogue output. Connect the Analogue output of drive 1 to the the analog input of drive 2. Then AOUT 2 to AIN 3 etc....  
  15. Index and data registers

    See this post. http://forums.mrplc.com/index.php?/topic/32363-ask-how-to-indirect-addres-plc-omron/