Panasonic FP Series Programming Manual page 564

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

POU header
In the POU header, all input and output variables are declared that are used for programming this
function.
Body
When the variable start changes from FALSE to TRUE, the function is carried out. It shifts out 4
bits (corresponds to one position in a hexadecimal representation) to the right. The 4 bits in data
resulting from the shift are filled with zeros. At input n the constant 4 is assigned directly to the
function. You may, however, declare an input variable in the POU header instead.
LD
ST
When programming with structured text, enter the following:
IF
DF(start)
F102_DSHR( n:=
d=> data);
END_IF;
THEN
4
,
Bit-shift instructions
563

Advertisement

Table of Contents
loading

Table of Contents