EasyManuals Logo
Home>IDEC>Controller>OpenNet series

IDEC OpenNet series User Manual

IDEC OpenNet series
427 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 #145 background imageLoading...
Page #145 background image
8: ADVANCED INSTRUCTIONS
8-4 OPENNET CONTROLLER USERS MANUAL
Data Types for Advanced Instructions
When using move, data comparison, binary arithmetic, Boolean computation, bit shift/rotate, data conversion, and coordi-
nate conversion instructions for the OpenNet Controller, data types can be selected from word (W), integer (I), double
word (D), or long (L). For other advanced instructions, the data is processed in units of 16-bit word.
Decimal Values and Hexadecimal Storage
The following table shows hexadecimal equivalents which are stored in the CPU, as the result of addition and subtraction
of the decimal values shown:
Data Type Symbol Bits
Quantity of Data
Registers Used
Range of Decimal Values
Word (Unsigned 16 bits) W 16 bits 1 0 to 65,535
Integer (Signed 15 bits) I 16 bits 1 32,768 to 32,767
Double Word (Unsigned 32 bits) D 32 bits 2 0 to 4,294,967,295
Long (Signed 31 bits) L 32 bits 2 2,147,483,648 to 2,147,483,647
Data Type Result of Addition Hexadecimal Storage Result of Subtraction Hexadecimal Storage
Word
0
65535
131071
0000
FFFF
(CY) FFFF
65535
1
65535
65536
FFFF
(BW) FFFF
(BW) 0001
(BW) 0000
Integer
65534
32768
32767
0
1
32767
32768
32769
65535
(CY) 7FFE
(CY) 0000
7FFF
0000
FFFF
8001
8000
(CY) FFFF
(CY) 8001
65534
32768
32767
0
1
32767
32768
32769
65535
(BW) 7FFE
(BW) 0000
7FFF
0000
FFFF
8001
8000
(BW) FFFF
(BW) 8001
Double Word
0
4294967295
8589934591
00000000
FFFFFFFF
(CY) FFFFFFFF
4294967295
1
4294967295
4294967296
FFFFFFFF
(BW) FFFFFFFF
(BW) 00000001
(BW) 00000000
Long
4294967294
2147483648
2147483647
0
1
2147483647
2147483648
2147483649
4294967295
(CY) 7FFFFFFE
(CY) 00000000
7FFFFFFF
00000000
FFFFFFFF
80000001
80000000
(CY) FFFFFFFF
(CY) 80000001
4294967294
2147483648
2147483647
0
1
2147483647
2147483648
2147483649
4294967295
(BW) 7FFFFFFE
(BW) 00000000
7FFFFFFF
00000000
FFFFFFFF
80000001
80000000
(BW) FFFFFFFF
(BW) 80000001
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC OpenNet series and is the answer not in the manual?

IDEC OpenNet series Specifications

General IconGeneral
BrandIDEC
ModelOpenNet series
CategoryController
LanguageEnglish

Related product manuals