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 #420 background imageLoading...
Page #420 background image
3. Instructions
382
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Conversion Instructions
BIN/BINL
Applicable Program Areas
Operands
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
BCD TO BINARY BIN @BIN 023 Converts BCD data to binary data.
DOUBLE BCD TO DOUBLE
BINARY
BINL @BINL 058
Converts 8-digit BCD data to 8-digit hexadecimal
(32-bit binary) data.
Symbol
BIN BINL
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
BIN BINL BIN BINL
S
BIN: Source word
BINL: First source word
WORD DWORD 1 2
R
BIN: Results word
BINL: First result word
UINT UDINT 1 2
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
BIN
S
OK OK OK OK OK OK OK OK OK OK
---
OK --- OK --- --- --- ---
R
BINL
S
OK OK OK OK OK OK OK OK OK OK
---
--- --- OK --- --- --- ---
R
Name Label
Operation
BIN BINL
Error Flag ER • ON if the content of S is not BCD.
• OFF in all other cases.
• ON if the contents of S+1, S are not BCD.
• OFF in all other cases.
Equals Flag = • ON if the result is 0000.
• OFF in all other cases.
• ON if the result is 0.
• OFF in all other cases.
Negative Flag N OFF OFF
S: Source word
R: Result word
BIN(023)
S
R
S: First source word
R: First result word
BINL(058)
S
R

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