103B StartupInterval¶
Stub MON 103B (67 decimal) · Mnemonic INTV · Group: RT Program Execution (manual section 2.10)
Available from: RT programs (manual compatibility box)
Emulation source: src/handlers/mon_103B_StartupInterval.c
Description¶
Prepares an RT program for periodic execution. The interval between the executions can be specified in hours, minutes, seconds, and basic time units. A basic time unit is 1/50th of a second.
Notes¶
- The RT program is not started. Use StartRTProgram, @RT, or similar, to start it.
- StopRTProgram, Disconnect, @ABORT or @DSCNT cancel this monitor call.
- One execution may be unfinished when it is time for the next execution, in which case the program's restart flag is set. If the delay becomes as long as two intervals, one execution is lost.
- The interval replaces any earlier specified intervals.
- AdjustClock and @CLADJ do not affect the interval.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
RTProgram |
INTEGER | In | Address of RT description. 0 means calling program. GetRtAddress gives RT description addresses. |
Time |
INTEGER | In | Number of time units between executions of the program. |
Units |
INTEGER | In | Type of time units: 1 = basic time units (1/50th second) 2 = seconds 3 = minutes 4 = hours |
Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.
See also¶
ExactInterval, @INTV
Compatibility¶
| Machines | Users | Programs |
|---|---|---|
| ND-100 and ND-500 | User RT and user SYSTEM | RT programs |
The manual's compatibility box for this call, word for word.
Yes/no fields from the YAML extraction (not in the manual's words):
| ND-100 | ND-500 | User programs | RT programs | System programs |
|---|---|---|---|---|
| Yes | Yes | Yes | Yes | No |
Examples¶
From the manual (OCR text, not corrected).
INTEGER : RTProgram, Time, Units
...
Monitor_Call('StartupInterval', RTProgram, Time, Units)
INTEGER RTProgram, Time, Units
...
Monitor_Call('StartupInterval', RTProgram, Time, Units)
RTProgram, Time, Units : INTEGER2;
...
StartInterval (RTProgram, Time, Units); [Note routine name.]
01 RTProgram COMP.
01 Time COMP.
01 Units COMP.
...
MONITOR-CALL "StartupInterval" USING RTProgram, Time, Units.
RTProgram : W BLOCK 1
Time : W BLOCK 1
Units : W BLOCK 1
StartupInterval : EQU 37B9 + 103B
...
CALLG StartupInterval, 3, RTProgram, Time, Units
LDA (PAR %Load register A with address of parameter list.
MON 103 %Monitor call StartupInterval.
...
PAR, RTPRO %Address of RT description.
TIME %Interval between each execution of program.
UNIT %Time units.
...
RTPRO, ...
UNIT, ...
BASE, ...
ndmonlib implementation¶
Stub Registered MON_STATUS_NOT_IMPLEMENTED: the handler is a stub. mon_dispatch() in src/core/mon_dispatch.c reports the call as unimplemented without calling it.
| Handler | mon_103B_StartupInterval |
| Code lines | 8 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN).