EthernetPower()_Campbellsci论坛问答

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:

EthernetPower()_Campbellsci论坛问答


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

新对话如下:

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.

Regards,
Janet

新对话如下:

Dear Janet,


thank you very much for your response, this may leed us into another direction:

Could you please provide some more information about the possible problems regarding FTPClient? Especially in which cases it could cause problems? Could you provide a sample of code where the problem occures? How could we workaround without exchanging the OS?

The stations are in another country on another continent and we cannot wait till the next OS is realeased with finding a solution. We must install 3 stations with the same configuration within the next month.

Could you contact me via email?

best regards,

Johannes

新对话如下:

Johannes,

I don't have your address. Contact me at jalbers [at] campbellsci [dot] com.

Janet

分享到:

原文链接:,转发请注明来源!
海洋仪器网 仪器使用 EthernetPower()_Campbellsci论坛问答
「EthernetPower()_Campbellsci论坛问答」评论列表

发表评论