Support Forums
Different transducer reading at different starting point

Good Morning,

In my laboratory i need to start different tests in different time. For example:

  • at time t0 will start the test n.1 eight hours long (n.1 trasducer);
  • at time t1 will start a second test two hours long (n.3 trasducer);
  • at time t2 will start a third test 24 hours long (n.1 trasducer); etc. etc.

I don't know, in advance, time t1 and t2, so i need to give the start manually. Is it possible even if are three different jobs on the same DT80?

Thank you,
Giovanni

Good Morning, In my laboratory i need to start different tests in different time. For example: - at time t0 will start the test n.1 eight hours long (n.1 trasducer); - at time t1 will start a second test two hours long (n.3 trasducer); - at time t2 will start a third test 24 hours long (n.1 trasducer); etc. etc. I don't know, in advance, time t1 and t2, so i need to give the start manually. Is it possible even if are three different jobs on the same DT80? Thank you, Giovanni

Hi Giovanni,

You can use 3 different jobs on the same DT80. I recently use 2 jobs, 1 for GPRS comm (primary) and the other for satellite comm.

It switched job automatically if data transmission fail (GPRS) or run for half day (satellite). Or in your case you can use poll command (page 49 on manual B3) to trigger schedule based on specific time so you may use only 1 job.

While the time may be entered manually by specific function (page 111 on manual B3).

Best regards,
Rudy Gunawan

Hi Giovanni, You can use 3 different jobs on the same DT80. I recently use 2 jobs, 1 for GPRS comm (primary) and the other for satellite comm. It switched job automatically if data transmission fail (GPRS) or run for half day (satellite). Or in your case you can use poll command (page 49 on manual B3) to trigger schedule based on specific time so you may use only 1 job. While the time may be entered manually by specific function (page 111 on manual B3). Best regards, Rudy Gunawan

Thank you Rudy,

I've read on the DT80 manual that only one job can be active at any one time.
How is possible to active three different job simultaneously with different start?

Thank you,
Giovanni

Thank you Rudy, I've read on the DT80 manual that only one job can be active at any one time. How is possible to active three different job simultaneously with different start? Thank you, Giovanni

Hi Giovanni,

You can't activate 3 different job at the same time, but you can trick them to swap between job at the specific time you need.

