Omron SYSMAC CS Series Programming Manual page 52

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Basic Concepts
32
Signed BCD Data
Signed BCD data is a special data format that is used to express negative
numbers in BCD. Although this format is found in applications, it is not strictly
defined and depends on the specific application. The CS/CJ Series supports
the following instructions to convert the data formats: SIGNED BCD-TO-
BINARY: BINS(470), DOUBLE SIGNED BCD-TO-BINARY: BISL(472),
SIGNED BINARY-TO-BCD: BCDS(471), and DOUBLE SIGNED BINARY-
TO-BCD: BDSL(473). Refer to the CS/CJ-series Programmable Controllers
Programming Manual (W340) for more information.
Decimal
Hexadecimal
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
A
11
B
12
C
13
D
14
E
15
F
16
10
Decimal
+65,535
+65534
.
.
.
+32,769
+32,768
+32,767
+32,766
.
.
.
+2
+1
0
Binary
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
0001
1011
0001
1100
0001
1101
0001
1110
0001
1111
0001
10000
0001
Unsigned binary (4-digit
hexadecimal)
FFFF
FFFE
.
.
.
8001
8000
7FFF
7FFE
.
.
.
0002
0001
0000
Section 2-1
BCD
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
0000
0001
0010
0011
0100
0101
0110
Signed binary (4-digit
hexadecimal)
Cannot be expressed.
7FFF
7FFE
0002
0001
0000

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents