SHL
Return to Introduction  Previous page  Next page

 

IEC / CEI 1131-3 Compliant

 

shl

 

This function perform a logical left shift of the value applied to the input IN and the resulting word is available on the OUT pin. The number of shifts is specified by the value applied to the pin N. The most significant bit of the word is filled with zero.

 

Net plugs

 

Plug

Description



IN

The word to be shifted

 

 

N

The number of shifting to be performed

 

 

OUT

The resulting word

 

See also : ROL, ROR, SHR