28176 Parallax Inc, 28176 Datasheet - Page 107

KIT PARTS PROCESS CONTROL W/TEXT

28176

Manufacturer Part Number
28176
Description
KIT PARTS PROCESS CONTROL W/TEXT
Manufacturer
Parallax Inc
Datasheet

Specifications of 28176

Accessory Type
Process Control
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
LOOP
' -----[ Subroutines ] ----------------------------------------------------
Display_Data:
RETURN
Figure 4-11 is an image of StampPlot configured with this macro. For the next several
activities, this interface will be used. Unlike previous macros that accepted data and
processed it in specialized ways, this macro is more general in use and will be directly
configured and controlled from the BASIC Stamp.
NEXT
LOW Mix
HIGH Drain
DEBUG "!O Stat1 = Draining",CR
DO UNTIL (Stop_Sw = 0)
LOOP
LOW Drain
DEBUG "!O Stat1 = Completed",CR
Total_Mixed = Total_Mixed + Vat_Volume
DEBUG "!O Stat2 = Total Gallons:", DEC Total_Mixed,CR
DEBUG "!O imgR =", BIN Fill, CR,
DEBUG "!O METER =", DEC Total_Mixed,CR ' Update SP Meter
DEBUG IBIN Start_Sw, BIN
DEBUG DEC Total_Mixed,CR
PAUSE 100
GOSUB Display_Data
Close the Debug Terminal.
Run StampPlot macro sic_gen_process.spm.
"!O imgY =", BIN Mix, CR,
"!O imgG =", BIN Drain, CR
BIN
Fill, BIN
Mix, BIN
Opto_Sw, BIN
' Stop mixing
' Start draining
' Wait for stop button
' Stop draining
Drain,CR
Stop_Sw,
'Accumulate total
' Update SP virtual indicators
' Plot analog data
' Plot binary data

Related parts for 28176