Hi,
I have 6 loggers in monitoring equipment and sending data to a central FTP server every 15 minuets and every 24 hours.
The problem i have is that they all ftp their data correctly for several days, or sometimes weeks and then the data file appears empty after a certain time
An example of a good file is
Timestamp TZ V(S4)_TUM (1S) (V) I(S4)_TUM (1S) (mA)
19/12/2016 18:00 n 749.81 581.63
19/12/2016 18:00 n 750.04 581.74
19/12/2016 18:00 n 750.74 581.82
19/12/2016 18:00 n 750.51 581.61
19/12/2016 18:00 n 749.59 581.49
19/12/2016 18:00 n 748.66 581.59
19/12/2016 18:00 n 749.81 581.84
19/12/2016 18:00 n 750.28 581.7
19/12/2016 18:00 n 748.44 581.7
etc.. for 900 samples in a 15 min period..
what happens when the problem occurs is that only the header is transferred to the ftp file with no date or data contained in the ftp file. as shown below.
Timestamp TZ V(S4)_TUM (1S) (V) I(S4)_TUM (1S) (mA)
The file is empty of data but does contain the headers for the data.
The loggers continue to FTP this empty file as per the schedule set until i resave the configuration to the logger upon which time the files contain data again from the time of the re save configuration.
Attached is the configuration, I am not sure what is causing this..
PROFILE USER SITE="Tumon Bay"
PROFILE HOST_PORT BPS="57600"
PROFILE HOST_PORT DATA_BITS="8"
PROFILE HOST_PORT STOP_BITS="1"
PROFILE HOST_PORT PARITY="NONE"
PROFILE HOST_PORT FLOW="SOFTWARE"
PROFILE HOST_PORT FUNCTION="COMMAND"
PROFILE SERSEN_PORT BPS="1200"
PROFILE SERSEN_PORT DATA_BITS="8"
PROFILE SERSEN_PORT STOP_BITS="1"
PROFILE SERSEN_PORT PARITY="NONE"
PROFILE SERSEN_PORT FLOW="NONE"
PROFILE SERSEN_PORT MODE="RS232"
PROFILE SERSEN_PORT FUNCTION="SERIAL"
PROFILE USB_PORT FUNCTION="COMMAND"
PROFILE HOST_MODEM EXT_POWER_SWITCH="NONE"
PROFILE HOST_MODEM DETECTION="DSR"
PROFILE HOST_MODEM INIT="AT"
PROFILE HOST_MODEM MAX_CD_IDLE="43200"
PROFILE ETHERNET_SESSION SMTP_SERVER=""
PROFILE ETHERNET_SESSION SMTP_ACCOUNT=""
PROFILE ETHERNET_SESSION SMTP_PASSWORD=""
PROFILE ETHERNET_SESSION SMTP_PORT="25"
PROFILE ETHERNET_SESSION RETURN_ADDRESS="Your.Logger@datataker.com"
PROFILE ETHERNET_SESSION SENDER_NAME=""
PROFILE ETHERNET_SESSION RETRY_DELAY_S="30"
PROFILE ETHERNET ENABLE="YES"
PROFILE ETHERNET IP_ADDRESS="172.16.53.200"
PROFILE ETHERNET SUBNET_MASK="255.255.255.0"
PROFILE ETHERNET GATEWAY="172.16.53.1"
PROFILE PPP USER="DATATAKER"
PROFILE PPP PASSWORD="DATATAKER"
PROFILE FTP_SERVER PORT="21"
PROFILE FTP_SERVER USER="DATATAKER"
PROFILE FTP_SERVER PASSWORD="DATATAKER"
PROFILE FTP_SERVER ALLOW_ANONYMOUS="YES"
PROFILE NETWORK DNS_SERVER_1="0.0.0.0"
PROFILE NETWORK DNS_SERVER_2="0.0.0.0"
PROFILE COMMAND_SERVER PORT="7700"
PROFILE COMMAND_SERVER SESSION_TIMEOUT="0"
PROFILE MODBUS_SERVER TCPIP_PORT="502"
PROFILE MODBUS_SERVER SERSEN_ADDRESS="0"
PROFILE MODBUS_SERVER HOST_ADDRESS="0"
PROFILE MODBUS_SERVER USB_ADDRESS="0"
PROFILE NTP BACKGROUND_ENABLE="YES"
PROFILE NTP SERVER="172.16.52.1"
PROFILE NTP BACKGROUND_PERIOD="3599S"
PROFILE NTP MAX_SLEW_CORRECTION="3S"
PROFILE NTP MAX_JUMP_CORRECTION="24H"
PROFILE NTP MIN_CORRECTION="50T"
PROFILE NTP SLEW_RATE="10"
PROFILE NTP TIMEOUT="2S"
PROFILE NTP BACKGROUND_WAKEUP_DELAY="3S"
PROFILE LOCALE TIME_ZONE="0"
PROFILE STARTUP RUN="CURRENT_JOB"
PROFILE STARTUP MAINTAIN_OUTPUTS="NO"
PROFILE STARTUP MAINTAIN_VARS="NO"
PROFILE UNLOAD FTP_RETRIES="INFINITE"
PROFILE DISPLAY AUTOSCROLL_INTERVAL="2S"
PROFILE DISPLAY AUTOSCROLL_DELAY="30S"
PROFILE DISPLAY AUTOACK_DELAY="0S"
PROFILE STORAGE FORMAT="NORMAL"
PROFILE STORAGE UNLOAD_BUFFER_SIZE="16384"
PROFILE FUNCTION F1_LABEL=""
PROFILE FUNCTION F1_COMMAND=""
PROFILE FUNCTION F2_LABEL=""
PROFILE FUNCTION F2_COMMAND=""
PROFILE FUNCTION F3_LABEL=""
PROFILE FUNCTION F3_COMMAND=""
PROFILE FUNCTION F4_LABEL=""
PROFILE FUNCTION F4_COMMAND=""
PROFILE FUNCTION F5_LABEL=""
PROFILE FUNCTION F5_COMMAND=""
PROFILE FUNCTION F6_LABEL=""
PROFILE FUNCTION F6_COMMAND=""
PROFILE FUNCTION F7_LABEL=""
PROFILE FUNCTION F7_COMMAND=""
PROFILE FUNCTION F8_LABEL="Remove USB"
PROFILE FUNCTION F8_COMMAND="REMOVEMEDIA"
PROFILE FUNCTION F9_LABEL="Copy logged data"
PROFILE FUNCTION F9_COMMAND="COPYD dest=a: format=dbd archive=y src=BD"
PROFILE FUNCTION F10_LABEL="Auto Ethernet IP"
PROFILE FUNCTION F10_COMMAND="PROFILE ETHERNET ENABLE=YES; PROFILE ETHERNET IP_ADDRESS=0.0.0.0; PROFILE ETHERNET IP_ADDRESS=AUTO"
PROFILE SWITCHES C="ON"
PROFILE SWITCHES D="OFF"
PROFILE SWITCHES E="ON"
PROFILE SWITCHES F="OFF"
PROFILE SWITCHES H="OFF"
PROFILE SWITCHES I="OFF"
PROFILE SWITCHES K="ON"
PROFILE SWITCHES L="OFF"
PROFILE SWITCHES M="ON"
PROFILE SWITCHES N="ON"
PROFILE SWITCHES R="ON"
PROFILE SWITCHES S="ON"
PROFILE SWITCHES T="OFF"
PROFILE SWITCHES U="ON"
PROFILE SWITCHES W="OFF"
PROFILE SWITCHES X="OFF"
PROFILE SWITCHES Z="ON"
PROFILE PARAMETERS P0="20"
PROFILE PARAMETERS P3="1500"
PROFILE PARAMETERS P4="800"
PROFILE PARAMETERS P8="0"
PROFILE PARAMETERS P9="1"
PROFILE PARAMETERS P11="60"
PROFILE PARAMETERS P14="600"
PROFILE PARAMETERS P15="2"
PROFILE PARAMETERS P16="0"
PROFILE PARAMETERS P17="30"
PROFILE PARAMETERS P20="2"
PROFILE PARAMETERS P21="1"
PROFILE PARAMETERS P22="32"
PROFILE PARAMETERS P24="13"
PROFILE PARAMETERS P26="60"
PROFILE PARAMETERS P27="0"
PROFILE PARAMETERS P28="0"
PROFILE PARAMETERS P31="3"
PROFILE PARAMETERS P32="5"
PROFILE PARAMETERS P33="0"
PROFILE PARAMETERS P36="0"
PROFILE PARAMETERS P38="46"
PROFILE PARAMETERS P39="0"
PROFILE PARAMETERS P40="58"
PROFILE PARAMETERS P41="0"
PROFILE PARAMETERS P50="0"
PROFILE PARAMETERS P51="6"
PROFILE PARAMETERS P53="10"
PROFILE PARAMETERS P55="16383"
PROFILE PARAMETERS P56="0"
PROFILE PARAMETERS P62="0"
BEGIN"config"
' Generated by dEX Configuration Builder Version 1.72.007 (Firmware Version 9.18.6291)
' Target device: DT80-3
password=""
S1=0,0,0,100
RS10S
RA"1S" ("b:",ALARMS:OV:10MB:W60,DATA:OV:25H)1S
LOGONA
1V("V(S4)TUM (1S)~V",=1001CV,LM,NA,GL3V)
1*V("I(S4)TUM (1S)~mA",=1002CV,LM,NA,GL3V)
RD"60_S" ("b:",ALARMS:OV:100KB:W60,DATA:OV:32D)60S
LOGOND
1V("V(S4)TUM (60S)~V",=1007CV,LM,NA,GL3V)
1*V("I(S4)_TUM (60S)~mA",=1008CV,LM,NA,GL3V)
RF"15_MIN_FTP" ("b:",ALARMS:OV:100R:W60,DATA:OV:32D)15M
LOGOFFF
' User defined
22sv(=3CV) 3CV;
21sv(=2CV) 2CV;
20sv(=1CV) 1CV;
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum3h.csv?priority=yes&interface=" format=CSV sched=A data=Y alarms=N start=-3}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_24h_1s.csv?priority=yes&interface=" format=CSV sched=A data=Y alarms=N start=-1T}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_24h.csv?priority=yes&interface=" format=CSV sched=D data=Y alarms=N start=-1T}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_7d.csv?priority=yes&interface=" format=CSV sched=D data=Y alarms=N start=-7T}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_31d.csv?priority=yes&interface=" format=CSV sched=D data=Y alarms=N start=-31T}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/PFE_DATA/3_Tumon_Bay/SEGMENT_4_PFE_1/VOLT_CURRENT_DATA/15_MIN/%3F(3CV)/%3F(2CV)/%3F(1CV)/Tumon_Bay_PFE_1_15_MIN%3F(timestamp).csv?priority=yes&interface=" format=CSV sched=A data=Y alarms=N start=-0:15}
RI"24HOUR_FTP" ("b:",ALARMS:OV:100R:W60,DATA:OV:32D)24H
LOGOFFI
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/PFE_DATA/3_Tumon_Bay/SEGMENT_4_PFE_1/VOLT_CURRENT_DATA/24_HOUR/%3F(3CV)/%3F(2CV)/Tumon_Bay_PFE_1_24_HOUR%3F(timestamp).csv?priority=yes&interface=" format=CSV sched=D data=Y alarms=N start=-1T}
END
Hi,
I have 6 loggers in monitoring equipment and sending data to a central FTP server every 15 minuets and every 24 hours.
The problem i have is that they all ftp their data correctly for several days, or sometimes weeks and then the data file appears empty after a certain time
An example of a good file is
Timestamp TZ V_(S4)_TUM (1S) (V) I_(S4)_TUM (1S) (mA)
19/12/2016 18:00 n 749.81 581.63
19/12/2016 18:00 n 750.04 581.74
19/12/2016 18:00 n 750.74 581.82
19/12/2016 18:00 n 750.51 581.61
19/12/2016 18:00 n 749.59 581.49
19/12/2016 18:00 n 748.66 581.59
19/12/2016 18:00 n 749.81 581.84
19/12/2016 18:00 n 750.28 581.7
19/12/2016 18:00 n 748.44 581.7
etc.. for 900 samples in a 15 min period..
what happens when the problem occurs is that only the header is transferred to the ftp file with no date or data contained in the ftp file. as shown below.
Timestamp TZ V_(S4)_TUM (1S) (V) I_(S4)_TUM (1S) (mA)
The file is empty of data but does contain the headers for the data.
The loggers continue to FTP this empty file as per the schedule set until i resave the configuration to the logger upon which time the files contain data again from the time of the re save configuration.
Attached is the configuration, I am not sure what is causing this..
PROFILE USER SITE="Tumon Bay"
PROFILE HOST_PORT BPS="57600"
PROFILE HOST_PORT DATA_BITS="8"
PROFILE HOST_PORT STOP_BITS="1"
PROFILE HOST_PORT PARITY="NONE"
PROFILE HOST_PORT FLOW="SOFTWARE"
PROFILE HOST_PORT FUNCTION="COMMAND"
PROFILE SERSEN_PORT BPS="1200"
PROFILE SERSEN_PORT DATA_BITS="8"
PROFILE SERSEN_PORT STOP_BITS="1"
PROFILE SERSEN_PORT PARITY="NONE"
PROFILE SERSEN_PORT FLOW="NONE"
PROFILE SERSEN_PORT MODE="RS232"
PROFILE SERSEN_PORT FUNCTION="SERIAL"
PROFILE USB_PORT FUNCTION="COMMAND"
PROFILE HOST_MODEM EXT_POWER_SWITCH="NONE"
PROFILE HOST_MODEM DETECTION="DSR"
PROFILE HOST_MODEM INIT="AT"
PROFILE HOST_MODEM MAX_CD_IDLE="43200"
PROFILE ETHERNET_SESSION SMTP_SERVER=""
PROFILE ETHERNET_SESSION SMTP_ACCOUNT=""
PROFILE ETHERNET_SESSION SMTP_PASSWORD=""
PROFILE ETHERNET_SESSION SMTP_PORT="25"
PROFILE ETHERNET_SESSION RETURN_ADDRESS="Your.Logger@datataker.com"
PROFILE ETHERNET_SESSION SENDER_NAME=""
PROFILE ETHERNET_SESSION RETRY_DELAY_S="30"
PROFILE ETHERNET ENABLE="YES"
PROFILE ETHERNET IP_ADDRESS="172.16.53.200"
PROFILE ETHERNET SUBNET_MASK="255.255.255.0"
PROFILE ETHERNET GATEWAY="172.16.53.1"
PROFILE PPP USER="DATATAKER"
PROFILE PPP PASSWORD="DATATAKER"
PROFILE FTP_SERVER PORT="21"
PROFILE FTP_SERVER USER="DATATAKER"
PROFILE FTP_SERVER PASSWORD="DATATAKER"
PROFILE FTP_SERVER ALLOW_ANONYMOUS="YES"
PROFILE NETWORK DNS_SERVER_1="0.0.0.0"
PROFILE NETWORK DNS_SERVER_2="0.0.0.0"
PROFILE COMMAND_SERVER PORT="7700"
PROFILE COMMAND_SERVER SESSION_TIMEOUT="0"
PROFILE MODBUS_SERVER TCPIP_PORT="502"
PROFILE MODBUS_SERVER SERSEN_ADDRESS="0"
PROFILE MODBUS_SERVER HOST_ADDRESS="0"
PROFILE MODBUS_SERVER USB_ADDRESS="0"
PROFILE NTP BACKGROUND_ENABLE="YES"
PROFILE NTP SERVER="172.16.52.1"
PROFILE NTP BACKGROUND_PERIOD="3599S"
PROFILE NTP MAX_SLEW_CORRECTION="3S"
PROFILE NTP MAX_JUMP_CORRECTION="24H"
PROFILE NTP MIN_CORRECTION="50T"
PROFILE NTP SLEW_RATE="10"
PROFILE NTP TIMEOUT="2S"
PROFILE NTP BACKGROUND_WAKEUP_DELAY="3S"
PROFILE LOCALE TIME_ZONE="0"
PROFILE STARTUP RUN="CURRENT_JOB"
PROFILE STARTUP MAINTAIN_OUTPUTS="NO"
PROFILE STARTUP MAINTAIN_VARS="NO"
PROFILE UNLOAD FTP_RETRIES="INFINITE"
PROFILE DISPLAY AUTOSCROLL_INTERVAL="2S"
PROFILE DISPLAY AUTOSCROLL_DELAY="30S"
PROFILE DISPLAY AUTOACK_DELAY="0S"
PROFILE STORAGE FORMAT="NORMAL"
PROFILE STORAGE UNLOAD_BUFFER_SIZE="16384"
PROFILE FUNCTION F1_LABEL=""
PROFILE FUNCTION F1_COMMAND=""
PROFILE FUNCTION F2_LABEL=""
PROFILE FUNCTION F2_COMMAND=""
PROFILE FUNCTION F3_LABEL=""
PROFILE FUNCTION F3_COMMAND=""
PROFILE FUNCTION F4_LABEL=""
PROFILE FUNCTION F4_COMMAND=""
PROFILE FUNCTION F5_LABEL=""
PROFILE FUNCTION F5_COMMAND=""
PROFILE FUNCTION F6_LABEL=""
PROFILE FUNCTION F6_COMMAND=""
PROFILE FUNCTION F7_LABEL=""
PROFILE FUNCTION F7_COMMAND=""
PROFILE FUNCTION F8_LABEL="Remove USB"
PROFILE FUNCTION F8_COMMAND="REMOVEMEDIA"
PROFILE FUNCTION F9_LABEL="Copy logged data"
PROFILE FUNCTION F9_COMMAND="COPYD dest=a: format=dbd archive=y src=BD"
PROFILE FUNCTION F10_LABEL="Auto Ethernet IP"
PROFILE FUNCTION F10_COMMAND="PROFILE ETHERNET ENABLE=YES; PROFILE ETHERNET IP_ADDRESS=0.0.0.0; PROFILE ETHERNET IP_ADDRESS=AUTO"
PROFILE SWITCHES C="ON"
PROFILE SWITCHES D="OFF"
PROFILE SWITCHES E="ON"
PROFILE SWITCHES F="OFF"
PROFILE SWITCHES H="OFF"
PROFILE SWITCHES I="OFF"
PROFILE SWITCHES K="ON"
PROFILE SWITCHES L="OFF"
PROFILE SWITCHES M="ON"
PROFILE SWITCHES N="ON"
PROFILE SWITCHES R="ON"
PROFILE SWITCHES S="ON"
PROFILE SWITCHES T="OFF"
PROFILE SWITCHES U="ON"
PROFILE SWITCHES W="OFF"
PROFILE SWITCHES X="OFF"
PROFILE SWITCHES Z="ON"
PROFILE PARAMETERS P0="20"
PROFILE PARAMETERS P3="1500"
PROFILE PARAMETERS P4="800"
PROFILE PARAMETERS P8="0"
PROFILE PARAMETERS P9="1"
PROFILE PARAMETERS P11="60"
PROFILE PARAMETERS P14="600"
PROFILE PARAMETERS P15="2"
PROFILE PARAMETERS P16="0"
PROFILE PARAMETERS P17="30"
PROFILE PARAMETERS P20="2"
PROFILE PARAMETERS P21="1"
PROFILE PARAMETERS P22="32"
PROFILE PARAMETERS P24="13"
PROFILE PARAMETERS P26="60"
PROFILE PARAMETERS P27="0"
PROFILE PARAMETERS P28="0"
PROFILE PARAMETERS P31="3"
PROFILE PARAMETERS P32="5"
PROFILE PARAMETERS P33="0"
PROFILE PARAMETERS P36="0"
PROFILE PARAMETERS P38="46"
PROFILE PARAMETERS P39="0"
PROFILE PARAMETERS P40="58"
PROFILE PARAMETERS P41="0"
PROFILE PARAMETERS P50="0"
PROFILE PARAMETERS P51="6"
PROFILE PARAMETERS P53="10"
PROFILE PARAMETERS P55="16383"
PROFILE PARAMETERS P56="0"
PROFILE PARAMETERS P62="0"
BEGIN"config"
' Generated by dEX Configuration Builder Version 1.72.007 (Firmware Version 9.18.6291)
' Target device: DT80-3
password=""
S1=0,0,0,100
RS10S
RA"1_S" ("b:",ALARMS:OV:10MB:W60,DATA:OV:25H)1S
LOGONA
1V("V_(S4)_TUM (1S)~V",=1001CV,LM,NA,GL3V)
1*V("I_(S4)_TUM (1S)~mA",=1002CV,LM,NA,GL3V)
RD"60_S" ("b:",ALARMS:OV:100KB:W60,DATA:OV:32D)60S
LOGOND
1V("V_(S4)_TUM (60S)~V",=1007CV,LM,NA,GL3V)
1*V("I_(S4)_TUM (60S)~mA",=1008CV,LM,NA,GL3V)
RF"15_MIN_FTP" ("b:",ALARMS:OV:100R:W60,DATA:OV:32D)15M
LOGOFFF
' User defined
22sv(=3CV) 3CV;
21sv(=2CV) 2CV;
20sv(=1CV) 1CV;
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_3h.csv?priority=yes&interface=" format=CSV sched=A data=Y alarms=N start=-3}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_24h_1s.csv?priority=yes&interface=" format=CSV sched=A data=Y alarms=N start=-1T}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_24h.csv?priority=yes&interface=" format=CSV sched=D data=Y alarms=N start=-1T}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_7d.csv?priority=yes&interface=" format=CSV sched=D data=Y alarms=N start=-7T}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/Web/tum_31d.csv?priority=yes&interface=" format=CSV sched=D data=Y alarms=N start=-31T}
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/PFE_DATA/3_Tumon_Bay/SEGMENT_4_PFE_1/VOLT_CURRENT_DATA/15_MIN/%3F(3CV)/%3F(2CV)/%3F(1CV)/Tumon_Bay_PFE_1_15_MIN_%3F(timestamp).csv?priority=yes&interface=" format=CSV sched=A data=Y alarms=N start=-0:15}
RI"24_HOUR_FTP" ("b:",ALARMS:OV:100R:W60,DATA:OV:32D)24H
LOGOFFI
DO{copyd dest="ftp://admin: xxx@172.16.52.210:21/PFE_DATA/3_Tumon_Bay/SEGMENT_4_PFE_1/VOLT_CURRENT_DATA/24_HOUR/%3F(3CV)/%3F(2CV)/Tumon_Bay_PFE_1_24_HOUR_%3F(timestamp).csv?priority=yes&interface=" format=CSV sched=D data=Y alarms=N start=-1T}
END