BobB

MrPLC Member
  • Content count

    1999
  • Joined

  • Last visited

Everything posted by BobB

  1. CJ2M-CPU35 and LS drives

    Here is some sample PLC code for reading from three different register areas in a Caterpillar engine. You can also include error bits and the like if you wish. Please read the manual that comes with the file. Untitled.cxp
  2. CJ2M-CPU35 and LS drives

    There are instructions on how to set up the code in the PLC - you just download the CX-Protocol file to the serial card - everything is done in the PLC.
  3. CJ2M-CPU35 and LS drives

    Yes - I use a counter that is triggered by the busy flag to go onto the next read or write. Sometimes even the reads are sprayed all over the place and if you try to read too many registers there is something in the slave that stops the process. Also many slave devices have a limit as to how many registers can be read. Woodward controllers used to have a 30 word limit - now 100 - much better. Black Magic is comms mate! LOL
  4. Memory area

    Look up a manual for the PLC you require - they are all different.  Basic memory areas are the same though.
  5. CJ2M-CPU35 and LS drives

    If you have a look in the download section the source code is there - pull it apart.
  6. CJ2M-CPU35 and LS drives

    For Citect SCADA use the OMFINS driver included with Citect. Make sure it is the latest driver. Details for setting up come with the driver. Here is a link for Protocol Macro code for Modbus RTU. http://forums.mrplc.com/index.php?/files/file/259-modbus-protocol-macro/
  7. CX-One Programmer Start up error_OCX

    PITA but sometimes has to be done - I had to do it after a Sysmac Studio update crapped itself. Feel your pain.
  8. write a program on a memory cassette

    It is an electrically erasable PROM - the program is written to battery backed RAM and then can be written to the EEPROM for backup purposes only. Read the manual.
  9. Dound the problem - blown up input card - very rare.
  10. Have a CJ1M PLC with 64 bit input cards. The inputs are all flashing - cannot find anything in the manual yet. Any thoughts?
  11. Omron Force Bit Cancel via Fins

    In CX-Programmer open options - PLCs and tick the box to let you know there are forced bits on when exiting - then you will not forget.
  12. Description Entry

    Thanks Michael - just back last night from a hard week programming a pile of tricky stuff for NASA - all online - live site. We have to deal with a site wide UPS, rotary converter, mains and 8 generators and not turn the radio telescopes off. Challenging sometimes. There is no N+1 for the UPSs so if something goes wrong with one or more of them we start generators and co-generate with the UPS - or rotary converter if it is in action. I was very mentally tired - 9 hours a day for 4 days - Friday was good they were testing what I programmed. No blackouts and worked perfectly thankfully.
  13. ZCP Instruction

    Hangover from older PLCs where symbol inline instructions were not available.
  14. Description Entry

    Copy from the I/O table - Ctrl C - Ctrl V into excel. The I/O number column will need to be formatted to number. Then just copy oiut of Excel into your symbol table. No need for import and export.
  15. 2 CSJ5 controllers in mirror mode?

    You could possibly set up dual Device Net masters through a Red Lion protocol converter - I set up dual Modbus TCP masters a few years ago.
  16. NB Designer

    Have looked right through the manual and cannot find anything. Finish up with a scrolling line. Ideally I would like to have an alarm page and alarm history page like the one in the NS screens. Any thoughts please?
  17. Conversion

    DBLL is 32 bit to 64 bit float - DBL is 16 bit to 64 bit float.
  18. No. That is why there is a CPU backplane.
  19. Difference between RUN and MONITOR modes

    Monitor mode allows online program changes - run does not. I start all mine in monitor mode anyway.
  20. Is anyone having issues with the latest version of Sysmac Studio (1.24)? Updated today and it will not load.
  21. DT function for month and year comparison

    That is why the suggestion to do it on 1st at 00:00:00 - does not matter how many days then.
  22. Sysmac Studio won't load

    Yes - just the update program. Still not working - have to reinstall I guess.
  23. Add Fonts to Sysmac Studio

    Thanks Woody - I am not using the NA screens so did not know that. Maybe an improvement request?
  24. Add Fonts to Sysmac Studio

    Have you installed the font on the computer? CX-Designer uses the Windows fonts. I like using Khmer UI - nice and clear. It is not in Windows 10 but can be installed and utilised.
  25. Lost Data Memory and SCU Settings

    Is it possible the machine is shaking the PLC causing the bus connectors to disengage? Have you taken the PLC apart and reconnected the bus? Is it possible that the connector slides are not made properly? I/O Bus Error is often a mechanical issue like this.