pfort

MrPLC Member
  • Content count

    398
  • Joined

  • Last visited

Everything posted by pfort

  1. Help with structures

    I always add prefix in the beginning of my tags. Inputs: i_MyTag Outputs: o_MyTag From HMI: h_MyTag Timer: t_MyTag etc... This way, I know in advance where to find them in the table, when sorted by name. And when adding a variable or contact in the program, I know what to type first.
  2. In your Global Variable table, click on the left side of the "Comment" column. There is an invisible black button that will appear. Click on it then.
  3. How can I monitoring connection between CJ2M and PC

    I am not saying that it's not possible, but I did not find how you could do it without a Link Tag. Did you ask to Kepware technical support?
  4. How can I monitoring connection between CJ2M and PC

    I think that the solution has to come from Kepware, but I don't know if there is a way, without a Link Tag. I'm at home now, I will look at that tomorrow and let you know if I find something.
  5. How can I monitoring connection between CJ2M and PC

    You did not specify, but I assume that you want the PLC know when disconnected from Kepware and not the opposite. You could, at regular interval (10 seconds, 30 seconds, whatever you want) set a bit in the PLC. Then in Kepware, you create an echo: Advanced Tags --> Link Tag, you link that tag to another that you can use in the PLC to reset the bit. Then if that bit is not resetted the PLC know that something is wrong with Kepware.    
  6. Screenshot say all 
  7. Moving Data Memory

    Just to make sure: Did that "Always Off " bit was there when you tried?
  8. CP1W-CIF01 Power-supply terminal

    Yes I just found this, thank you
  9.   Pin #6 of the CP1W-CIF01 is for 5V Power-Supply. My barcode scanner serial cable need 5V power, and the spec on the scanner is 0.2A. I wonder, and don't find anywhere, how much current the CIF01 can feed. Anyone aware of this?
  10. I have a question

    PID and PIDAT don't work in SImulator.
  11. Sysmac Studio 1.22

    You can not run simulator without admin rights.
  12. nested keep

    I think that the second KEEP should be scanned first, so you should put it on the top of the other.
  13. Input inhibit

    Maybe the BCNT instruction could help you?
  14. Trace Function?

    Usefull shortcuts, depending on what you want to trace: 1:Spacebar 2: Alt+4
  15. module analog

    I guess you already have a MAD01 in hand. Don't throw it because it really work with a CP1L-EL. I know because I did.
  16. module analog

    This is from the page 416 of an Operation Manual for CP1L:
  17. module analog

    Yes you can. See section 7 of CP1L Operation Manual (W462) for procedure.  
  18. Overlapping rungs error in CX-Programmer ver.9

    The problem is there. You can not put all this in the same rung like that. If you want to regroup many lines in the same rung, put an Always On Flag (CF113) between them and the left bar.
  19. MX2 Run signal relay

    You are almost there, except that for Run Signal, you need C26=00 instead of 01.
  20. C200HG analog Input

    If you post what you have done so far and that does not work, someone could point out why it don't work.
  21. In Kepware, did you configure your channel as Omron FINS Ethernet and the device as CJ2?
  22. Not able to run simulator (CP1L)

    Yes it is (Weird and CP1L). I started new project with another CP1L, and writed 1 rung, then tried simulator with same result. Then I tried a new project with a CJ2M and simulator worked. So I converted my project to CJ2M and now I can simulate (and fix my mistakes). So monday I will reconvert it to CP1L, and maybe reinstall CX-Programmer. I recall I had another weird error message this week, about FB. Thanks
  23. OMRON Input Pulse to SET Instruction

    Not sure I understand what you want, but I think you want an output coil instead of the SET instruction.
  24. Invert scale 0-990 --> 990-0

    Yes, I meant, no need for a function block (As I interpret his post). He only need a substraction instruction. So, Chickenkiller, Michael is right. You said that y=(-x)+990 and I said that y=990-x. It's the same. What I say is you only need a substraction instruction, available in any PLC.