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 #466 background imageLoading...
Page #466 background image
3. Instructions
428
CS/CJ/NSJ Series Instructions Reference Manual (W474)
GRAY_BIN/GRAY_BINL
Applicable Program Areas
Operands
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
GRAY CODE TO BINARY
CONVERT
GRAY_BIN @GRAY_BIN 478
Converts the specified word of gray code to one
word of binary data.
DOUBLE GRAY CODE TO
BINARY CONVERT
GRAY_BINL @GRAY_BINL 479
Converts the specified two words of gray code to
two words of binary data.
Symbol
GRAY_BIN GRAY_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
GRAY_BIN GRAY_BINL GRAY_BIN GRAY_BINL
S Gray code data WORD DWORD 1 2
D Binary data WORD DWORD 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
S
OK OK OK OK OK OK OK OK OK OK
OK
OK --- OK --- --- --- ---
D ---
Name Label Operation
Error Flag P_ER • ON if the results of conversion is negative (i.e., if the gray code data is #8000 to #FFFF).
• OFF in all other cases.
Equal Flag P_EQ Unchanged.
Negative Flag P_N Unchanged.
GRAY_BIN
S
D
S: Source (gray code)
D: Destination
(binary data)
GRAY_BINL
S
D
S: First source word
(gray code)
D: First destination word
(binary)

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