EasyManua.ls Logo

ABB PGC2000 - COMMUNICATION ERROR ALARM Function; COMPONENT NAME Function; COMPONENT TYPE Function; CURRENT METHOD Function

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
Loading...
10-8 2000-OSM, F1
COMMUNICATION ERROR ALARM Function
Description: Returns the state of GCC Communication Error Alarms.
Syntax: COMM_ERROR_ALARM
Example: 0010 IF COMM_ERROR_ALARM GOTO 100
COMPONENT NAME Function
Description: Returns the name of the component.
Syntax: COMP_NAME$(method%,component%)
Comments: method% is method table (1-8).
component% is the sought for component.
Example: 0010 LPRINT COMP_NAME$(1,1)
COMPONENT TYPE Function
Description: Returns a string containing the type of the component (% , PPM , or
CALC). Since each must have four characters to be correctly read, % must
be followed by three spaces and PPM followed by one space.
Syntax: COMP_TYPE$(method%,component%)
Comments: method% is the method table (1-8).
component% is the component number for which the type is sought.
Example: 0005 N = N_COMP(1)
0010 FOR I = 1 TO N
0015 IF COMP_TYPE$(1,I)<>"CALC"
0017 :GOTO 100
0020 LPRINT GET_CC(1,I)
For every component in method one (statements 5 and 10), check for the
units (statement 15). If the component is calculated, print the component’s
value; otherwise skip to statement 100.
COPY ARRAY Command
Description: Copies contents of one array to another array.
Syntax: COPY_ARRAY(src_array,dst_array)
Comments: src_array is the array from which the contents will be copied.
dst_array is the array to which the contents will be copied.
Both arrays should have the same dimensions and data types.
Example: 0010 DIM A!(10), B!(10)
0020 COPY_ARRAY(A!,B!)
The data in the 10 elements of array A! are copied into the 10 elements of
array B!.
CURRENT METHOD Function
Description: Returns the method for the stream currently being analyzed.
Syntax: CUR_METHOD
Comments: The value returned ranges from 1 to 8.
Example: 0010 N = CUR_METHOD
Note: use PREV_METHOD for stream that has just been analyzed.
CURRENT STREAM Function
Description: Returns the stream currently under analysis.
Syntax: CUR_STRM

Table of Contents

Related product manuals