![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268570.webp)
531
Conversion Instructions
Section 3-12
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)
Operand Specifications
S
D
D+1
Rightmost word
Leftmost word
Area
C
S
D
CIO Area
CIO 0000 to
CIO 6142
CIO 0000 to
CIO 6143
CIO 0000 to
CIO 6142
Work Area
W000 to W510
W000 to W511
W000 to W510
Holding Bit Area
H000 to H510
H000 to H511
H000 to H510
Auxiliary Bit Area
A000 to A958
A000 to A959
A448 to A958
Timer Area
T0000 to T4094
T0000 to T4095
T0000 to T4094
Counter Area
C0000 to C4094
C0000 to C4095
C0000 to C4094
DM Area
D00000 to
D32766
D00000 to
D32767
D00000 to
D32766
EM Area without bank
E00000 to
E32766
E00000 to
E32767
E00000 to
E32766
EM Area with bank
En_00000 to
En_32766
(n = 0 to C)
En_00000 to
En_32767
(n = 0 to C)
En_00000 to
En_32766
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants
---
#0000 to #FFFF
(binary)
---
Data Registers
---
DR0 to DR15
---
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...