Page 136
Out1.PID.Zone 1 ' select the first line of the table and disable zoned feedback Out1.PID.Tmin 25 ' fill in the first line of the table… Out1.PID.P 1.5 Out1.PID.I 0.13 Out1.PID.D 0.04 Out1.PID.Zone 2 ' select the second line of the table Out1.PID.Tmin 35 Out1.PID.P 0.75 Out1.PID.I 0.05...
Page 137
Channel.PID.Setpoint Out1.PID.RampT = #Out1.PID.setpoint Out1.PID.setpoint = #Out1.PID.RampT while (Out1.PID.RampT != Out1.PID.setpoint){ pause 1 s }...
Page 140
define Startup(<macroText>) channel.Out1.PID.ramp 1 ' set the ramp rate channel.Out1.PID.setpoint 100 ' start a ramp to 100 degrees program.waitForRamp ' wait for the ramp to finish program.pause 1 min ' wait for 1 minute channel.Out1.PID.setpoint 80 program.waitForRamp program.pause 1 min channel.Out1.PID.ramp 0 ' disable ramping channel.Out1.PID.setpoint 0...
Page 141
Out1.PID.ramp = 1 Out1.PID.setpoint = 100 while (Out1.PID.actual!=Out1.PID.setpoint) { pause 1 s } pause 1 min while (Out1.PID.actual!=Out1.PID.setpoint) { pause 1 s } pause 1 min Out1.PID.ramp = 0 Out1.PID.setpoint = 0 Out1.PID.ramp = 1 Out1.PID.setpoint = 100 while (2A < 99.5 || 2A > 100.5) { pause 1 s } pause 1 min Out1.PID.setpoint = 80 while (2A >...
Page 142
if (group==1) { selectAlarmed } pause 1 s [waitForSample V1=#Out1.PID.actual]-1...
Page 143
waitForSample #x = #V1 #x^=0.5 5A = #x ' start with the feedback turned off Out1.PID.mode = off ' this loop repeats indefinitely while (1) { ' wait for DIO bit 0 to go high, then turn feedback on while (DIO & 0x01 = 0) { pause 0.25 s } Out1.PID.mode = manual ' wait for DIO bit 0 to go low, then turn feedback off while (DIO &...
Page 144
waitForSample #d = 0 if (#V1>#t) { #d = 1 } DIO = #d #t += 1 if (#t>100) { #t = 0 } if (#V2>#t) { #d+=2 } if (#V3>#t) { #d+=4 }...
Need help?
Do you have a question about the PTC10 and is the answer not in the manual?
Questions and answers