892 J006 MNAH | PGC5000 G EN 2 | 131
Example: 0010 SCHEDULE_RUN( “Schedule1” )
7.4.60 SCHEDULE STOP function
Description: Issues a schedule STOP command to the designated schedule.
Syntax: SCHEDULE_STOP( schedule$ )
Comments: schedule$ is a string variable (or constant) containing the schedule name.
Example: 0010 SCHEDULE_STOP( “Schedule1” )
7.4.61 SET BASIC ALARM function
Description: Sets the User Error indicator specified in the current script’s Indicator group
Syntax: SET_BASIC_ALARM( UserAlarm )
Comments: UserAlarm is an integer from 1-10.
Example: 0010 SET_BASIC_ALARM( 3 )
7.4.62 SLEEP function
Description: Pauses execution of the script for the designated number of seconds
Syntax: SLEEP( seconds )
Example: 0010 SLEEP( 3 )
Execution suspended for 3 seconds.
7.4.63 SQUARE ROOT function
Description: Returns the square root of a floating point expression.
Syntax: SQRT( fp )
Comments: fp is a floating point expression.
Example: 0010 A = SQRT( A * 100 )
The square root of the quantity 100 times the value of floating point variable A is
assigned to floating point variable A.
7.4.64 START REPORT statement
Description: Starts a report group for sending to Reporter. All LPRINT content is grouped together in
one block until the END_REPORT statement is reached.
Syntax: START_REPORT
Example: 001 START_REPORT
002 LPRINT “First line of report”
003 LPRINT “Second line of report”
004 END_REPORT
Note: Start/End Report is required to obtain output from LPRINT.
7.4.65 STREAM NAME function
Description: Returns the stream number analyzed in last analysis cycle.
Syntax: STREAM_NAME$
Example: 0010 IF STREAM_NAME$ = “ST506” GOTO 100
When stream analyzed in previous cycle (analysis data currently being computed) is
number three, branch to statement 100.
7.4.66 STREAM STATUS function
Description: Returns the active/inactive status of the stream.
Syntax: STREAM_STATUS( stream$ )
Comments: stream$ is a string variable (or constant) containing the name of a Stream
0 = Offline ( Inactive )
1 = Online ( Active )