EasyManuals Logo
Home>ABB>Laboratory Equipment>PGC2000

ABB PGC2000 User Manual

ABB PGC2000
400 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #369 background imageLoading...
Page #369 background image
2000-OSM, F1 10-19
LET Statement
Description: Assigns the value of an expression to a variable.
Syntax: [LET] variable = expression
Comments: variable is the scalar or aggregate variable to receive the expression value.
expression is a string or numeric expression.
Example: 0010 LET A! = 0.0
0020 N = 0
0030 A$ = “THIS IS A STRING”
In 0010, floating point constant zero is assigned to floating point variable A!;
in 0020, integer constant zero is assigned to integer variable N; in 0030,
string variable A$ is assigned a string constant.
LOGARITHM BASE TEN Function
Description: Returns the Logarithm to base ten of an expression.
Syntax: LOG(fp!)
Comments: fp! is a floating point expression.
Example: 0010 A! = LOG(10.123)
The logarithm to base ten of 10.123 is assigned to floating point variable A!.
LOW CONCENTRATION ALARM Function
Description: Returns the state of GCC Low Concentration Alarms.
Syntax: LOW_CONC_ALARM
Example: 0010 IF LOW_CONC_ALARM GOTO 100
LPRINT Statement
Description: Prints to the line printer.
Syntax: LPRINT [USING format$;][expression[,expression]...]
Comments: format$ is a string constant or variable that specifies the printout format, as
follows:
“%wD” is a format specification used to print integers as whole numbers
(no decimal points or fractions) with leading zeros. The space
included in the format following the “D” is to provide separation
between numbers that are printed, where “w” is an optional number
that specifies the number of characters to be printed for each item. If
“w” is not specified, it is assumed to be 6.
Example: 0010 LPRINT USING %3D ;0,-1,10,100
will print “000 0-1 010 100”
Note: With USING, all data items contained in the LPRINT statement
must be of the same data type and agree in type with the format
specification.
“%w.pR” is a format specification used to print floating point numbers as
real numbers without exponents, where “w” is an optional number that
specifies the number of characters to be printed for each item. This
number allows two characters for the sign, plus the number of digits
left of the decimal point, plus the precision, plus one character for the
decimal point. If “w” is not specified it is assumed to be 10.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ABB PGC2000 and is the answer not in the manual?

ABB PGC2000 Specifications

General IconGeneral
BrandABB
ModelPGC2000
CategoryLaboratory Equipment
LanguageEnglish

Related product manuals