beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 209

background image

MVI56-BAS ♦ ControlLogix Platform

BASIC-52 Implementation

BASIC Module (DB/BAS Compatible)

User Manual

ProSoft Technology, Inc.

Page 209 of 234

December 13, 2011

Operator /
Statement

Description

Example

XBYTE()

Stores and retrieves user values in
battery-backed SRAM. Valid

argument range (variable locations) is
0 to 4095 (0FFFh).

10 FOR I = 1 TO 10
20 XBYTE(I) = I
30 PRINT XBYTE(I)
40 NEXT I

XFER

Transfers the currently selected
program from ROM mode to RAM and

selects the RAM mode.

XFER