EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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 #457 background imageLoading...
Page #457 background image
419
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Conversion Instructions
3
BCDS/BDSL
BCDS/BDSL
Applicable Program Areas
Operands
C: Control Word
Specifies the signed BCD format. C must be 0000 to 0003.
S: Source Word
BCDS BDSL
D: Destination Word
BCDS
• C = 0 (Output Data Range: -999 to 999 BCD)
Instruction Mnemonic Variations
Function
code
Function
SIGNED BINARY TO BCD BCDS @BCDS 471
Converts one word of signed binary data to one
word of signed BCD data.
DOUBLE SIGNED BINARY TO
BCD
BDSL @BDSL 473
Converts double signed binary data to double
signed BCD data.
Symbol
BCDS BDSL
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description
Data type Size
BCDS BDSL BCDS BDSL
C Control word UINT UINT 1 1
S
BCDS: Source word
BDSL: First source word
INT DINT 1 2
D
BCDS: Destination word
BDSL: First destination word
WORD DWORD 1 2
Setting Allowed values for S Setting Allowed values for S+1 and S
C=0 FC19 to FFFF or 0000 to 03E7 C=0
FF67 6981 to FFFF FFFF or
0000 0000 to 0098 967F
C=1 E0C1 to FFFF or 0000 to 1F3F C=1
FB3B 4C01 to FFFF FFFF or
0000 0000 to 04C4 B3FF
C=2 FC19 to FFFF or 0000 to 270F C=2
FF67 6981 to FFFF FFFF or
0000 0000 to 05F5 E0FF
C=3 F831 to FFFF or 0000 to 270F C=3
FECE D301 to FFFF FFFF or
0000 0000 to 05F5 E0FF
C: Control word
S: Source word
D: Destination word
BCDS(471)
C
S
D
C: Control word
S: First source word
D: First destination word
BDSL(473)
C
S
D
3 digits BCD, 12 bits
Sign bit (0: Positive; 1: Negative)
Status of 3 bits: 0

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals