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 #122 background imageLoading...
Page #122 background image
Section 2 NS Series Functions 2-8 Common Functional Object Functions
2-75
NS Series Programming Manual
Storage Type Details
BCD2
(unsigned, 2 words)
Stores as 4-byte BCD at the write destination address.
(0 to 99,999,999 in decimal)
The data format is described below.
The set address and the address + 1 are used (2 words) and displayed as one nu-
meral.
b31
Address + 1 Address
1000011101100101 0100001100100001
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
b16 b15 b0
Example: 1000 0111 0110 0101 0100 0011 0010 0001
1
st
digit: 2
0
= 1; 2
nd
digit: 2
1
= 2; 3
rd
digit: 2
1
+ 2
0
= 3; 4
th
digit: 2
2
= 4
5
th
digit: 2
2
+ 2
0
= 5; 6
th
digit: 2
2
+ 2
1
= 6; 7
th
digit: 2
2
+ 2
1
+ 2
0
= 7; 8
th
digit: 2
3
= 8
BCD value: 87654321
Values between 0 and 9 can be obtained for each digit. Higher values (A to F) can-
not be expressed in BCD.
The display for numeral display and input will be [########].
BCD 1
(signed (leftmost digit:
F), 1 word)
Stores as 2-byte BCD at the write destination address.
(-999 to 9,999 in decimal)
The data format is described below.
The leftmost digit (bits 12 to 15) is treated as the sign. (Negative when the leftmost
digit is F(1111).)
Sign
b15 b12 b11 b8 b7 b4 b3 b0
1111001100100001
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
Example: 1111 0011 0010 0001
1
st
digit: 2
0
= 1; 2
nd
digit: 2
1
= 2; 3
rd
digit: 2
1
+ 2
0
= 3; 4
th
digit: 1111, therefore nega-
tive.
BCD value: −321
Values between 0 and 9 are possible for each digit. Higher values (A to F) cannot be
expressed in BCD. (F can be stored only in the leftmost digit.)
The display for numeral display and input will be [####].
BCD 1
(signed (leftmost digit:
F), 2 words)
Stores as 4-byte BCD at the write destination address.
(−9999999 to 99,999,999 in decimal)
The data format is described below.
The leftmost digit (bits 28 to 31) is treated as the sign. (Negative when the leftmost
digit is F(1111).)
The address set under numeral display and input and the address + 1 are used (2
words) and displayed as one numeral.
b31 b16 b15 b0
Address + 1 Address
1111011101100101 0100001100100001
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
Sign
Example: 1111 0111 0110 0101 0100 0011 0010 0001
1st digit: 2
0
= 1; 2nd digit: 2
1
= 2; 3rd digit: 2
1
+ 2
0
= 3; 4th digit: 2
2
= 4
5th digit: 2
2
+ 2
0
= 5; 6th digit: 2
2
+ 2
1
= 6; 7th digit: 2
2
+ 2
1
+ 2
0
= 7;
8th digit: 1111, therefore negative.
BCD value: −7654321
Values between 0 and 9 can be obtained for each digit. Higher values (A to F) can-
not be expressed in BCD. (F can be stored only in the leftmost digit.)
The display for numeral display and input will be [########].

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