![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030102.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
534
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
537
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
539
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
541
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
544
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
545
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 CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...