
OPERATION
8. DATA INPUT/OUTPUT
B–63444EN/01
290
The value of a custom macro common variable (#500 to #531) is loaded
into the memory of the controller from a floppy. The same format used
to output custom macro common variables is used for input. See Section
8.7.2. For a custom macro common variable to be valid, the input data
must be executed by pressing the cycle start button after data is input.
When the value of a common variable is loaded into memory, this value
replaces the value of the same common variable already existing (if any)
in memory.
Inputting custom macro common variables
1 Input the program according to the procedure in Section 8.4.1.
2 Select the MEMORY mode by the machine operator’s panel upon
completing input.
3 Press the cycle start button to execute the loaded program.
4 Display the macro vriable screen to check whether the values of the
common variables have been set correctly.
Display of the macro variable screen
⋅Press function key
OFFSET
SETTING
.
⋅Press the rightmost soft key (next–menu key).
⋅Press soft key
[MACRO].
⋅Select a variable with the page keys or numeric keys and
soft key
[NO.SRH].
1 Select EDIT mode.
2 Perform the same operation as for program input and read in the
custom macro statements like a program.
3 After reading is finished, select MEMORY mode. By executing the
program that was read in, the values of the common variables will be
stored in memory.
The common variables (#500 to #531) can be input and output.
Common variables #100 to 149 cannot be input or output.
8.7
INPUTTING/OUTPUT-
TING CUSTOM
MACRO COMMON
VARIABLES
8.7.1
Inputting Custom
Macro Common
Variables
Procedure (CRT/MDI)
Procedure (DPL/MDI)
Explanations
D Common variables