beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 138

background image

BASIC CALLs Syntax

MVI56-BAS ♦ ControlLogix Platform

User Manual

BASIC Module (DB/BAS Compatible)

Page 138 of 234

ProSoft Technology, Inc.

December 13, 2011

CALL 41: Set Calendar Date

Use CALL 41 to set the date, month and year.

Syntax:

PUSH [A]
PUSH [B]
PUSH [C]
CALL 41

Where:
A = day (1 to 31)
B = month (1 to 12)
C = year (0 to 99)

Example:

.
.
.
210 PUSH 31,8,54: CALL 41
.
.
.