202
Gemini GV6K/GT6K Command Reference
MEMORY
Partition User Memory
Type
Drive Configuration
Syntax
<a_><!>MEMORY<i>,<i>
Units
i = bytes of memory (use even number only)
1st <i> = partition for “Programs”
2nd <i> = partition for “Compiled Profiles”
Range
(see table below)
Default
(see table below)
Response
MEMORY: *MEMORY150000,150000
See Also
[ DATP ], DEF, GOBUF, PCOMP, PLCP, [ SEG ], [ SS ], TDIR,
TMEM, TSEG, TSS
Product Rev
GT6K 6.0
GV6K 6.0
The Gem6K’s memory has two partitions: one for storing
programs
and one for storing
compiled profiles
& PLC programs
. The allocation of memory to these two areas is controlled with the
MEMORY
command.
“Programs” vs. ”Compiled Profiles & Programs”
Programs are defined with the
DEF
and
END
commands, as demonstrated in the “Program
Development Scenario” in the
Programmer's Guide
.
Compiled Profiles & PLC Programs are defined like programs (using the
DEF
and
END
commands),
but are compiled with the
PCOMP
command and executed with the
PRUN
command (but
PLCP
programs are usually executed with
SCANP
). Compiled profiles/programs could be a
profile
(a series of
GOBUF
commands), or a
PLC program
(for PLC Scan Mode).
Programs intended to be compiled are stored in program memory. After they are compiled
with the
PCOMP
command, they remain in program memory and the
segments
(see diagram
below) from the compiled program are stored in compiled memory. The
TDIR
report
indicates which programs are compiled as compiled profiles (“
COMPILED AS A PATH
”) and
which programs are compiled as PLC programs (“
COMPILED AS A PLC PROGRAM
”) .
For more information on compiled profiles (Compiled Motion Profiling), and PLC Scan Mode,
refer to the
Programmer's Guide
.
MEMORY
Syntax:
Memory allocation for
Programs (bytes).
Storage requirements
depend on the number of
ASCII characters in the
program.
Memory allocation for Compiled Profiles & Programs (bytes).
Storage requirements depend on the number of segments
(1 segment consumes 76 bytes). A segment could be one of
these commands:
Compiled Motion:
*
GOBUF
commands may require up to 4 segments.
**
IF
statement may require at least 2 segments, each
AND
or
OR
compound requires an additional segment.
VARI
and
VARB
each require 2 segments.
PLC (
PLCP
) Program:
GOBUF *
PLOOP
GOWHEN
TRGFN
POUTA
MEMORY150000,150000
IF **
ELSE
NIF
L
LN
OUT
ANO
EXE
PEXE
VARI **
VARB **
www.comoso.com
Содержание Gemini GV6K
Страница 24: ...www comoso com...
Страница 40: ...www comoso com...
Страница 344: ...www comoso com...
Страница 350: ...www comoso com...