deviceDesc = OBSOLETE ILL furnace type K thermocouples (1400 K)

defineTemperature tt

makenv tt -driver 340_lsc -port @lsc340a {
  lsc_sensor ts C -sensor type-k -sensorname sample -alarm 1405
  lsc_sensor t2 D -sensor type-k -sensorname t2 -alarm 1405
  lsc_sensor te B -sensor rhfe4140 -sensorname outer -alarm 323
  lsc_sensor p A -sensor vacuum -sensorname vacuum
  lsc_loop set -loop 1 -channel C -maxheater 0.05A -resist 1000Ohm -linearpower 3000
#powfact 2213, linearpower
}

GraphAdd tt.set.reg K T_reg auto
#GraphAdd tt.ts.raw V V_sample blue
#GraphAdd tt.t2.raw V V_t2 auto

catch {
  tt set/prop 1
  tt set/integ 5
#  tt set/ramp 10
  tt set/limit 1400
}


makenv table -driver table /tt/ts {
  "tt set/prop"  "500:0.5 1500:5"
  "tt set/integ" "500:1 1500:5"
}
