ProSoft Technology MVI56-BAS User Manual

Page 137

Advertising
background image

MVI56-BAS ♦ ControlLogix Platform

BASIC CALLs Syntax

BASIC Module (DB/BAS Compatible)

User Manual

ProSoft Technology, Inc.

Page 137 of 234

December 13, 2011

9.4

Wall Clock CALLs

CALL 40: Set Clock Time

Use CALL 40 to set the hours, minutes and seconds.

Syntax:

PUSH [A]
PUSH [B]
PUSH [C]
CALL 40

Where:
A = hours (0 to 23)
B = minutes (0 to 59)
C = seconds (0 to 59)

Example:

.
.
.
210 PUSH 3,12,0: CALL 40
.
.
.

Advertising