EasyManua.ls Logo

ABB PGC5000 Generation 2 - READ ANALOG INPUT Function; READ DIGITAL INPUT Function; REMARKS Statement; REQUEST_ANALYSIS 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...
130 | PGC5000 GEN 2 | 892 J006 MNAH
7.4.52 READ ANALOG INPUT function
Description: Returns the value of an Analog Input.
Syntax: READ_ANALOG( ovenaddress$ )
Comments: ovenaddress$ is a string variable (or constant) containing the address of the input,
e.g. “EXIO1.WAGO1.AI.1”
Example: 0010 AN1 = READ_ANALOG ( “EXIO1.WAGO1.ANAIN.1” )
7.4.53 READ DIGITAL INPUT function
Description: Returns the state ( 0 or 1 ) of the digital input addressed.
Syntax: READ_DIGITAL( ovenaddress$ )
Comments: ovenaddress$ is a string variable (or constant) containing the address of the input,
e.g. “EXIO1.WAGO1.DI.3”
Example: 0010 D1 = READ_DIGITAL( “EXIO1.WAGO1.DIGIN.3” )
7.4.54 REMARKS statement
Description: Used for placing remarks in the BASIC program.
Syntax: REM remark
Example: 0010 REM CLEAR OUT COMMON(1)
0020 COMMON(1) = 0.0
7.4.55 REQUEST_ANALYSIS command
Description: Requests an analysis of a stream.
Syntax: REQUEST_ANALYSIS( stream$, analysis$ )
Comments: stream$ is a string variable (or constant) containing the name of a Stream analysis$ is
a string variable (or constant) containing the name of an Analysis
Example: 0010 REQUEST_ANALYSIS( “CalStream”, “AnalysisH7” )
Note: Stream/Analysis element must exist in the Demand table of an active schedule.
7.4.56 RESPONSE FACTOR function
Description: Returns the component’s response factor.
Syntax: RESPONSE_FACTOR( component$ )
Comments: component$ is a string variable (or constant) containing the component name.
Example: 0010 A = RESPONSE_FACTOR( “Ethylene” )
Gets the response factor of component named Ethylene and assigns it to floating point
variable A.
7.4.57 SCHEDULE ABORT function
Description: Issues a schedule STOP IMMEDIATE command to the designated schedule.
Syntax: SCHEDULE_ABORT( schedule$ )
Comments: ‘schedule$’ is a string variable (or constant) containing the schedule name.
Example: 0010 SCHEDULE_ABORT( “Schedule1” )
7.4.58 SCHEDULE NAME function
Description: Returns the schedule name analyzed in last analysis cycle.
Syntax: SCHEDULE_NAME$
Example: 0010 IF SCHEDULE _NAME$ = “Schedule1” GOTO 100
7.4.59 SCHEDULE RUN function
Description: Issues a schedule RUN command to the designated schedule.
Syntax: SCHEDULE_RUN( schedule$ )
Comments: schedule$ is a string variable (or constant) containing the schedule name.

Table of Contents

Related product manuals