13. Program Support Functions
13.4 Variable Commands
296
(Note 5)
When the parameter "#1052 MemVal" is set to "1" in multi-part system, a part or all of
common variable "#100 to #199" and "#500 to #999" can be shared and used
between part systems. The number of the shared common variable is set by the
parameter "#1303 V1comN" (#100 to set value) and "#1304 V0comN" (#500 to set
value).
(Example)
"10" is set to "#1303 V1comN"
"5" is set to "#1304 V0comN"
#100 to #109 : Common for the
part systems
#500 to #504 : Common for the
part systems
#110 to #199 : Each part system
#505 to #999 : Each part system
When the parameter "#1052 MemVal" is set to "0", the common variables "#100 to
#199" are used for each part system, and variables "#500 to #999" are common for
the part systems. Address #400s, which can be used as common variable with 700
sets of variable, is common for the part systems regardless of the setting of parameter
"#1052 MemVal".
(Note 6)
In the common variable data input, when the following illegal variable No. data exist in
input file, the illegal variable No. data is ignored and only the correct common variable
data is input.
• Variable data which is not common variables of local variable (#1 to #33) and
system variable (#1000 to ), etc.
• Variable data to which conditions of number of common variable sets are not
corresponding
(Example) If the #100 to #199, #500 to #599 exist in the input file when the common
variable 100 sets (#100 to #149, #500 to #549), the #150 to #199, #550 to
#599 are ignored, and #100 to #149, #500 to #549 are input.
(Note 7)
When the parameter "#1316 CrossCom" is set to "1", the common variables #100100
to #800199 can be used for common variable shared between the part systems. The
common variable shared between part systems which can be used is shown in the
table below.
Variable sets
Common variables 1 (When "#1316 CrossCom" = "1"
600 sets
(500 +
100)
Variable sets
specification
700 sets
(600 +
100)
#100100 to #100199 (Equivalent to # 100 to #199 in 1st
part system)
#200100 to #200199 (Equivalent to # 100 to #199 in 2nd
part system)
#300100 to #300199 (Equivalent to # 100 to #199 in 3rd
part system)
#400100 to #400199 (Equivalent to # 100 to #199 in 4th
part system)
#500100 to #500199
#600100 to #600199
#700100 to #700199
#800100 to #800199
<Example>
When 1-part system
#100100=200
;
#200105=#100
;
#300110=#100100
;
#800199=#500120
;
Equivalent to #100 = 200 ;
"200" is set to #200105
"200" is set to #300110
The variable value of #500120 is set to #800199