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

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
...StampPlot recognizes the
txtMinA
command:
...accepts data arriving on the data port and stores it as a decimal value. Execution will
cease until serial data arrives. Another way to accept arriving data for above would be:
...where the parameters are:
While this looks more complex,
connected, or if there were other communication problems, your program would not sit
idle endlessly waiting for data. This is usually an undesirable situation in a process
control scenario! Depending on your needs, either may be used.
The
prior to sending new data.
PAUSE 50
DEBUGIN DEC PhotoMin
DEBUG "!READ (txtMinA)", CR
SERIN 16, 84, 200, TimeOut1, [DEC PhotoMin]
TimeOut1:
SERIN pin, baud_value, timeout_value, timeout_label, [ DEC variable ]
, which is the name of the textbox containing the minimum alarm level. This
When using DEBUGIN, it is important to begin the program with PAUSE 1000. Placing
PAUSE 1000 in the Initialization section ensures that the COM port connection is stable
before requesting data from StampPlot. If it isn't, the BASIC Stamp will 'hang' awaiting data
that never arrives. If the BASIC Stamp does appear to hang – no sign of data arriving –
press the reset button on the BASIC Stamp board.
after the
SERIN
!READ
allows data echoed back from the BASIC Stamp to clear
instruction and sends to the BASIC Stamp the value of
SERIN
does support timeouts. If StampPlot is not

Related parts for 122-28176