Omron SYSMAC C20K Operation Manual page 130

K-type programmable controllers
Hide thumbs Also See for SYSMAC C20K:
Table of Contents

Advertisement

Data Conversion
Flags
Example
0000
IR 010
1000
:
1011
1
1012
0
:
:
1015
0
DM 10
DM1000
:
DM1001 1
DM1002 0
:
:
DM1015 0
Some example Di values and the word-to-digit conversions that they produce
are shown below.
Di : 0011
S
S + 1
Di : 0013
S
S + 1
ER:
Undefined digit designator, or S plus number of digits exceeds a data
area.
Content of a source word is 0000.
When 0000 is ON, the following diagram encodes IR words 10 and 11 to the
first two digits of HR 2 and then encodes DM 10 and 11 to the last two digits
of HR 2. Although the status of each source word bit is not shown, it is as-
sumed that the bit with status 1 (ON) shown is the highest bit that is ON in
the word.
IR 011
1100
:
1109
1
1110
0
:
:
1115
0
DM 11
DM1100
:
DM1108 1
DM1109 0
:
:
DM1115 0
R
0
S
1
S + 1
2
S + 2
3
S + 3
R
S
0
S + 1
1
S + 2
2
S + 3
3
Address Instruction
DMPX(77)
0000
LD
10
0001
DMPX(77)
HR 2
#0010
DMPX(77)
0002
DMPX(77)
DM10
HR 2
#0012
HR
2
B
Digit 0
9
Digit 1
1
Digit 2
8
Digit 3
Section 5-15
Di : 0030
R
0
1
2
3
Di : 0032
R
0
1
2
3
Operands
0000
10
HR
2
#
0010
DM
10
HR
2
#
0012
119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c40kSysmac c60kSysmac c28k

Table of Contents