beautypg.com

2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 245

background image

2-209

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Con

v

e

rs

ion I

n

stru

ctio

ns

2

HEX

Example of converting multiple bytes of ASCII code to hex

Di: #0112

Di: #0030

Di: #0131

Digit 3 Digit 2 Digit 1 Digit 0

Leftmost

Rightmost

Digit 3 Digit 2 Digit 1 Digit 0

Digit 3 Digit 2 Digit 1 Digit 0

Leftmost

Rightmost

Leftmost

Rightmost

Leftmost

Rightmost

Leftmost

Rightmost

S

S+1

D

8

11

12

15

0

3

4

7

D

8

11

12

15

0

3

4

7

S

S+1

S+2

F

8

11

12

15

0

3

4

7

8

8

15

0

15

0

7

7

8

15

0

7

S

S+1

This manual is related to the following products: