Data Encoder: Dmpx(077) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Conversion Instructions
000000
MLPX
S
0100
K
#1011
D
D00100

3-12-9 DATA ENCODER: DMPX(077)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
15
12 11
8
C: #
1
0
Byte 1
S: 0100
2
D
15 14 13 12 11
10
9
8
D: D00100
D00101
1
D00102
D00103
D00115
D00116
1
D00117
D00118
D00131
FInds the location of the first or last ON bit within the source word (or 16-word
range), and writes that value to the specified digit (or byte) in the result word.
DMPX(077)
S: First source word
S
R: Result word
R
C: Control word
C
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
S: First Source Word
There can be anywhere from 1 to 32 source words, depending upon the type
of conversion process and number of digits/bytes being converted. The
source words must be in the same data area.
7
4
3
0
Bits 0 to 3: Starting byte (Byte 1)
1
1
Bits 4 to 7: Number of bytes (2 bytes)
Byte 0
1
A
7
6
5
4
3
2
1
0
Byte 1 contains 2D, so bit 13 (D)
of R+2 is turned ON.
Byte 0 contains 1A, so bit 10 (A)
of R+1 is turned ON.
Step program areas
Subroutines
OK
Section 3-12
DMPX(077)
@DMPX(077)
Not supported
Interrupt tasks
OK
501

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Table of Contents