Hi,
I have to reprogram a DT80 with ver7 SW remotely, I won't be there so are going to send up the new program on a USB stick in a oninsert.dxc file in the root.
What I need to happen is that the new job replace the existing and become the default job on reset/ power cycle.
Many Thanks,
Will this work:
BEGIN"ADIT-v2"
'Declare Scaling Spans for Sensors
' Span[span number] = Physical Minimum, Physical Maximum, 0(%) or 4(mA), 100(%) or 20(mA)
S1=0,14,0,100"pH"
S2=14.5,1014.5,0,100"NTU"
S3=0,10000,0,100"uS"
S4=0,50,0,100"degC"
S5=0,5,200,2550"m"
'Every 15 Minutes
' Counters:
' 1HSC(R,"Label") = Log Channels 1'S HIGH SPEED COUNTER(HSC) THEN RESET IT(R).
' Result transferred to 1CV and multiplier applied in 2CV as Logged value
' Loop Current per Channel([channel]#);
' Measure Current with(L) OR without(I) Internal Shunt Resister
' Power the Sensor(E) (provide 12V through the channel'S * OUTPUT)
' Convert Current Percentage to physical value using Span(S[span number])
' Wait MD[ms] after Powering the Sensor before actually reading Current Percentage.
' VEXT is to show if power supply is working.
RA15M
1HSC(R,=1CV,W,NL)
2CV("Rainfall mm")=1CV*0.2
3CV("Rain 24h mm")=3CV+2CV
1#L(E,S1,"pH",MD5000)
2#L(E,S2,"Turbidity",MD10000)
3#L(E,S3,"Conductivity",MD5000)
4#L(E,S4,"Temp",MD5000)
5V(E,S5,FF3,"Level",MD5000)
VEXT
RB24H
3CV("Rain 24h mm")
3CV(W)=0
FUNCTION3="Log Now!!"{XA}
'Enable Logging
LOGON
'End Job Description
END
Hi,
I have to reprogram a DT80 with ver7 SW remotely, I won't be there so are going to send up the new program on a USB stick in a oninsert.dxc file in the root.
What I need to happen is that the new job replace the existing and become the default job on reset/ power cycle.
Many Thanks,
Will this work:
````
BEGIN"ADIT-v2"
'Declare Scaling Spans for Sensors
' Span[span number] = Physical Minimum, Physical Maximum, 0(%) or 4(mA), 100(%) or 20(mA)
S1=0,14,0,100"pH"
S2=14.5,1014.5,0,100"NTU"
S3=0,10000,0,100"uS"
S4=0,50,0,100"degC"
S5=0,5,200,2550"m"
'Every 15 Minutes
' Counters:
' 1HSC(R,"Label") = Log Channels 1'S HIGH SPEED COUNTER(HSC) THEN RESET IT(R).
' Result transferred to 1CV and multiplier applied in 2CV as Logged value
' Loop Current per Channel([channel]#);
' Measure Current with(L) OR without(I) Internal Shunt Resister
' Power the Sensor(E) (provide 12V through the channel'S * OUTPUT)
' Convert Current Percentage to physical value using Span(S[span number])
' Wait MD[ms] after Powering the Sensor before actually reading Current Percentage.
' VEXT is to show if power supply is working.
RA15M
1HSC(R,=1CV,W,NL)
2CV("Rainfall mm")=1CV*0.2
3CV("Rain 24h mm")=3CV+2CV
1#L(E,S1,"pH",MD5000)
2#L(E,S2,"Turbidity",MD10000)
3#L(E,S3,"Conductivity",MD5000)
4#L(E,S4,"Temp",MD5000)
5V(E,S5,FF3,"Level",MD5000)
VEXT
RB24H
3CV("Rain 24h mm")
3CV(W)=0
FUNCTION3="Log Now!!"{XA}
'Enable Logging
LOGON
'End Job Description
END
````