8 word-to-word compression instruction (bpress), Outline, Format parameter – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 120

1 Ladder Program Instructions
1.6.8 WORD-TO-WORD COMPRESSION Instruction (BPRESS)
1-110
1.6.8 WORD-TO-WORD COMPRESSION Instruction (BPRESS)
Outline
The BPRESS instruction stores the lower-place bytes of the word sequence stored in the
transfer source registers (Source) in the byte sequence of the transfer destination registers
(Dest). The higher-place bytes of the transfer source registers are ignored. This function is
the reverse of that of the BEXTD instruction.
• In the case of BPRESS VWxxxxx to VWyyyyy B
= N
Format
Parameter
Parameter Name
Setting
Source
• Any integer type register
• Any integer type register with subscript
Dest
• Any integer type register (except for # and C registers)
• Any integer type register with subscript (except for # and C reg-
isters)
Byte Width
• Any integer type register
• Any integer type register with subscript
• Constant
V W x x x x x
When the number of transfered bytes
is an odd number, "0" is set.
V
= S, I, O, M, D
Dest
Source
Number of
transfers
(Number of bytes)
a (Lower byte)
b (Upper byte)
c
d
e
00
a (Lower byte)
xxH (Upper byte)
b
x x H
c
x x H
d
x x H
e
x x H
V W y y y y y
V W y y y y y + 2
V W y y y y y + 1
V W x x x x x + 1
V W x x x x x + 2
V W x x x x x + 3
V W x x x x x + 4
Symbol: BPRESS
Full Name: Compress Word to Byte
Category: MOVE
Icon: