7 Programming
7 - 38
NX-series Safety Control Unit User’s Manual (Z930)
This section describes how to register global variables and local variables.
Opening the Global Variable Table
Double-click Global Variables under Programming - Data in the Multiview Explorer. Or, right-click
Global Variables under Programming − Data and select Edit from the menu. The global variable
table is displayed.
7-5-3 Registering Variables
Creating Global Variables
Field Description Restrictions
Name Enter a name to use to identify the variable. Only single-byte alphanumeric charac-
ters are allowed. Multi-byte characters,
such as those used for Japanese, are
not allowed.
The maximum size is 127 bytes.
Data Type Set the type of data that is stored in the variable. Refer to 7-2-5
Data Types on page 7-15 for the data types that you can use.
---
Initial Value Set the value to use when the power is turned ON, when the
mode changes to RUN mode, or DEBUG mode (STOPPED).
This parameter must be specified.
---
Constant Select the check box in the Constant column to set the initial
value of the variable when it is downloaded, but prevent it from
being changed afterward. Either select the check box or clear
the selection (default).
---
Comment Set any comments for the variable. The maximum size is 127 bytes.