Skip to content

514B ND500TimeOut

Stub   MON 514B (332 decimal) · Mnemonic 5TMOUT · Group: Not grouped in manual

Available from: All programs (manual compatibility box)

Emulation source: src/handlers/mon_514B_ND500TimeOut.c

Description

Suspends the execution of an ND-500 program for a given time. The execution then continues after the monitor call. The program is placed in a time queue in the ND-500, not the ND-100.

  • No reserved files or devices are released.
  • Avoid using TimeOut (mon 267) from ND-500, use ND500TimeOut instead. Use TimeOut from ND-100.

Parameters

Name Type Direction Description
NoOfTimeUnits INTEGER In Number of time units to suspend. Use 0 to restart immediately (clears restart flag).
TimeUnit INTEGER In Type of time units: 1=basic (1/50 sec), 2=seconds, 3=minutes, 4=hours.
ReturnStatus INTEGER Out Restart cause: 0=time elapsed, 1=interrupt, -1=scheduled for repeat.

Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.

See also

TimeOut, SuspendProgram, WaitForRestart

Compatibility

Machines Users Programs
ND-500 All users All 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
No Yes No No No

Examples

From the manual (OCR text, not corrected).

INTEGER : NoOfTimeUnits, TimeUnit, ReturnStatus
...
Monitor_Call('ND500TimeOut', NoOfTimeUnits, TimeUnit, ReturnStatus)
INTEGER NoOfTimeUnits, TimeUnit, ReturnStatus
...
Monitor_Call('ND500TimeOut', NoOfTimeUnits, TimeUnit, ReturnStatus)
NoOfTimeUnits, TimeUnit, ReturnStatus : LONGINT;
...
ND500TimeOut(NoOfTimeUnits, TimeUnit, ReturnStatus);
01 NoOfTimeUnits COMP.
01 TimeUnit COMP.
01 ReturnStatus COMP.
...
MONITOR-CALL "ND500TimeOut" USING NoOfTimeUnits, TimeUnit, ReturnStatus.
NoOfTimeUnits : W BLOCK 1
TimeUnit : W BLOCK 1
ReturnStatus : W BLOCK 1
ND500TimeOut : EQU 3789 + 514B
...
CALLG ND500TimeOut, 3, NoOfTimeUnits, TimeUnit, ReturnStatus

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_514B_ND500TimeOut
Code lines 7 (non-blank, non-comment lines in the file)

Source

SINTRAN III Monitor Calls (ND-860228.2 EN), page 349.