122 | PGC5000 GEN 2 | 892 J006 MNAH
7.4.8 CALIBRATION CONCENTRATION function
Description: Returns the component’s calibration concentration.
Syntax: CALIBRATION_CONCENTRATION ( component$ )
Comments: component$ is a string variable (or constant) containing the component name.
Example: 0010 A = CALIBRATION_CONCENTRATION( “Methane” )
Gets the calibration concentration of component named Methane and assigns it to
floating point variable A.
7.4.9 CANCEL REQUESTS command
Description: Removes all pending requests (uncommitted) from the designated Schedule Queue.
Syntax: CANCEL _REQUESTS( schedule$ )
Comments: schedule$ is a string variable (or constant) containing the schedule name for which to
clear the schedule queue.
Example: 0010 CANCEL_REQUESTS (“ScheduleA” )
7.4.10 COMPONENT CONCENTRATION function
Description: Returns the component concentration.
Syntax: COMPONENT_CONCENTRATION( component$ )
Comments: component$ is a string variable (or constant) containing the component name.
Example: 0010 A = COMPONENT_CONCENTRATION ( “Methane” )
Gets the concentration of component named Methane and assigns it to floating point
variable A.
7.4.11 CHR$ function
Description: Converts a value to its corresponding ASCII character.
Syntax: CHR$( code )
Comments: “code” is a number between 0 and 255.
Example: 0010 A$ = "AREA MONITORING REPORT:"
0020 REM TACK ON SOME LINE FEEDS
0030 A$ = A$ + CHR$( 10 ) + CHR$( 10 )
7.4.12 CLEAR INDICATORS command
Description: Clears all the alarms.
Syntax: CLEAR_INDICATORS
Example: 0020 CLEAR_INDICATORS
7.4.13 COMMON floating point array
Description: This represents a global pre-declared array of floating point storage shared among all
BASIC programs. A reference to a particular element of COMMON by any of the BASIC
programs accesses the same locations in memory. Values can be stored in COMMON
by a BASIC program and then be accessed by another BASIC program. This array
shall provide for the storage of 4096 floating point values.
Syntax: COMMON( I )
Comments: “I” is an index into the array.
Example: 0010 FOR I = 1 TO 3048
0020 COMMON( I ) = I
0030 NEXT I
7.4.14 COMMON$ string array
Description: This represents a pre-declared array of string variables shared between all BASIC
programs. A reference to a particular element of COMMON$ by any BASIC program