290
Manual – IPOSplus®
22
Basics
Assembler – Programming
22.1.10 Variables
All variables (H0 - H1023) can be read and written. The variables have a value range
from -2
31
... +2
31
- 1. If the variables H0 ... H127 are entered in the variable list or written
in the IPOS
plus®
program with the "MEM" command, they are stored in a non-volatile
memory as soon as they are entered. Variables H458 – H511 contain frequently used
unit values which are updated cyclically (every 1 ms). These variables are referred to
below as system variables and are explained in more detail in section "Overview of Sys-
tem Variables".
22.1.11 Program line
Command syntax:
The write command for variables and indices distinguishes between non-volatile and
volatile storage. The variables H0 ... H127 can be written and stored using both func-
tions; H128 ... H511 can only be stored in the volatile memory.
Variables H0 ... H127 are always stored in the non-volatile memory via MOVITOOLS
®
MotionStudio and the keypad. The SET statement of a value for a variable in an
IPOS
plus®
program is always stored in the volatile memory. To store the current status
in the non-volatile memory, the command MEM must be performed in the IPOS
plus®
pro-
gram.
INFORMATION
Be careful when writing system variables!
The effects are described in the section
"IPOS
plus®
with Options".
<M:xx>
<Com-
mand>
<Argument 1>
<Operator>
<Argument 2>
<M:yy>
Jump destination label; only used with
jump commands
Second argument; not used in all com-
mands
Operator (only used in arithmetic com-
mands)
First argument; used in all commands
Command; defines the operation to be
performed; used in every command line
Jump address label; can be inserted in
every command line
INFORMATION
When using the MEM command note that the variables stored in the non-volatile mem-
ory (H0 – 127) and all parameters are not written cyclically. This is because the num-
ber of storage operations with the storage medium EEPROM is restricted to 10
5
stor-
age operations.
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n