Hello i habe trouble with my Programm on my DT85M
Actually it is my first Project with a Datataker
I need to read 200 soil moisture sensors.
Each sensor has 4 variables to measure
175 of them are with modbus where i have to recalculate 2 of the values
25 are with SDI12
The Sensors work and i can communicate with all of them.
So i have 1150 values to measure with this sensors . There are some digital and analog inputs comming too later.
I need to expand my channeltable.
At first i tried with multible shedules, but it didn't work out.
My next try was with more jobs but i couldn't figure out how it works. Can somebody please help me or give me an example.
Here is my example without all the sensor commands
BEGIN"config"
'Generated by new dEX-2
password=""
RS1S
RA"P1_1-7slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)5M
LOGONA
DO{RUNJOB"p1"}
END
BEGIN"p1"
RB"P1_8-14slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1CV:1~CV
LOGONB
'Manual "P1.01"{
'Manual}
'Manual "P1.02"{
'Manual}
'Manual "P1.03"{
'Manual}
'Manual "P1.04"{
'Manual}
'Manual "P1.05"{
'Manual}
'Manual "P1.06"{
'Manual}
'Manual "P1.07"{
'Manual}
'Manual "Trigger"{
1CV=1;
'Manual}
DO{RUNJOB"p10708"}
END
Begin"p108014"
'Manual "Trigger"{
2CV=0;
RC"P1_8-14slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)2CV:2~CV
LOGONBC
'Manual "P1.08"{
'Manual}
'Manual "P1.09"{
'Manual}
'Manual "P1.10"{
'Manual}
'Manual "P1.11"{
'Manual}
'Manual "P1.12"{
'Manual}
'Manual "P1.13"{
'Manual}
'Manual "P1.14"{
'Manual}
'Manual "Trigger"{
2CV=1
'Manual}
DO{RUNJOB"p2"}
END
BEGIN"p02"
3CV=0
RD"P2_1-7slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)3CV:3~CV
LOGOND
'Manual "P2.01"{
'Manual}
'Manual "P2.02"{
'Manual}
'Manual "P2.03"{
'Manual}
'Manual "P2.04"{
'Manual}
'Manual "P2.05"{
'Manual}
'Manual "P2.06"{
'Manual}
'Manual "P2.07"{
'Manual}
'Manual "Trigger"{
3CV=1
'Manual}
DO{RUNJOB"p208014"}
END
BEGIN"p208014"
4CV=0
RE"P1_8-14slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)4CV:4~CV
LOGONE
'Manual "P2.08"{
'Manual}
'Manual "P2.10"{
'Manual}
'Manual "P2.11"{
'Manual}
'Manual "P2.12"{
'Manual}
'Manual "P2.13"{
'Manual}
'Manual "P2.14"{
'Manual}
'Manual "Trigger"{
4CV=1;
'Manual}
DO{RUNJOB"p2015016"}
END
BEGIN"p2015016"
5CV=0;
RF"P1_15-16slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)5CV:5~CV
LOGONF
'Manual "P2.15"{
'Manual}
'Manual "P2.16"{
'Manual}
'Manual "Trigger"{
5CV=1;
'Manual}
DO{RUNJOB"p3"}
END
BEGIN"p3"
6CV=0;
RG"P3_slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)6CV:6~CV
LOGONG
'Manual "P3.01"{
'Manual}
'Manual "P3.02"{
'Manual}
'Manual "P3.03"{
'Manual}
'Manual "P3.04"{
'Manual}
'Manual "P3.05"{
'Manual}
'Manual "Trigger"{
6CV=1;
'Manual}
DO{RUNJOB"p4"}
END
BEGIN"p4"
7CV=0;
RH"P4_slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)7CV:7~CV
LOGONH
'Manual "P4.01"{
'Manual}
'Manual "P4.02"{
'Manual}
'Manual "P4.03"{
'Manual}
'Manual "P4.04"{
'Manual}
'Manual "P4.05"{
'Manual}
'Manual "Trigger"{
7CV=1;
'Manual}
DO{RUNJOB"config"}
END
Here is a example of one manual sensorcommands:
It includes 5 Sensors
1MODBUS(AD1,R4:1,1,MBU,TO1,RT1,=100CV,LM);
101CV=100CV/100-100;
1MODBUS(AD1,R4:2,1,MBU,TO1,RT1,=102CV,LM);
1MODBUS(AD1,R4:3,1,MBU,TO1,RT1,=103CV,LM);
104CV=103CV/100;
1MODBUS(AD1,R4:4,1,MBU,TO1,RT1,=105CV,LM);
1MODBUS(AD2,R4:1,1,MBU,TO1,RT1,=106CV,LM);
107CV=106CV/100-100;
1MODBUS(AD2,R4:2,1,MBU,TO1,RT1,=108CV,LM);
1MODBUS(AD2,R4:3,1,MBU,TO1,RT1,=109CV,LM);
110CV=109CV/100;
1MODBUS(AD2,R4:4,1,MBU,TO1,RT1,=111CV,LM);
1MODBUS(AD3,R4:1,1,MBU,TO1,RT1,=112CV,LM);
113CV=112CV/100-100;
1MODBUS(AD3,R4:2,1,MBU,TO1,RT1,=114CV,LM);
1MODBUS(AD3,R4:3,1,MBU,TO1,RT1,=115CV,LM);
116CV=115CV/100;
1MODBUS(AD3,R4:4,1,MBU,TO1,RT1,=117CV,LM);
1MODBUS(AD4,R4:1,1,MBU,TO1,RT1,=118CV,LM);
119CV=118CV/100-100;
1MODBUS(AD4,R4:2,1,MBU,TO1,RT1,=120CV,LM);
1MODBUS(AD4,R4:3,1,MBU,TO1,RT1,=121CV,LM);
122CV=121CV/100;
1MODBUS(AD4,R4:4,1,MBU,TO1,RT1,=123CV,LM);
1MODBUS(AD5,R4:1,1,MBU,TO1,RT1,=124CV,LM);
125CV=124CV/100-100;
1MODBUS(AD5,R4:2,1,MBU,TO1,RT1,=126CV,LM);
1MODBUS(AD5,R4:3,1,MBU,TO1,RT1,=127CV,LM);
128CV=127CV/100;
1MODBUS(AD5,R4:4,1,MBU,TO1,RT1,=129CV,LM);
100CV("P1.01.05_aTemp~a°C",FF6);
101CV("P1.01.05_Temp~°C",FF6);
102CV("P1.01.05_water~%",FF6);
103CV("P1.01.05_aRelP~a.rel.P",FF6);
104CV("P1.01.05_relP~rel.P",FF6);
105CV("P1.01.05_Counts~counts",FF6);
106CV("P1.01.10_aTemp~a°C",FF6);
107CV("P1.01.10_Temp~°C",FF6);
108CV("P1.01.10_water~%",FF6);
109CV("P1.01.10_aRelP~a.rel.P",FF6);
110CV("P1.01.10_relP~rel.P",FF6);
111CV("P1.01.10_Counts~counts",FF6);
112CV("P1.01.20_aTemp~a°C",FF6);
113CV("P1.01.20_Temp~°C",FF6);
114CV("P1.01.20_water~%",FF6);
115CV("P1.01.20_aRelP~a.rel.P",FF6);
116CV("P1.01.20_relP~rel.P",FF6);
117CV("P1.01.20_Counts~counts",FF6);
118CV("P1.01.40_aTemp~a°C",FF6);
119CV("P1.01.40_Temp~°C",FF6);
120CV("P1.01.40_water~%",FF6);
121CV("P1.01.40_aRelP~a.rel.P",FF6);
122CV("P1.01.40_relP~rel.P",FF6);
123CV("P1.01.40_Counts~counts",FF6);
124CV("P1.01.80_aTemp~a°C",FF6);
125CV("P1.01.80_Temp~°C",FF6);
126CV("P1.01.80_water~%",FF6);
127CV("P1.01.80_aRelP~a.rel.P",FF6);
128CV("P1.01.80_relP~rel.P",FF6);
129CV("P1.01.80_Counts~counts",FF6);
Hello i habe trouble with my Programm on my DT85M
Actually it is my first Project with a Datataker
I need to read 200 soil moisture sensors.
Each sensor has 4 variables to measure
175 of them are with modbus where i have to recalculate 2 of the values
25 are with SDI12
The Sensors work and i can communicate with all of them.
So i have 1150 values to measure with this sensors . There are some digital and analog inputs comming too later.
I need to expand my channeltable.
At first i tried with multible shedules, but it didn't work out.
My next try was with more jobs but i couldn't figure out how it works. Can somebody please help me or give me an example.
Here is my example without all the sensor commands
````
BEGIN"config"
'Generated by new dEX-2
password=""
RS1S
RA"P1_1-7slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)5M
LOGONA
DO{RUNJOB"p1"}
END
BEGIN"p1"
RB"P1_8-14slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1CV:1~CV
LOGONB
'Manual "P1.01"{
'Manual}
'Manual "P1.02"{
'Manual}
'Manual "P1.03"{
'Manual}
'Manual "P1.04"{
'Manual}
'Manual "P1.05"{
'Manual}
'Manual "P1.06"{
'Manual}
'Manual "P1.07"{
'Manual}
'Manual "Trigger"{
1CV=1;
'Manual}
DO{RUNJOB"p10708"}
END
Begin"p108014"
'Manual "Trigger"{
2CV=0;
RC"P1_8-14slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)2CV:2~CV
LOGONBC
'Manual "P1.08"{
'Manual}
'Manual "P1.09"{
'Manual}
'Manual "P1.10"{
'Manual}
'Manual "P1.11"{
'Manual}
'Manual "P1.12"{
'Manual}
'Manual "P1.13"{
'Manual}
'Manual "P1.14"{
'Manual}
'Manual "Trigger"{
2CV=1
'Manual}
DO{RUNJOB"p2"}
END
BEGIN"p02"
3CV=0
RD"P2_1-7slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)3CV:3~CV
LOGOND
'Manual "P2.01"{
'Manual}
'Manual "P2.02"{
'Manual}
'Manual "P2.03"{
'Manual}
'Manual "P2.04"{
'Manual}
'Manual "P2.05"{
'Manual}
'Manual "P2.06"{
'Manual}
'Manual "P2.07"{
'Manual}
'Manual "Trigger"{
3CV=1
'Manual}
DO{RUNJOB"p208014"}
END
BEGIN"p208014"
4CV=0
RE"P1_8-14slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)4CV:4~CV
LOGONE
'Manual "P2.08"{
'Manual}
'Manual "P2.10"{
'Manual}
'Manual "P2.11"{
'Manual}
'Manual "P2.12"{
'Manual}
'Manual "P2.13"{
'Manual}
'Manual "P2.14"{
'Manual}
'Manual "Trigger"{
4CV=1;
'Manual}
DO{RUNJOB"p2015016"}
END
BEGIN"p2015016"
5CV=0;
RF"P1_15-16slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)5CV:5~CV
LOGONF
'Manual "P2.15"{
'Manual}
'Manual "P2.16"{
'Manual}
'Manual "Trigger"{
5CV=1;
'Manual}
DO{RUNJOB"p3"}
END
BEGIN"p3"
6CV=0;
RG"P3_slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)6CV:6~CV
LOGONG
'Manual "P3.01"{
'Manual}
'Manual "P3.02"{
'Manual}
'Manual "P3.03"{
'Manual}
'Manual "P3.04"{
'Manual}
'Manual "P3.05"{
'Manual}
'Manual "Trigger"{
6CV=1;
'Manual}
DO{RUNJOB"p4"}
END
BEGIN"p4"
7CV=0;
RH"P4_slow"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)7CV:7~CV
LOGONH
'Manual "P4.01"{
'Manual}
'Manual "P4.02"{
'Manual}
'Manual "P4.03"{
'Manual}
'Manual "P4.04"{
'Manual}
'Manual "P4.05"{
'Manual}
'Manual "Trigger"{
7CV=1;
'Manual}
DO{RUNJOB"config"}
END
````
Here is a example of one manual sensorcommands:
It includes 5 Sensors
````
1MODBUS(AD1,R4:1,1,MBU,TO1,RT1,=100CV,LM);
101CV=100CV/100-100;
1MODBUS(AD1,R4:2,1,MBU,TO1,RT1,=102CV,LM);
1MODBUS(AD1,R4:3,1,MBU,TO1,RT1,=103CV,LM);
104CV=103CV/100;
1MODBUS(AD1,R4:4,1,MBU,TO1,RT1,=105CV,LM);
1MODBUS(AD2,R4:1,1,MBU,TO1,RT1,=106CV,LM);
107CV=106CV/100-100;
1MODBUS(AD2,R4:2,1,MBU,TO1,RT1,=108CV,LM);
1MODBUS(AD2,R4:3,1,MBU,TO1,RT1,=109CV,LM);
110CV=109CV/100;
1MODBUS(AD2,R4:4,1,MBU,TO1,RT1,=111CV,LM);
1MODBUS(AD3,R4:1,1,MBU,TO1,RT1,=112CV,LM);
113CV=112CV/100-100;
1MODBUS(AD3,R4:2,1,MBU,TO1,RT1,=114CV,LM);
1MODBUS(AD3,R4:3,1,MBU,TO1,RT1,=115CV,LM);
116CV=115CV/100;
1MODBUS(AD3,R4:4,1,MBU,TO1,RT1,=117CV,LM);
1MODBUS(AD4,R4:1,1,MBU,TO1,RT1,=118CV,LM);
119CV=118CV/100-100;
1MODBUS(AD4,R4:2,1,MBU,TO1,RT1,=120CV,LM);
1MODBUS(AD4,R4:3,1,MBU,TO1,RT1,=121CV,LM);
122CV=121CV/100;
1MODBUS(AD4,R4:4,1,MBU,TO1,RT1,=123CV,LM);
1MODBUS(AD5,R4:1,1,MBU,TO1,RT1,=124CV,LM);
125CV=124CV/100-100;
1MODBUS(AD5,R4:2,1,MBU,TO1,RT1,=126CV,LM);
1MODBUS(AD5,R4:3,1,MBU,TO1,RT1,=127CV,LM);
128CV=127CV/100;
1MODBUS(AD5,R4:4,1,MBU,TO1,RT1,=129CV,LM);
100CV("P1.01.05_aTemp~a°C",FF6);
101CV("P1.01.05_Temp~°C",FF6);
102CV("P1.01.05_water~%",FF6);
103CV("P1.01.05_aRelP~a.rel.P",FF6);
104CV("P1.01.05_relP~rel.P",FF6);
105CV("P1.01.05_Counts~counts",FF6);
106CV("P1.01.10_aTemp~a°C",FF6);
107CV("P1.01.10_Temp~°C",FF6);
108CV("P1.01.10_water~%",FF6);
109CV("P1.01.10_aRelP~a.rel.P",FF6);
110CV("P1.01.10_relP~rel.P",FF6);
111CV("P1.01.10_Counts~counts",FF6);
112CV("P1.01.20_aTemp~a°C",FF6);
113CV("P1.01.20_Temp~°C",FF6);
114CV("P1.01.20_water~%",FF6);
115CV("P1.01.20_aRelP~a.rel.P",FF6);
116CV("P1.01.20_relP~rel.P",FF6);
117CV("P1.01.20_Counts~counts",FF6);
118CV("P1.01.40_aTemp~a°C",FF6);
119CV("P1.01.40_Temp~°C",FF6);
120CV("P1.01.40_water~%",FF6);
121CV("P1.01.40_aRelP~a.rel.P",FF6);
122CV("P1.01.40_relP~rel.P",FF6);
123CV("P1.01.40_Counts~counts",FF6);
124CV("P1.01.80_aTemp~a°C",FF6);
125CV("P1.01.80_Temp~°C",FF6);
126CV("P1.01.80_water~%",FF6);
127CV("P1.01.80_aRelP~a.rel.P",FF6);
128CV("P1.01.80_relP~rel.P",FF6);
129CV("P1.01.80_Counts~counts",FF6);
````
Florian Birkner BSc
University of Innsbruck
Department of Civil Engineering Sciences
Institute for Infrastructure Engineering - Unit of Hydraulic Engineering
6020 Innsbruck, Technikerstraße 13a
Austria
t +43 512 507 62219
f +43 512 507 9496
edited Dec 3 '20 at 8:22 am