EasyManuals Logo
Home>Omron>Controller>SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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 #567 background imageLoading...
Page #567 background image
527
Conversion Instructions Section 3-12
Description BDSL(473) converts double signed binary data to double signed BCD data.
First the double signed binary data in S+1 and S is checked to verify that it is
within the valid range for the signed BCD format specified in the control word
(C). If the source data is correct, the double signed binary data in S+1 and S
is converted to double signed BCD and output to D+1 and D. If the source
data is incorrect, the Error Flag will be turned ON and the instruction will not
be executed.
Note 1. Values of –0 in the source data will be treated as 0 and will not cause an
error.
2. Some Special I/O Units require signed BCD data inputs. BDSL(473) can
be used to convert double signed binary data for output to these Units.
The control word specifies the signed BCD format that will be used for the
result, as shown below.
C = 0000 (Output Data Range: –999 9999 to 999 9999 BCD)
C = 0001 (Output Data Range: –7999 9999 to 7999 9999 BCD)
C = 0002 (Output Data Range: –999 9999 to 9999 9999 BCD)
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area C S D
Signed BCD
Signed BCD
Signed binary
Signed binary
Signed BCD format
specified in C
S+1 S
7 digits BCD, 28 bits
Sign bit (0: Positive; 1: Negative)
Status of 3 bits: 0
S+1 S
3 bits of digit 8 (0 to 7)
7 digits BCD, 28 bits
Sign bit (0: Positive; 1: Negative)
S+1 S
0 to 9: Eighth digit BCD
F: Ne
g
ative
(
–
)
7 digits BCD, 28 bits

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals