lostcontrol
MrPLC Member-
Content count
521 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by lostcontrol
-
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...
-
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.
-
I have something that does this automatically. I will try and dig this out and post example later on today.
-
There is actually a lot you can do with the screens, they do have quite a few functions that make them very useful & flexible.
-
Data link between EIP21 and CLK52 Controller Link?
lostcontrol replied to txjailer_SCS's topic in Omron
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? -
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.
-
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!
-
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)
-
If you post a copy of your configuration and code, then we can have a look and maybe see what may be incorrect.
-
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?
-
Very good explanation Michael! I often use the x-ref tool, but did not know that it also displayed the comments status...
-
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...
-
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.
-
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?
-
You can, but would you? Is it good practice, only perhaps for logical flow....
-
Comm. breakage with Advntys STB on Ethernet
lostcontrol replied to rajsiyer's topic in Modicon / Telemecanique / Schneider Electric
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. -
Copying Analog Input to Float
lostcontrol replied to bearsgone's topic in Allen Bradley / Rockwell Automation
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. -
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.
-
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.
-
Perhaps the more pertinent question should be, why do you want the HMI to be able to change the PLC mode?
-
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
-
That was the trick.... Now i just have to learn the shortcuts....
-
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)