A SERVICE OF

logo

8. Function Commands
SFL, SFLP
- 270 -
{ SFL, SFLP ... Left shift of 16-bit data
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
D
{ { { { { {
{
{ { { { { { { {
n
{ { { { { {
{
{ { { { { { { { { {
{ {
3
SFL
Shift command
n
D
SFL
SFLP
SFLP nD
Setting data
n
D
No. of device where
shift data is stored.
No. of shifts
Function
(1) The 16-bit data of the device designated with D is shifted n bits to the left.
(2) n bits from the lowest order are set to 0.
00
Carry flag
SM12
Before execution
After execution
n bits
n bits
16 bits
0 is entered
(3) The T, C shift will be a current value (attribute value or count value) shift. (Shifting with the setting
value is not possible.)