6-2
Variables
In the Safety CPU Unit, variables are used to exchange I/O information with external devices, to per-
form data calculations, and to perform other processes.
This section describes variable designations in detail.
6-2-1
Variables
Variables store I/O data for exchange with external devices or temporary data that is used for internal
POU processing. In other words, a variable is a data container with attributes, such as the name and
data type.
You do not need to assign a memory address to a variable. The Sysmac Studio automatically allo-
cates memory addresses in the memory area for variables.
6-2-2
Types of Variables
Variables are broadly classified into the following two types.
l
User-defined Variables
The user defines all of the attributes of a user-defined variable.
The rest of this section describes "user-defined variables".
l
Semi-user-defined Variables
For semi-user-defined variables, some attributes are designed by the system, while others are de-
fined by the user.
This includes variables that are used to access specific devices and data.
This is the equivalent of a "device variable" in the Safety Control Unit.
6-2-3
Type of User-defined Variable
There are five types of user-defined variables as defined according to their function in a POU.
Type of user-defined variable
POU type
Programs
FB
Local variables
Internal variables
Provided
Provided
Input variables
Not provided
Provided
Output variables
Not provided
Provided
External variables
Provided
Not provided
Global variables
Provided
Not provided
*1.
You can define global variables as external variables to access the global variables through the external var-
iables.
6 Programming
6 - 12
NX-series Safety Control Unit User's Manual (Z930)
Содержание NX-SIH400
Страница 4: ...Introduction 2 NX series Safety Control Unit User s Manual Z930 ...
Страница 46: ...Revision History 44 NX series Safety Control Unit User s Manual Z930 ...
Страница 108: ...2 Specifications 2 42 NX series Safety Control Unit User s Manual Z930 ...
Страница 132: ...3 Installation and Wiring 3 24 NX series Safety Control Unit User s Manual Z930 ...
Страница 148: ...4 Safety Control Unit Operation 4 16 NX series Safety Control Unit User s Manual Z930 ...
Страница 216: ...5 System Configuration and Setup 5 44 NX series Safety Control Unit User s Manual Z930 ...
Страница 306: ...6 Programming 6 90 NX series Safety Control Unit User s Manual Z930 ...
Страница 378: ...7 Checking Operation and Actual Operation 7 72 NX series Safety Control Unit User s Manual Z930 ...
Страница 390: ...8 Calculating Safety Reaction Times 8 12 NX series Safety Control Unit User s Manual Z930 ...
Страница 412: ...11 Safety Data Logging 11 10 NX series Safety Control Unit User s Manual Z930 ...
Страница 504: ...12 Troubleshooting 12 92 NX series Safety Control Unit User s Manual Z930 ...
Страница 550: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 38 NX series Safety Control Unit User s Manual Z930 ...
Страница 554: ...l I O Map Settings Appendices A 42 NX series Safety Control Unit User s Manual Z930 ...
Страница 558: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 46 NX series Safety Control Unit User s Manual Z930 ...
Страница 564: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 52 NX series Safety Control Unit User s Manual Z930 ...
Страница 623: ...I Index I 1 NX series Safety Control Unit User s Manual Z930 I ...
Страница 625: ......