beautypg.com

Typical block connections for display block, Display block compile errors – Micromod MOD: 30ML Functions Data Base Reference User Manual

Page 31

background image

MOD 30ML Functions

DISPLAY BLOCK

2.2.5

Typical Block Connections for Display Block

Typical block connections for the display block are shown below. LISTIN is used exclusively
for connecting with the tune list LISTOUT connection. All other input connections are made to
I1 to I800.

DISP

LISTIN

I1 (AIN1.R)

I2 (AOUT.R)

TL

LISTOUT

AIN

Result

AIN

Result

Figure 2-8. Display Block, Typical Block Connections


2.2.6

Display Block Compile Errors

Reported errors for the display block are described below.

"Case label out of range."

Labels in a case statement must be in the range 0 - 65535.


"Data assigned must be numeric."

• When the target of an assignment is a display resource representing a bar or

intensified segment, the assigned data must be numeric (discrete, short state,
long state, count, msec time, or floating point).

• When the target is any of the remaining display resources, assigned data of any

type is acceptable.


"Data types on left and right of expression are incompatible."

• When the target of an assignment is an input or local attribute name and the right

side is simply a single operand, the following rules are used. Discrete, short
state, long state, count, msec time, floating point, date, and hex data can be
assigned to any target. ASCII data can be assigned to an ASCII target only.

• When the target is an input or local attribute name and the right side is a complex

expression (more than a single operand), the instrument will convert the
expression result to a data type compatible with the target.


"Duplicate case label."

Each label in a case statement must be unique.


"Duplicate state name."

Each display state name must be unique.


"Expression is too long."

Expressions cannot exceed 255 bytes after being compiled. Expressions can appear
in the conditional part of IF and CASE statements and on the right side of
assignments.

2-23