Bins/Bisl - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

BINS/BISL

Instruction
SIGNED BCD TO BINARY
DOUBLE SIGNED BCD TO
BINARY
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
C
Control word
BINS: Source word
S
BISL: First source word
BINS: Destination word
D
BISL: First destination word
C: Control Word
Specifies the signed BCD format. C must be 0000 to 0003.
S: Source word
BINS
• C = 0 (Input Data Range: -999 to 999 BCD)
• C = 1 (Input Data Range: -7999 to 7999 BCD)
412
Mnemonic
Variations
BINS
@BINS
BISL
@BISL
BINS
BINS(470)
C: Control word
C
S: Source word
S
D
D: Destination word
Block program areas
Step program areas
OK
OK
Description
3 digits BCD, 12 bits
Sign bit (0: Positive; 1: Negative)
Status of 3 bits: 0
3 digits BCD, 12 bits
3 bits of digit 4 (Bit 12 to 14)
Sign bit (0: Positive; 1: Negative)
Function
code
Converts one word of signed BCD data to one
470
word of signed binary data.
Converts double signed BCD data to double
472
signed binary data.
BISL(472)
C
S
D
Subroutines
Interrupt tasks
OK
OK
Data type
BINS
BISL
UINT
UINT
WORD
DWORD
INT
DINT
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
BISL
C: Control word
S: First source word
D: First destination word
SFC action or transition
programs
OK
Size
BINS
BISL
1
1
1
2
1
2

Advertisement

Table of Contents
loading

Table of Contents