For your problem, I think there's 2 ways to do it:

  1. Poll
    You need to put increment/ decrement on user define function :

    Profile"Function""F1_Label"="Time 0 Increment"
    Profile"Function""F1_Command"="1CV=1CV+10CV"
    Profile"Function""F2_Label"="Time 0 Decrement"
    Profile"Function""F2_Command"="1CV=1CV-10CV"
    Profile"Function""F3_Label"="Time 1 Increment"
    Profile"Function""F3_Command"="2CV=2CV+10CV"
    Profile"Function""F4_Label"="Time 1 Decrement"
    Profile"Function""F4_Command"="2CV=2CV-10CV"
    Profile"Function""F5_Label"="Time 2 Increment"
    Profile"Function""F5_Command"="3CV=3CV+10CV"
    Profile"Function""F6_Label"="Time 2 Decrement"
    Profile"Function""F6_Command"="3CV=3CV-10CV"
    Profile"Function""F7_Label"="Hour"
    Profile"Function""F7_Command"="10CV=3600"
    Profile"Function""F8_Label"="Minute"
    Profile"Function""F8_Command"="10CV=60"
    Profile"Function""F9_Label"="Seconds"
    Profile"Function""F9_Command"="10CV=1"
    Profile"Function""F10_Label"="Run"
    Profile"Function""F10_Command"="Do{XA}"
    
    Begin"Job"
    1..3CV=0
    
    'This schedule is active when function 10 selected
    RAX
    Do{RA1M}
    If(T==1CV){XB}
    If(T==2CV){XC}
    If(T==3CV){XD}
    
    ' The first test, this schedule will be activated when the time 0 is set
    ' After active, schedule run every minute
    ' After 480 minute (8 hours), the schedule stop
    RBX LogonB
    Do{RB1M}
    11CV=11CV+1
    1*L("Transducer1")
    If(11CV==480){RBX}
    
    ' The second test, this schedule will be activated when the time 1 is set
    ' After active, schedule run every minute
    ' After 120 minute (2 hours), the schedule stop
    RCX LogonC
    Do{RC1M}
    12CV=12CV+1
    2*L("Transducer2")
    If(12CV==120){RCX}
    
    ' The first test, this schedule will be activated when the time 2 is set
    ' After active, schedule run every minute
    ' After 1440 minute (24 hours), the schedule stop
    RDX LogonD
    Do{RD1M}
    13CV=13CV+1
    3*L("Transducer3")
    If(13CV==1440){RDX}
    
    End
    
  2. 3 different job
    With 3 different job you had limited option on the time frame, you can only run each jobs sequentially. Meaning, you must finish first test (Job1) first and then start the second (Job2), etc.

    With 3 jobs you may have more choice in the schedule or parameter setting. You still can use the above user define functions. Example:

    Begin"**Job**"
    RAX
    Do{RA1M}
    If(T==1CV){Runjob"Job1"}
    If(T==2CV){Runjob"Job2"}
    If(T==3CV){Runjob"Job3"}
    End
    
     Begin"**Job1**"
    21CV=0
    RA1M
    1*L("Transducer1")
    21CV(W)=21CV+1
    LogonA
    If(21CV>480){Runjob"Job"}
    End
    
     Begin"**Job2**"
    31CV=0
    RA1M
    2*L("transducer2")
    31CV(W)=31CV+1
    LogonA
    If(31CV>120){Runjob"Job"}
    End
    
     Begin"**Job3**"
    41CV=0
    RA1M
    3*L("Transducer3")
    41CV=41CV+1
    LogonA
    If(41CV>1440){Runjob"Job"}
    End
    

Hope this help. smile

Note: Could you give more detail info on the process you want? Maybe I can help you.

Best regards,
Rudy Gunawan

Hi Giovanni, You can't activate 3 different job at the same time, but you can trick them to swap between job at the specific time you need. For your problem, I think there's 2 ways to do it: 1. Poll You need to put increment/ decrement on user define function : ```` Profile"Function""F1_Label"="Time 0 Increment" Profile"Function""F1_Command"="1CV=1CV+10CV" Profile"Function""F2_Label"="Time 0 Decrement" Profile"Function""F2_Command"="1CV=1CV-10CV" Profile"Function""F3_Label"="Time 1 Increment" Profile"Function""F3_Command"="2CV=2CV+10CV" Profile"Function""F4_Label"="Time 1 Decrement" Profile"Function""F4_Command"="2CV=2CV-10CV" Profile"Function""F5_Label"="Time 2 Increment" Profile"Function""F5_Command"="3CV=3CV+10CV" Profile"Function""F6_Label"="Time 2 Decrement" Profile"Function""F6_Command"="3CV=3CV-10CV" Profile"Function""F7_Label"="Hour" Profile"Function""F7_Command"="10CV=3600" Profile"Function""F8_Label"="Minute" Profile"Function""F8_Command"="10CV=60" Profile"Function""F9_Label"="Seconds" Profile"Function""F9_Command"="10CV=1" Profile"Function""F10_Label"="Run" Profile"Function""F10_Command"="Do{XA}" Begin"Job" 1..3CV=0 'This schedule is active when function 10 selected RAX Do{RA1M} If(T==1CV){XB} If(T==2CV){XC} If(T==3CV){XD} ' The first test, this schedule will be activated when the time 0 is set ' After active, schedule run every minute ' After 480 minute (8 hours), the schedule stop RBX LogonB Do{RB1M} 11CV=11CV+1 1*L("Transducer1") If(11CV==480){RBX} ' The second test, this schedule will be activated when the time 1 is set ' After active, schedule run every minute ' After 120 minute (2 hours), the schedule stop RCX LogonC Do{RC1M} 12CV=12CV+1 2*L("Transducer2") If(12CV==120){RCX} ' The first test, this schedule will be activated when the time 2 is set ' After active, schedule run every minute ' After 1440 minute (24 hours), the schedule stop RDX LogonD Do{RD1M} 13CV=13CV+1 3*L("Transducer3") If(13CV==1440){RDX} End ```` 2. 3 different job With 3 different job you had limited option on the time frame, you can only run each jobs sequentially. Meaning, you must finish first test (Job1) first and then start the second (Job2), etc. With 3 jobs you may have more choice in the schedule or parameter setting. You still can use the above user define functions. Example: ```` Begin"**Job**" RAX Do{RA1M} If(T==1CV){Runjob"Job1"} If(T==2CV){Runjob"Job2"} If(T==3CV){Runjob"Job3"} End Begin"**Job1**" 21CV=0 RA1M 1*L("Transducer1") 21CV(W)=21CV+1 LogonA If(21CV>480){Runjob"Job"} End Begin"**Job2**" 31CV=0 RA1M 2*L("transducer2") 31CV(W)=31CV+1 LogonA If(31CV>120){Runjob"Job"} End Begin"**Job3**" 41CV=0 RA1M 3*L("Transducer3") 41CV=41CV+1 LogonA If(41CV>1440){Runjob"Job"} End ```` Hope this help. :smile: Note: Could you give more detail info on the process you want? Maybe I can help you. Best regards, Rudy Gunawan

