A-25
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A
-1 In
struction
Fu
nctio
n
s
App
A-1-10 Con
v
ersion Instr
uction
s
DATA
DECODER
MLPX
@
Reads the numerical value in the specified digit (or byte) in the
source word, turns ON the corresponding bit in the result word (or
16-word range), and turns OFF all other bits in the result word (or
16-word range).
C: Control Word
•
4-to-16 bit decoder
•
8
-to-256 bit conversion
Instruction
Mnemonic
Variations
Symbol/Operand
Function
MLPX(076)
S
C
R
S
: Source word
C
: Control word
R
: 1st result word
R+1
R+14
R+15
R+16
R+17
R+30
R+31
R
R+1
C
C
Two 16-word ranges
are used when
l
specifies 2 bytes.
8
-to-256 bit decoding
(Bit m of R to R+15 is turned ON.)
n=1 (Start with first byte.)
8
-to-256 bit conversion
l
=1 (Convert 2 bytes.)
n=2 (Start with second digit.)
4-to-16 bit decoding
(Bit m of R is turned ON.)
l
=1 (Convert 2 digits.)
4-to-16 bit conversion
C
0
8
11
12
15
l
n
0
3
4
7
Conversion process
0: 4-to-16 bits (digit to word)
Always 0.
Number of digits/bytes to be converted
0 to 3 (1 to 4 digits)
Specifies the first digit/byte
to be converted
0 to 3 (digit 0 to 3)
C
1
8
11
12
15
l
n
0
3
4
7
Conversion process
1:
8
-to-256 bits (byte to 16-word range)
Always 0.
Number of digits/bytes to be converted
0 or 1 (1 or 2 bytes)
Specifies the first digit/byte
to be converted
0 or 1 (byte 0 or 1)
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......