Dear All,
I would like to ask if there are any known problems regarding the "EthernetPower()" instruction.
We are using this instruction to disable the Ethernet Interface in our remote CR1000. The Flag (PowerFlag) is set in a subroutine depending on the time. THe ethernet power instruction is called in every scanroutine:
BeginProg
Scan(2,Sec,300,0) ' 2s Interval
Measurements...like PulseCount() and VoltSe()
EthernetPower(PowerFlag)
NextScan
basicly our program runs very well. But it doesn't respond after a few days in operation, when want to connect via ethernet.
After one of our teams went to the site and reboots the datalogger by switch power off and on again, we can connect to the system again.
Is there something known about such kind of problems? This is very urgent.
thank you,
Johannes
* Last updated by: JBecker on 2/18/2010 @ 7:17 AM *
新对话如下:
Johannes,
What OS is running in the CR1000?
Are there any IP instructions in your program such as FTPClient, HTTPOut, TCP...?
Janet
新对话如下:
The Logger is running the latest OS18.
There is one EMailSend, one FTPClient instruction.
The logger is configured to establish a connection to our LoggerNetServer(Device Config. Utility: PakBus/TCP Server).
If EmailSend and FTPClient are not successfull for 10minutes it stops trying to Access the server and the ethernetmodul is disabled. One hour later it starts trying again.
As I already said the program was tested successfully and both stations were in operation before the problem occured.
One station was in operation for 3 days, then the problem occured, the other station was in operation for >2weeks, then the problem occured.
I was not able to simulate this behaviour at our teststation, that is exactly the same configuration. The Ethernetmodule is a NL120.
Are there any problems known regarding switching on/ and off the Ethernetmodule?
During the development of the program code I tried to switch it off in a subroutine (EthernetPower(TRUE/FALSE)), that was only called once. What happend was, that the ethernetmodule was sometimes switched on, but sometimes not. Then I moved the instruction to the MainScan and it appeard to work as intended.
Our Program is running in PipelineMode. In Sequential Mode Skipped Scans occure.
thank you in advance for you response,
Johannes
We are not aware of any problems regarding EthernetPower. There is however a problem with certain instances of FTPClient that exhibit the symptoms you describe. The fix for that will be in the next released OS (ver 19) which should be coming out soon.