Mendon Systems

MrPLC Member
  • Content count

    481
  • Joined

  • Last visited

Everything posted by Mendon Systems

  1. Handle dates in cx programmer

    There is a function block posted here to do it. I haven't tried it.
  2. Not able to run simulator (CP1L)

    I tried the CX-P version 9.6 simulator here with one of my CP1L programs and it worked fine, so I don't really have any idea what to tell you. I guess what you are doing is about the best idea until you can sort it out.
  3. Not able to run simulator (CP1L)

    That's definitely kinda weird! The only thing I can think of is to check the PLC device type to make sure it is set to CP1L.
  4. New content Icon???

    The bug has returned again. It only seems to effect the General Topics and Omron which have sub-forums.   Seems to be OK now.
  5. OMRON Input Pulse to SET Instruction

    Try using the @SET instruction. That will be a single program cycle SET.
  6. Single Acting Solenoid Valve Does Not Actuate

    Check to see if the same output is used elsewhere in your program. Also check to be sure that the rung is being processed.
  7. Help to find out specification of analog card AD-081-V1

    Download the W368 manual from the Omron Europe website. It has all the information on analog I/O.
  8. Which plc is the best?

    If your concern is really "how long will it last?" the answer is that almost any PLC will last longer than the development tools. I am still keeping two Windows 98 notebooks alive to support some PLCs that were developed using DOS based software. Those PLC's will outlast the notebooks!
  9. Another thought ...... you have a CPU33 so it will have the EM0 memory area. If you aren't using that area for anything you could easily create a backup copy of the D32 register in an EM register (like E0_32). If you do that then you can create a rung which compares those two values and sets both registers to the largest value.
  10. Open the memory view in CXP. Under the Online tab select Transfer From (or To) PLC.
  11. Uploading a program change does not normally modify the DM memory area unless you specifically tell CXP to upload the DM Area.
  12. CP1L Internal ANALOG INPUT

    The information you are looking for is in section 6 of the CP1L Operation Manual (W471). The analog value appears in A643 as a value from 0 to 255.
  13. CX-One AUTO UPDATE topic

    It seems strange that some of you are having this problem while others are having no problem at all. I just checked yesterday to make sure that my systems are all up to date and everything shows as current. I always do a download first then install the individual modules. Are those of you having problems doing the automatic install??
  14. CX-Programer 9.54 - Instruction input problem

    I have always thought that it should be called 'classic mode' and 'stupid mode'! Turning off 'smart mode' is one of the first things I do on an installation.
  15. Rectifier

    That will depend on what is connected to the power supply. If it is just being used as a 24vdc supply then any supply adequate current should work.
  16. CJ2M 33 Ethernet/IP problem

    You need to add a relay contact closure interlock. Your drive should have provision for an external run enable contact. The contact closure needs to be energized by a PLC output.
  17. CJ1W-MAD42 wih plc CJ2M

    CIO 2000 is the control word for the MAD42. It should be set to #3 to enable both outputs. The first output word is CIO 2001.
  18. Help with analog expansion

    For that configuration the analog data will appear in CIO words 001-004 (AD041 inputs 1-4). You will need to initialize the AD041 module on startup to set the range by writing HEX data into words 101 and 102. The details of the settings are in section 7.2 of the W471 manual. To set all four AD041 inputs to 0-5vdc you would write #80FF HEX into both CIO 101 & 102 at startup (P_First_Cycle on). The analog data will magically appear in CIO words 001-004 with a range of 0-6000 corresponding to 0-5vdc.
  19. @MOV / EQU Command

    That's because turning off PartInFeeder  causes T3 to time out which moves 4 into CurrentSequence.  
  20. @MOV / EQU Command

    It sounds like something else in your program is using that register but without a LOT more information it's only a guess.
  21. Write PLC time as text to memory card

    Jay, I'm inclined to agree with you after reading his last post. All he would need to do is convert his INT to BCD and then convert it to ASCII with the STR8. Since he's apparently looking for a fixed length string of 5 digits a MID$ instruction would get rid of the leading zeroes for him.
  22. Write PLC time as text to memory card

    There are a few things that are a bit difficult with Omron, and you happened to pick a great example of that. For almost everything else they are quite easy to work with. Consider those data type warnings to be just advisory. It is possible to write a program that does not include any warnings, but generally not worth the effort.
  23. Write PLC time as text to memory card

    If the number is >32767 you can move the value into a Dword and use the FLTL instruction to convert it. That handles numbers up to 2,147,483,647.
  24. Write PLC time as text to memory card

    There IS another way to do it, but it is cumbersome at best. Convert the decimal value to floating point with the FLT instruction. Add 0.5 with the +F instruction. Convert the floating point number to a string with the FSTR instruction. The reason for adding 0.5 is that the FSTR instruction will truncate rather than round up so 0.9999 will result in 0 rather than 1. You will need to set the FSTR control words to 0 (decimal format), 5 (total # of digits), and 0 (# of decimal digits).
  25. Write PLC time as text to memory card

    Take a look at the ASC(086) instruction. It converts BCD digits into a string.