Omron NX-SL3300 User Manual page 231

Nx series safety control unit
Hide thumbs Also See for NX-SL3300:
Table of Contents

Advertisement

Type
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-
Data type
cation
Boolean
BOOL
SAFE-
BOOL
Bit strings BYTE
SAFE-
BYTE
WORD
SAFE-
WORD
Integers
INT
SAFEINT
DINT
SAFEDINT
Duration
TIME
SAFE-
TIME
*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.
NX-series Safety Control Unit User's Manual (Z930)
Safety/
standard da-
ta type
Standard da-
FALSE or TRUE
ta type
Safety data
type
Standard da-
byte#16#00 to byte#16#FF
*1*2
ta type
Safety data
type
Standard da-
word#16#0000 to
*3
ta type
word#16#FFFF
Safety data
type
*4
Standard da-
int#-32768 to int#-32767
ta type
Safety data
type
Standard da-
dint#-2147483648 to
ta type
dint#-2147483647
Safety data
type
Standard da-
t#0ms(t#0d0h0m0s0ms)
*4
ta type
to
t#4294967295ms
Safety data
(t#49d17h02m47s295ms)
type
*4
Definition
Range of values
bool#0 or bool#1
FALSE or TRUE
byte#2#0101010
byte#2#0101_1010
byte#16#5A
You can use the separator charac-
ter "_".
100
int#100
int#2#00000000_1100100
int#16#64
-100
t#3000ms
6 Programming
Notation
6 - 15
6

Advertisement

Table of Contents
loading

Table of Contents