Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 460

Table of Contents

Advertisement

3. Instructions
Example 2:
Converting to Angle Data with a 10-bit Resolution and Zero Point Offset of 0151 Hex
15
C: D0
C+1: D1
Zero point offset: 0151 hex
C+2: D2
User-specified resolution: Not used.
S: 10
0
0
D: D200
D+1: D201
Example 3:
Converting to BCD Data with for an OMRON E6C2-AG5C Absolute Encoder (Resolution: 360/rota-
tion, Encoder Remainder Compensation: 76) and Zero Point Offset of 0000 Hex
15
C: D0
C+1: D1
Zero point offset: 0000 hex
C+2: D2
User-specified resolution: 360, Encoder remainder compensation: 04C hex (76 decimal)
S: 10
0
0
D: D200
D+1: D201
424
12
11
8
7
4 3
0
0
2
Conversion mode: 360 Mode
Operating mode: Gray binary code conversion
0151
0
000
0
0
0
0
0
1
1
0
1
0
1
Converted and offset.
3488
0000
12
11
8
7
4 3
0
0
1
Conversion mode: BCD Mode
Operating mode: Gray binary code conversion
0000
1
04C
0
0
0
0
0
0
1
1
1
0
1
Converted and offset.
0100
0000
0
A
Resolution: 10-bit
0
0
1
Gray binary code
Angle data stored.
0
0
Resolution: User-specified
0
0
0
Gray binary code
Result of BCD conversion and offsetting stored.
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents