![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268101.webp)
62
Instruction Functions
Section 2-2
FOUR-DIGIT
NUMBER TO
ASCII
STR4
@STR4
601
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts a 4-digit hexadecimal number (#0000 to #FFFF) to ASCII
data (4 characters).
Output
Required
535
EIGHT-DIGIT
NUMBER TO-
ASCII
STR8
@STR8
602
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts an 8-digit hexadecimal number (#0000 0000 to #FFFF FFFF)
to ASCII data (8 characters).
Output
Required
538
SIXTEEN-DIGIT
NUMBER TO
ASCII
STR16
@STR16
603
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts a 16-digit hexadecimal number (#0000 0000 0000 0000 to
#FFFF FFFF FFFF FFFF) to ASCII data (16 characters).
Output
Required
540
ASCII TO FOUR-
DIGIT NUMBER
NUM4
@NUM4
604
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts 4 characters of ASCII data to a 4-digit hexadecimal number.
Output
Required
542
ASCII TO EIGHT-
DIGIT NUMBER
NUM8
@NUM8
605
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts 8 characters of ASCII data to an 8-digit hexadecimal number. Output
Required
545
ASCII TO SIX-
TEEN-DIGIT
NUMBER
NUM16
@NUM16
606
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts 16 characters of ASCII data to a 16-digit hexadecimal num-
ber.
Output
Required
546
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
STR4
S
D
S
: Numeric
D
: ASCII text
STR8
S
D
S
: Numeric
D
: ASCII text
STR16
S
D
S
: Numeric
D
: ASCII text
NUM4
S
D
S
: ASCII text
D
: Numeric
NUM8
S
D
S
: ASCII text
D
: Numeric
NUM16
S
D
S
: ASCII text
D
: Numeric
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...