Basic programming guide – Remote Processing BASIC for the CX-10 Modbus User Manual

Page 21

Advertising
background image

BASIC PROGRAMMING GUIDE

2-12

DATA

Syntax:

DATA expr [,expr,...]
Where: expr = numeric data.

Function:

It is an expression list used by READ.

Mode:

Run

Use:

DATA 23.4,17,3.2,PI*3

DESCRIPTION

Elements of a DATA statement are sequentially retrieved by the READ instruction. Multiple DATA
expressions on a single program line must be separated by commas. There must be no spaces between expr
and the commas.

See RESTORE for more information and examples.

RELATED

READ, RESTORE

Advertising