Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 463

Table of Contents

Advertisement

Function
STR4
STR4(601) converts the numerical data in S
(4-digit hexadecimal, #0000 to #FFFF) to
ASCII data (4 characters) and writes the result
to D and D+1.
STR8
STR8(602) converts the numerical data in S
and S+1 (8-digit hexadecimal, #0000 0000 to
#FFFF FFFF) to ASCII data (8 characters) and
writes the result to D, D+1, D+2, and D+3.
STR16
STR16(603) converts the numerical data in S
to S+3 (16-digit hexadecimal, #0000 0000
0000 0000 to #FFFF FFFF FFFF FFFF) to
ASCII data (16 characters) and writes the
result to D to D+7.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
15
12
11
8
7
1
2
3
S
Hexadecimal: #1234
ASCII
15
8
7
D
31
33
D+1
15
12
11
8
7
S
5
6
7
1
2
3
S+1
Hexadecimal: #12345678
ASCII
15
8
7
D
31
D+1
33
D+2
35
D+3
37
15
12
11
8
7
S
C
D
E
S+1
8
9
A
S+2
4
5
6
S+3
0
1
2
Hexadecimal: #1234567890ABCDEF
ASCII
15
8
7
D
30
32
D+1
34
D+2
36
D+3
D+4
38
D+5
41
D+6
43
D+7
45
3. Instructions
4
3
0
4
0
32
34
4
3
0
8
3
4
0
32
34
36
38
4
3
0
F
B
7
3
0
31
33
35
37
39
42
44
46
425

Advertisement

Table of Contents
loading

Table of Contents