Mendon Systems

MrPLC Member
  • Content count

    490
  • Joined

  • Last visited

Everything posted by Mendon Systems

  1. What do you use to test your PLC logic?

    I do essentially the same thing as RussB does. If the program is complex enough that I can't test it with simple toggle switches, I will connect it up to another PLC and write a simulator program. The problem with that approach is that your results will only be as good as the simulation so don't shortcut the process.
  2. CJ2M serial communication

    Dunno???? I have a macro that is doing almost the same thing except that it is setting the W bit (50.00) to OFF. It works fine. Are you sure that the macro is actually running?? /// toggles the HMI Reset bit OFF in the local PLC macro_command main() bool Off=0 SetData(Off, "PumpSta1", W_Bit, 5000, 1) end macro_command
  3. Troubleshooting Sinking Outputs

    Just turn your voltmeter upside down!! The procedure is still the same, but you will see 24 volts when an output is OFF and zero volts when it is ON. OR ... Measure from the output to the +24 side of the supply instead. That will give you the readings on the meter that you are used to seeing.
  4. CJ2M serial communication

    I have seen that "password error" message a few times but never consistently. I have always been able to resolve it by cycling power to the HMI. You might want to see if Weintek tech support has any answers for that one.
  5. CJ2M serial communication

    W (work) registers and (almost all others also) can be addressed as either words or bits depending on the instruction used. W bit addresses range from W0.00 to to W511.15. W word addresses range from 0 to 511. If you use a MOV command to set the value of W10 to #4 (4 HEX) that will also set bit W10.02 to ON and all the other bits in word W10 to OFF.
  6. CJ2M serial communication

    The only thing spooky about theEasybuilder addressing is the way you enter bit addresses so they will show up correctly in the Xref. The W0.00 bit needs to be entered as W000 in Easybuilder. If you enter the decimal point it will work OK but it won't show up in the Xref display.
  7. CJ2M serial communication

    You do not need to do any messaging on either the PLC or HMI to communicate. You only need to have the communications set up correctly. If you are getting the "PLC No Communication" popup window then something is not set up correctly or there is a problem with the cable.
  8. CJ2M serial communication

    If you set up the communications to your PLC as RS232C you will not have to do anything else. Just add a button to the screen to toggle your W bit.
  9. Need ethernet controlled relay for panel

    These guys make several different versions. Dunno how well they work. http://www.controlbyweb.com/webrelay/
  10. Which Fluke loop calibrator?

    I have the 787. It works great and makes the perfect all-in-one tool to lug around in your tool bag.
  11. best way to filter an analog reading

    Well .... I can't help with that specific hardware, but here's the long and painful way to do it. 1) Divide the scaled value by 5. (assuming it's an integer, if not convert it to an INT first) 2) Convert the result to float. 3) Multiply by 5 and display that value.
  12. Allen Bradley conversion to omron

    The Omron programming manuals are available in PDF format from here.
  13. CJ2M CPU32 SERIAL COMMUNICATION ISSUE

    A526.00 is the serial port restart bit. A528 contains the serial port error flag bits. See section A-3-2 of the W473 manual.
  14. OMRON CJ1M CPU 21

    Does the problem occur only when the PLC is powered off?? You might want to check all the references to those DM area registers in the program to see if they are being reset to some default value during power up.
  15. It appears that the formula scales the number of pulses from the flow meter into a unit of measure (liters, gallons,whatever).
  16. HMI view/control on smart phone or tablet

    I have two customers using both Iphone and Android phones with the Maple Systems (Weintek) HMI's.
  17. P_Off flag

    The chances are that someone inserted the P_Off contact to disable that MOV instruction. My guess would be it is a leftover line from initial testing.
  18. Real values on older versions of programmer

    Not on any of the versions that I ever used.
  19. Storing Pulse Data Using SSET, @PUSH, @FIFO

    The MD211&212 modules can count pulse rates up 100 Khz using the high speed counters. The ID212 can respond to 10 Khz pulse rates but the actual capture rate it can support depends on your program cycle time.
  20. Storing Pulse Data Using SSET, @PUSH, @FIFO

    Pulse data is generally too fast for a standard input module to follow. You will probably have to add a high speed counter module such as a CJ2M-MD211 to your PLC to get accurate counts.
  21. C200H Error

    Is it a clean environment?? Do you have a spare I/O rack to try?? Those old rack systems can be compromised by something as simple as a small wire clipping that has made its way into one of the card sockets.
  22. CNTX as a long timer

    The counter in your example would be C0002.
  23. CNTX as a long timer

    You could add a NC contact of the counter in series with each timer. That would stop them until the counter is reset.
  24. cp1h analog to digital and back again

    The CP1H analog outputs do have a +/-10v setting. You should be able to use that, but I don't know if the function block will support a negative output value. That setting will change the range from 0-6000 to +/-3000 (or 0-12000 to +/-6000).
  25. I suspect your answer will depend a lot on what the devices are that you plan to test with it. No matter what you do on the simulator end you will still have to get the connections to the test device. If they are all similar you have lots of options but if they are all over the map there really isn't a whole lot you can do other than run everything out of the simulator with multi-conductor cables.