EasyManua.ls Logo

ABB PGC5000 Generation 2 - NATURAL LOGARITHM Function; NUMBER COMPONENTS Function; OUTSTANDING REQUESTS Function; PEAK AREA Function

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...
892 J006 MNAH | PGC5000 G EN 2 | 127
Contents of A$ will be “BCD”
7.4.36 NATURAL LOGARITHM function
Description: Returns natural Logarithm (to the base e) of floating point expression.
Syntax: LN( fp )
Comments: fp is a floating point expression.
Example: 0010 A = LN( 2.71828 )
The natural logarithm (logarithm to the base e) of 2.71828 is assigned to floating point
variable A.
7.4.37 NUMBER COMPONENTS function
Description: Returns the number of components in an analysis report.
Syntax: NUMBER_COMPONENTS
Comments: Analysis% is the Analysis ID
Example: 0010 FOR CompID = 1 TO NUMBER_COMPONENTS
0020 LPRINT COMPONENT_NAME$( CompID )
0030 NEXT CompID
For every component in analysis method one (statement 10), component name is
printed (statement 20).
7.4.38 OUTSTANDING REQUESTS function
Description: Returns the number of uncommitted pending requests in Analysis Request (Schedule)
Queue.
Syntax: OUTSTANDING_REQUESTS( schedule$ )
Comments: schedule$ is a string variable (or constant) containing the schedule name.
Example: 0010 IF OUTSTANDING_REQUESTS( “ScheduleA” ) > 0 THEN
0020 CANCEL_REQUESTS(“ScheduleA”)
0040 ENDIF
All uncommitted requests are deleted if there are any requests in the Analysis Request
Queue.
7.4.39 PEAK AREA function
Description: Returns the peak’s corrected area
Syntax: PEAK_AREA( component$ )
Comments: component$ is a string variable (or constant) containing the component name.
Example: 0010 FOR I = 1 TO NUMBER_COMPONENTS
0020 LPRINT PEAK_AREA( COMPONENT_NAME $( I ) )
0030 NEXT I
The example prints the area under each peak.
7.4.40 PEAK CREST AMPLITUDE function
Description: Returns the peak’s amplitude at crest.
Syntax: PEAK_CREST_AMP( component$ )
Comments: component$ is a string variable (or constant) containing the component name.
Example: 0010 FOR I = 1 TO NUMBER_COMPONENTS
0020 LPRINT PEAK_CREST_AMP( COMPONENT_NAME$( I ) )
0030 NEXT I
Prints the amplitude of each peak’s crest.

Table of Contents

Related product manuals