EasyManua.ls Logo

ABB PGC5000 Generation 2 - TIME$ Function; TOTAL PEAK AREA Function; VALUE Function; VALVE Command

ABB PGC5000 Generation 2
142 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
132 | PGC5000 GEN 2 | 892 J006 MNAH
Example: 0010 IF STREAM_STATUS( “CalStream” ) = 0 THEN
0020 LPRINT “CALIBRATION STREAM OFFLINE”
7.4.67 TIME$ function
Description: Returns a string containing the date and time in the following format:
hh:mm:ss Day DD Mon YYYY (e.g., 17:46:31 Mon 06 Nov 1989)
Syntax: TIME$
Example: 0010 A$ = TIME$
The string variable A$ gets the time and date.
7.4.68 TOTAL PEAK AREA function
Description: Returns the total area value for all the peaks detected in an analysis.
Syntax: TOTAL_PEAK_AREA
Example: 0010 FOR I = 1 TO NUMBER_COMPONENTS
0020 LPRINT PK_AREA( COMPONENT_NAME( I ) )
0030 NEXT I
0040 LPRINT TOTAL_PEAK_AREA
For each component, print the area of the peak, then the total peak area of all
components.
7.4.69 VALUE function
Description: Returns a floating point number that is the result of a conversion of the string passed.
Syntax: VALUE( string$ )
Comments: string$ is any string expression. If a valid conversion can’t be performed, VALUE
returns zero. Leading non- numeric characters will cause an invalid conversion.
Examples: 0010 A = VAL( “-10. 3” )
The value of floating point variable A is set to -10.3.
7.4.70 VALVE command
Description: Turns valve On or Off.
Syntax: VALVE( ovenaddress$, state )
Comments: ovenaddress$ is a string variable (or constant) containing the address of the v, e.g.
“Oven1.DTC1.REG.2”. state: 0 = valve Off, 1 = valve On.
Example: 0010 VALVE( “Oven1.DTC1.REG.2”, 0 )
Turns Analytical valve 2 in Oven 1 off.
7.4.71 WRITE ANALOG OUTPUT command
Description: Sets the specified analog output to the level desired in engineering units. The range is
specified in Setup of the Analog Output.
Syntax: WRITE_ANALOG( ovenaddress$, value )
Comments: ovenaddress$ is a string variable (or constant) containing the address of the output
(e.g. “InIo.Wago1.AnaOut.1”)
value is the trend output value.
Example: 0020 WRITE_ANALOG( “InIo.Wago1.AnaOut.1”, 37.0 )
7.4.72 WRITE DIGITAL OUTPUT command
Description: Specifies the state of Extended Digital Outputs.
Syntax: WRITE_DIGITAL( ovenaddress$, state )
Comments: ovenaddress$ is a string variable (or constant) containing the address of the output
(e.g. “InIo.Wago1.DigOut.3”
state <> 0 asserts the output, state = 0 de-asserts the output.

Table of Contents

Related product manuals