Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

EthernetPower()


JBecker Feb 18, 2010 02:16 PM

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 *


jra Feb 18, 2010 02:43 PM

Johannes,

What OS is running in the CR1000?

Are there any IP instructions in your program such as FTPClient, HTTPOut, TCP...?

Janet


JBecker Feb 19, 2010 08:52 AM

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


jra Feb 23, 2010 05:33 PM

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


JBecker Feb 24, 2010 08:29 AM

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


jra Feb 24, 2010 06:19 PM

Johannes,

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

Janet

Log in or register to post/reply in the forum.