EasyManuals Logo

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 #462 background imageLoading...
Page #462 background image
3. Instructions
424
CS/CJ/NSJ Series Instructions Reference Manual (W474)
S: Source Word
Contains the gray binary code to be converted. The range must be within the number of bits determined
by the resolution specified in bits 00 to 03 of C. All bits outside of the number of bits for the specified
resolution will be ignored.
For example, if the specified resolution is 08 hex and S contains FFFF hex, the gray binary code will be
taken as 00FF hex.
D: First destination word
Destination words D+1 and D contain the results of converting the gray binary code at the resolution
specified in bits 00 to 03 of the control data word C and the conversion mode specified in bits 04 to 07
of the control data word C. The leftmost word is output to D+1 and the rightmost word is output to D.
The ranges of data that are output are as follows:
Binary Mode: 0000 0000 to 0000 7FFF hex
BCD Mode: 0000 0000 to 0003 2767
360° Mode: 0000 0000 to 0000 3599
(0.0° to 359.9° in 0.1° increments, BCD)
z Operand Specifications
Flags
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
C
OK OK OK OK OK OK OK OK OK OK
--- ---
--- OK --- --- --- ---S OK OK
D --- ---
Name Label Operation
Error Flag P_ER • ON if bits 12 to 15 of C are not 0 hex (operating mode = gray binary code conversion).
• ON if the zero point offset in C+1 is not within the specified resolution (including user-specified reso-
lutions).
• ON if bits 04 to 07 of C are not 0 hex (= Binary Mode), 1 hex (= BCD Mode), or 2 hex (= 360
° Mode).
• ON if the specified encoder remainder compensation exceeds the set user-specified resolution when
bits 00 to 03 of C are 0 hex (= user-specified resolution).
• ON if the converted binary value is less than the encoder remainder compensation when bits 00 to 03
of C are 0 hex (= user-specified resolution).
• ON if the converted binary value is less than the resolution when bits 00 to 03 of C are 0 hex (= user-
specified resolution).
• OFF in all other cases.
Equal Flag P_EQ OFF in all cases.
Negative Flag P_N OFF in all cases.
S
D
D+1
Rightmost word
Leftmost word

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