lostcontrol

MrPLC Member
  • Content count

    521
  • Joined

  • Last visited

Everything posted by lostcontrol

  1. Open a File for View

    How does one go about opening a text file with a dynamic name in a CX-Supervisoir script? I can open notepad no problem, but cannot wokr out how to make it reference the dynamic filename. I have tried VB type syntax that I have used in other applications, but does not seem to work in VBScript...
  2. NS FTP Access to Log Files

    Example Batch File: @echo off echo user default> ftpcmd.dat echo default>> ftpcmd.dat echo bin>> ftpcmd.dat echo lcd DESTINATION_FOLDER>> ftpcmd.dat echo cd /at0/log/Trend/Trd00>> ftpcmd.dat echo mget *.csv>> ftpcmd.dat echo quit>> ftpcmd.dat>> ftpcmd.dat ftp -n -s:ftpcmd.dat -i IP_ADDRESS del ftpcmd.dat The items in italics/bold need to be changed to your destination path & IP Address.
  3. NS FTP Access to Log Files

    I have something that does this automatically. I will try and dig this out and post example later on today.
  4. Long timer

    Use a counter.
  5. Multi position switch

    There is actually a lot you can do with the screens, they do have quite a few functions that make them very useful & flexible.
  6. Data link between EIP21 and CLK52 Controller Link?

    What is the SCADA system you are using, is there 4 separate systems, or are they all the same application? I am assuming you are using FINS gateway as a middleware driver? Why do you think the SYSMAC is superior?
  7. Work bits does not exist

    I doubt that it is a bug, more likely that the NTXS was developed before the W area was introduced. You will have to use CIO or Link words as you suggest.
  8. RSLogix 5000 Tag Scope

    Interesting, I have had the odd occasion where I have needed to do this, but never thought of that, even though it makes perfect sense!
  9. Assistance required for PW recovery CJ1M

    3 conveyors & a spiral wrapper sounds like relatively simple to re-write.... Especially by the time Omron you get the password (if indeed you do)
  10. CJ1M Hi Speed Inputs

    If you post a copy of your configuration and code, then we can have a look and maybe see what may be incorrect.
  11. Alarm in Citect when communication error?

    Other standard practice for this type of thing, is to have an incrementing counter in the PLC, and also in the SCADA. When the PLC Counter value changes, then the SCADA value is reset, it the SCADA value is greater than a certain value, then the alarm is set. This makes it totally independant of any driver typem issues that may trick into fooling you that comms are actually ok. If comms are lost, does Citect set the bit to 0?
  12. scan for used adresses and purge

    Very good explanation Michael! I often use the x-ref tool, but did not know that it also displayed the comments status...
  13. Ladder Monitor Page On NS Screen

    Oops, sorry, guess I shoulda made that clear, just assumed that another Omron 'expert' like Bobb would of know where to look. Did you manage to find it Bob? Out of interest, does anyone actually use this tool much? When the Omron 'road-show' was here, we saw it in use, but am yet to be converted if it is going to be usefult for us yet...
  14. Ladder Monitor Page On NS Screen

    I am pretty sure it is under the system menu, in the same area as where you can test commas etc. I think it is the far right tab, under a type of list box selection. I did have one here on the bench, but have just given it back, so cannot check sorry.
  15. Hostlink loss of connection

    Switching the PC off SHOULD not have any affect on the PLC setup. Is it just the SCADA that cannot connect, or can you not connect to the PLC's utilizing the same comm's method? Is cx-programmer installed on the same pc? And then for the most simple of questions, have you to red re-starting the SCADA PC?
  16. CX one with multiple coil outputs

    You can, but would you? Is it good practice, only perhaps for logical flow....
  17. We also have had issues with an advantys island dropping out of run mode. This site has an Omron PLC as master, with 8x islands on Ethernet/ip. We have been unable to determine the exact cause of the fault as yet, so did had a band-aid of a remote reset via a digital output. One thing we have read, is that a certain type of din rail must be uses, and that there could also be firmware compatibility issues between the NIP and I/O modules on the same island. We have not had a chance to check this yet, but may be something else worth looking into.
  18. Copying Analog Input to Float

    Based on BearsGone other post, they is also going to want to know how to configure a totaliser....once the totaliser reaches the setpoint, they want the pump to stop.
  19. At a loss

    Do you have the manuals? May be worth trying this though, then at least you can get the settings that have been set for the peripheral port. (will only take 5min). Setting the Switch beside the D-Sub (if it is not set already) will make the port settings 9600, 7-E-2. Cycle power & try & connect. Upload the settings, & then you will know what the peripheral port has been set to. Take a not of these, then try & connect through that port.
  20. CJ1M state

    I'm gonna give my 2c worth. Standard 'modern' code would allow for a manual or engineering mode, as in what BitsnBytes as suggested. There are different implementations of this, the most common way I have seen is to have parallel condtions, 1x for Auto mode, 1x for Manual mode. There is then a following condition for Auto & Manual enable. IMHO, putting the PLC into program mode should not be done by anyone other than the person working with the PLC code.
  21. CJ1M state

    Snooze you lose huh Jay..
  22. CJ1M state

    Perhaps the more pertinent question should be, why do you want the HMI to be able to change the PLC mode?
  23. Information Bar

    Does anyone know of a way to disable this thing from appearing, permanently? There must be a registry setting or something?? I have it off by default, but when maximising/minimising it reappears
  24. Information Bar

    That was the trick.... Now i just have to learn the shortcuts....
  25. Hmi not controling plc

    Are you absolutely sure? Can you post the CQM1H file? Is the NS8 object (21.06) momentary or maintained? (it should not make a difference however)