Support Forums
FTP Data

Hello,

I would like a little bit of help here for my DT80 logger. I want to activate the FTP module for remote access. I have already connected it to the internet, just the configuration is giving me headache.

This is how i tried to do it:

BEGIN "FTP"
LOGON

2(A)

2(B) [0:0:12]

DO {
COPYD start=new dest=ftp://SolarHouz:dt80_SolarTNBR@XXXX.XXXX.XXXX.XXXX
}
END

1) 2(A) is the existing schedule which currently collects data from sensors.

2) (B) is the new schedule called 'FTP' for FTP. I want it to push data at 12 noon everyday.

3) The confusing part is how do i call schedule 2(A), should i include all the codes in schedule 2(A) before i call schedule 2(B), i need help there.

4) I also want the file sent to be named by the date sent in the FTP folder.

Ref: Schedule 2(A) codes:
BEGIN"config"
' Generated by dEX Configuration Builder Version 1.29.1924 (Firmware Version 9.08.3932)
' Target device: DT80-3
password=""

S1=0,4000,0,35.16
RS1S
RA"Schedule_2"("b:",ALARMS:OV:95MB:W60,DATA:OV:100MB)5S
LOGONA
5SDI12("Air Temperature~degC",LM,AD"0",R201,CM)
5SDI12("Pressure~hPa",LM,AD"0",R203,CM)
5SDI12("Rel. Humidity~%",LM,AD"0",R202,CM)
5SDI12("Wind Speed~m/s",LM,AD"0",R105,CM)
5SDI12("Wind Direction~deg",LM,AD"0",R102,CM)
5SDI12("Rain accumulation~mm",LM,AD"0",R301,CM)
5SDI12("Rain duration~s",LM,AD"0",R302,CM)
1V("Dir_Irr_Raw~mV",=1CV,LM,NA,GL30mV)
2V("Dif_Irr_Raw~mV",=2CV,LM,NA,GL30mV)
3V("Glob_Irr_Raw~mV",=3CV,LM,NA,GL30mV)
CALC("Dir_Irr~W/m2",LM)=1CV/0.00782
CALC("Dif_Irr~W/m2",LM)=2CV/0.00936
CALC("Glob_Irr~W/m2",LM)=3CV/0.00879
RB"RB24H"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:0:0:::*]
LOGONB
END

Looking for your help.

kaykay

Hello, I would like a little bit of help here for my DT80 logger. I want to activate the FTP module for remote access. I have already connected it to the internet, just the configuration is giving me headache. This is how i tried to do it: BEGIN "FTP" LOGON 2(A) 2(B) [0:0:12] DO { COPYD start=new dest=ftp://SolarHouz:dt80_SolarTNBR@XXXX.XXXX.XXXX.XXXX } END 1) 2(A) is the existing schedule which currently collects data from sensors. 2) (B) is the new schedule called 'FTP' for FTP. I want it to push data at 12 noon everyday. 3) The confusing part is how do i call schedule 2(A), should i include all the codes in schedule 2(A) before i call schedule 2(B), i need help there. 4) I also want the file sent to be named by the date sent in the FTP folder. Ref: Schedule 2(A) codes: BEGIN"config" ' Generated by dEX Configuration Builder Version 1.29.1924 (Firmware Version 9.08.3932) ' Target device: DT80-3 password="" S1=0,4000,0,35.16 RS1S RA"Schedule_2"("b:",ALARMS:OV:95MB:W60,DATA:OV:100MB)5S LOGONA 5SDI12("Air Temperature~degC",LM,AD"0",R201,CM) 5SDI12("Pressure~hPa",LM,AD"0",R203,CM) 5SDI12("Rel. Humidity~%",LM,AD"0",R202,CM) 5SDI12("Wind Speed~m/s",LM,AD"0",R105,CM) 5SDI12("Wind Direction~deg",LM,AD"0",R102,CM) 5SDI12("Rain accumulation~mm",LM,AD"0",R301,CM) 5SDI12("Rain duration~s",LM,AD"0",R302,CM) 1V("Dir_Irr_Raw~mV",=1CV,LM,NA,GL30mV) 2V("Dif_Irr_Raw~mV",=2CV,LM,NA,GL30mV) 3V("Glob_Irr_Raw~mV",=3CV,LM,NA,GL30mV) CALC("Dir_Irr~W/m2",LM)=1CV/0.00782 CALC("Dif_Irr~W/m2",LM)=2CV/0.00936 CALC("Glob_Irr~W/m2",LM)=3CV/0.00879 RB"RB24H"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:0:0:*:*:*] LOGONB END Looking for your help. kaykay

Good morning Kay Kay,

I am replying to your email and will post here for others.

1/ Schedule triggers.
The A schedule you set to the rate you want the channels sampled at.
If you want to read the data every hour then the command will be RA1H or if you are using the Cron style trigger then RA[0:0:1]

2/ Custom file names
Please take a look at the section "Unload Destination Replaceable Parameters" on page 102 of the manual (UM-0085-B7)
This is a good place to start. Once you have determined the format you can work out the strings required.

Cheers,
Roger

Good morning Kay Kay, I am replying to your email and will post here for others. 1/ Schedule triggers. The A schedule you set to the rate you want the channels sampled at. If you want to read the data every hour then the command will be RA1H or if you are using the Cron style trigger then RA[0:0:1] 2/ Custom file names Please take a look at the section "Unload Destination Replaceable Parameters" on page 102 of the manual (UM-0085-B7) This is a good place to start. Once you have determined the format you can work out the strings required. Cheers, Roger
12
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft