122-28176 Parallax Inc, 122-28176 Datasheet - Page 270

GUIDE STUDENT PROCESS CONTROL

122-28176

Manufacturer Part Number
122-28176
Description
GUIDE STUDENT PROCESS CONTROL
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-28176

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
MarkDeriv:
RETURN
MarkTotal:
DEBUG
Total,",(Black)",CR,
Total,",(Black)",CR,
RETURN
PlotData:
RETURN
Before connecting, we’ll discuss some of the features of this StampPlot interface, shown
in Figure 8-8. The uppermost plot shows the values read from the photoresistor, plotted
with a blue line. The plot below shows the output drive, plotted in black.
The photoresistor plot has these characteristics:
DEBUG "!FCIR (PTIME),(AINVAL1),0.3A,(Blue)",CR,
DEBUG "^AWTH 2",CR,
Run StampPlot macro sic_pc_pid_eval.spm.
The default range is 0 to 2000.
The Setpoint is plotted in red.
"!DMOD 9",CR,
"^DWTH 3",CR,
"!LINE (DATAVAL1),(DATAVAL4),(PTIME),(AINVAL1),(Green)",CR,
"!SETD 4,(AINVAL1)",CR,
"!DMOD 13",CR
"!O txtE=", SDEC Error,CR,
"!O txtActual=", DEC PhotoVal,CR,
"!O txtProp=", SDEC Prop,CR,
"!O txtEdt=", SDEC IntegSample,CR,
"!O txtsumEdT=", SDEC Integ,CR,
"!O txtdE=", SDEC ErrorChange,CR,
"!O txtdEdt=", SDEC Deriv,CR,
"!O txtTotal=", SDEC Total,CR,
"!O plot2.draw=line (DATAVAL1),0,(PTIME),0,(RED)",CR,
"!O Plot2.Draw=LINE (DATAVAL1),(DATAVAL2),(DATAVAL1),",SDEC
"!O Plot2.Draw=LINE (DATAVAL1),",SDEC Total,",(PTIME),",SDEC
"!SETD 1,(PTIME)",CR,
"!SETD 2,", SDEC Total,CR,
"!O butLog.Run",CR
"!ACHN 0,", DEC Setpoint,",(RED)",CR,
"!ACHN 1,", DEC PhotoVal,",(BLUE)",CR,
"!STAT Actual=", DEC PhotoVal,CR
' Plot photoresistor value
' Mark derivative evaluations as circles and lines
' Plot outputs and update

Related parts for 122-28176