EasyManuals Logo

Omron SYSMAC CP Series Instruction & Reference Manual

Omron SYSMAC CP Series
467 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 #221 background imageLoading...
Page #221 background image
2-185
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Conversion Instructions
2
BIN/BINL
Conversion Instructions
BIN/BINL
Applicable Program Areas
Operands
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 Step program areas Subroutines Interrupt tasks
Usage 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 addresses
Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
S,R OKOKOKOKOKOKOK OK OK --- --- --- ---
Name Label
Operation
BIN BINL
Error Flag P_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 P_EQ ON if the result is 0000.
OFF in all other cases.
ON if the result is 0.
OFF in all other cases.
Negative Flag P_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

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals