Input Variables - Jetter EBELT BEST Series Programming Manual

Table of Contents

Advertisement

Page: 8
4. Variables
The variable definition is placed in front of the
message text as already described. In order to
distinguish the variable definition from text lines,
the character "@" is inserted in front of the
variable definition.
General Syntax:
@[tttt]
[xxx]
[!]
[min]
o
o
o
@[tttt] =
variable format
4.1 Indication Variables
The character "!" signifies an indication
variable. Indication variables are continuously
read from the PLC. Input is not possible (e.g.
temperature display).
4.1.1 Suppression of Leading Zeros for Indication Variables
Indication variables allow suppression of
leading zeros for the following variable formats:
UNS, BCD, BCDL
The character "!" is replaced by a "#".

4.2 Input Variables

If limit values are specified after the variable
address, this variable is first read once from the
PLC and is then be released for an input
process. When the Enter-key is pressed, the
entered value is checked to ensure that it is
within the specified limits. If the value has been
4.2.1 Indexed Variable Address
General Syntax:
@[tttt]
i1+k[!]
[min]
[max]
o
o
o
[i1]
=
variable address for pointer
[k]
=
constant
The actual variable address comprises the
contents of [i] and the constant [k]. It must be
[max]
o
Programming the Operating Panel Editon 2/94
[xxx]
=
variable address
[!]
=
identifier for an indication
variable
[min]
=
lower input limit
[max]
=
upper input limit
In this case, the box (
o
When creating text, the underline represents a
filler character holding the place for a variable.
Example:
@BCDo135!
Example:
@BCDo135#
entered correctly, it will be written (back) to the
PLC at the specified address.
Example:
@UNSo144o12o54670
ensured that the sum of [i] and [k] does not
exceed the valid range of values for the PLC.
The index register is defined in the same
message:
@idxoxxx!
i1 = the first index definition found
i2 = the second index definition, etc.
) stands for a space.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents