EasyManuals Logo
Home>Omron>Touch terminals>NS

Omron NS Programming Manual

Omron NS
683 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #119 background imageLoading...
Page #119 background image
Section 2 NS Series Functions 2-8 Common Functional Object Functions
2-72
NS Series Programming Manual
Storage Type Details
UINT (unsigned, 1
word)
Stores as 2-byte integer at the write destination address.
(0 to 65,535 in decimal)
The data format is described below.
1010000100010001
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
b15 b0
Example: 1010 0001 0001 0001
2
15
+ 2
13
+ 2
8
+ 2
4
+ 2
0
= 32768 + 8192 + 256 + 16 + 1 = 41233
If there is an overflow, bits 32 and later are ignored.
For example, if 1 is added to 11111111111111111111111111111111(−1), it will
become 00000000000000000000000000000000(0).
DINT (signed, 2 words)
Stores as 4-byte integer at the write destination address. (−2,147,483,648 to
2,147,483,647 in decimal)
The data format is described below.
The most significant bit is treated as the sign. (0: Positive, 1: Negative)
b31 b16 b15 b0
Address+1 Address
Sign
10100001000100011010000100010001
2
31
2
30
2
29
2
28
2
27
2
26
2
25
2
24
2
23
2
22
2
21
2
20
2
19
2
18
2
17
2
16
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
The set address and the address + 1 are used (2 words) and displayed as one nu-
meral.
Example: 1010 0001 0001 0001 1010 0001 0001 0001
−1 × 2
31
+ 2
29
+ 2
24
+ 2
20
+ 2
16
+ 2
15
+ 2
13
+ 2
8
+ 2
4
+ 2
0
=
−2147483648 + 536870912 + 16777216 + 1048576 + 65536 + 32768 + 8192 + 256
+ 16 + 1 = −1592680175
UDINT (unsigned,
2 words)
Stores as 4-byte integer at the write destination address. (0 to 4,294,967,295 in
decimal)
The data format is described below.
b31 b16 b15 b0
Address+1 Address
10100001000100011010000100010001
2
31
2
30
2
29
2
28
2
27
2
26
2
25
2
24
2
23
2
22
2
21
2
20
2
19
2
18
2
17
2
16
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
The set address and the address + 1 are used (2 words) and displayed as one nu-
meral.
Example: 1010 0001 0001 0001 1010 0001 0001 0001
2
31
+ 2
29
+ 2
24
+ 2
20
+ 2
16
+ 2
15
+ 2
13
+ 2
8
+ 2
4
+ 2
0
= 2147483648+536870912 + 16777216
+ 1048576 + 65536 + 32768 + 8192 + 256 + 16 + 1 = 2702287121

Table of Contents

Other manuals for Omron NS

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NS and is the answer not in the manual?

Omron NS Specifications

General IconGeneral
BrandOmron
ModelNS
CategoryTouch terminals
LanguageEnglish

Related product manuals