Type
Definition
Duration
A data type that represents a time duration (days, hours, minutes, seconds, and milliseconds).
Safety Data Types and Standard Data Types
The Safety Control Unit classifies data types into the following two types to distinguish between safety
data and standard data.
• Safety data types: These data types represent data related to safety control.
• Standard data types: These data types represent data related to standard control.
"SAFE" is prefixed to the names of the standard data types such as SAFEBOOL, to create the names
of the safety data types.
You can input a signal for a safety data type variable to a standard data type variable.
You cannot input a signal for a standard data type variable to a safety data type variable. A building
error will occur.
Basic Data Types
The basic data types are given below.
Classifi-
cation
Data type
Safety/
standard da-
ta type
Range of values
Notation
Boolean
BOOL
Standard da-
ta type
FALSE or TRUE
bool#0 or bool#1
FALSE or TRUE
SAFE-
BOOL
Safety data
type
Bit strings BYTE
Standard da-
ta type
byte#16#00 to byte#16#FF
byte#2#0101010
byte#2#0101_1010
byte#16#5A
You can use the separator charac-
ter “_”.
SAFE-
BYTE
Safety data
type
WORD
Standard da-
ta type
word#16#0000 to
word#16#FFFF
SAFE-
WORD
Safety data
type
Integers
INT
Standard da-
ta type
int#-32768 to int#-32767
100
int#100
int#2#00000000_1100100
int#16#64
-100
SAFEINT
Safety data
type
DINT
Standard da-
ta type
dint#-2147483648 to
dint#-2147483647
SAFEDINT
Safety data
type
Duration
Standard da-
ta type
t#0ms(t#0d0h0m0s0ms)
to
t#4294967295ms
(t#49d17h02m47s295ms)
t#3000ms
SAFE-
Safety data
type
*1.
The BYTE data type cannot be used for an internal variable.
*2.
If you use the BYTE data type for a global variable, you must define an exposed variable.
6 Programming
6 - 15
NX-series Safety Control Unit User's Manual (Z930)
6-2 V
ariables
6
6-2-5
Data T
ype
Summary of Contents for NX-SIH400
Page 4: ...Introduction 2 NX series Safety Control Unit User s Manual Z930 ...
Page 46: ...Revision History 44 NX series Safety Control Unit User s Manual Z930 ...
Page 108: ...2 Specifications 2 42 NX series Safety Control Unit User s Manual Z930 ...
Page 132: ...3 Installation and Wiring 3 24 NX series Safety Control Unit User s Manual Z930 ...
Page 148: ...4 Safety Control Unit Operation 4 16 NX series Safety Control Unit User s Manual Z930 ...
Page 216: ...5 System Configuration and Setup 5 44 NX series Safety Control Unit User s Manual Z930 ...
Page 306: ...6 Programming 6 90 NX series Safety Control Unit User s Manual Z930 ...
Page 390: ...8 Calculating Safety Reaction Times 8 12 NX series Safety Control Unit User s Manual Z930 ...
Page 412: ...11 Safety Data Logging 11 10 NX series Safety Control Unit User s Manual Z930 ...
Page 504: ...12 Troubleshooting 12 92 NX series Safety Control Unit User s Manual Z930 ...
Page 554: ...l I O Map Settings Appendices A 42 NX series Safety Control Unit User s Manual Z930 ...
Page 623: ...I Index I 1 NX series Safety Control Unit User s Manual Z930 I ...
Page 625: ......