Good morning Giovanni,

This is quite simple to do. The schedules are your separate jobs and they can be started and stopped at any time.

As you can set the speed the schedules sample at you can use a counter to keep track of the number of times the schedule has run and use that as the stop condition. For example:

Begin
Profile "Function" "F1_Label"="Start schedule A"
Profile "Function" "F1_Command"="1CV=0; GA"
Profile "Function" "F2_Label"="Start schedule B"
Profile "Function" "F2_Command"="2CV=0; GB"
Profile "Function" "F3_Label"="Start schedule C"
Profile "Function" "F3_Command"="3CV=0; GC"

RA1S
1CV(W)=1CV+1 'Count the number of times schedule A has run
1V    'Read the sensor
If(1CV>28800)"Stop schedule A"{HA} '8 Hrs x 60 min x 60 sec = 28800 seconds

RB1S
2CV(W)=2CV+1 'Count the number of times schedule B has run
2V    'Read the sensor
If(1CV>7200)"Stop schedule B"{HB} '2 Hrs x 60 min x 60 sec = 7200 seconds

RC1S
3CV(W)=3CV+1 'Count the number of times schedule C has run
3V    'Read the sensor
If(1CV>86400)"Stop schedule B"{HB} '24 Hrs x 60 min x 60 sec = 86400 seconds

End

Cheers,
Roger

Good morning Giovanni, This is quite simple to do. The schedules are your separate jobs and they can be started and stopped at any time. As you can set the speed the schedules sample at you can use a counter to keep track of the number of times the schedule has run and use that as the stop condition. For example: ```` Begin Profile "Function" "F1_Label"="Start schedule A" Profile "Function" "F1_Command"="1CV=0; GA" Profile "Function" "F2_Label"="Start schedule B" Profile "Function" "F2_Command"="2CV=0; GB" Profile "Function" "F3_Label"="Start schedule C" Profile "Function" "F3_Command"="3CV=0; GC" RA1S 1CV(W)=1CV+1 'Count the number of times schedule A has run 1V 'Read the sensor If(1CV>28800)"Stop schedule A"{HA} '8 Hrs x 60 min x 60 sec = 28800 seconds RB1S 2CV(W)=2CV+1 'Count the number of times schedule B has run 2V 'Read the sensor If(1CV>7200)"Stop schedule B"{HB} '2 Hrs x 60 min x 60 sec = 7200 seconds RC1S 3CV(W)=3CV+1 'Count the number of times schedule C has run 3V 'Read the sensor If(1CV>86400)"Stop schedule B"{HB} '24 Hrs x 60 min x 60 sec = 86400 seconds End ```` Cheers, Roger
16
4
3
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