Lshift - Omron SCARA YRCX Series Programming Manual

Robot controller
Hide thumbs Also See for SCARA YRCX Series:
Table of Contents

Advertisement

57

LSHIFT

Left-shifts a bit
Format
LSHIFT (expression 1, expression 2)
Explanation
SAMPLE
A=LSHIFT(&B10111011,2) ·········· The 2-bit-left-shifted &B10111011 value
Related commands
Shifts the <expression 1> bit value to the left by the amount of <expression 2>.
Spaces left blank by the shift are filled with zeros (0).
RSHIFT
(&B11101100) is assigned to A.
8
A
B
C
D
E
F
G
H
J
K
L
M

LSHIFT

8-91
I

Advertisement

Table of Contents
loading

Table of Contents