EasyManua.ls Logo

Parker HPD2N

Parker HPD2N
125 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parker Hannifin S.p.A. - S.B.C. Division HPD N User’s Manual
60
PLC INSTRUCTIONS
LD Pa.
y
load bit y of parameter Pa in the stac
k
LDN Pa,y load inverted bit y of parameter Pa in the stack
OUT Pa,y set bit y of parameter Pa to the value loaded in the stack
OUTN Pa,y set bit y of parameter Pa to the stack value and invert it
SET Pa,y if stack is at 1, set bit y of parameter Pa to 1
RES Pa,y if stack is at 1, set bit y of parameter Pa to zero
AND Pa,y the bit loaded into the stack assumes the result of the
logical AND operation between itself and bit y of
parameter Pa
ANDN Pa,y the stack bit assumes the result of the logical AND between
itself and inverted bit y of parameter Pa
OR Pa,y the bit loaded into the stack assumes the result of the OR
between itself and bit y of parameter Pa
ORN Pa,y the stack bit assumes the result of the OR between itself
and inverted bit y of parameter Pa
ADD Pa, Pb, Pc if stack bit is at 1, parameter sum operation is executed,
therefore: Pc = Pa + Pb
SUB Pa, Pb, Pc if stack bit is at 1, subtraction operation is executed on
parameters, therefore: Pc = Pa - Pb
MUL Pa, Pb, Pc if stack bit is at 1, multiplication operation is executed on
parameters, therefore: Pc = Pa Pb
DIV Pa, Pb, Pc if stack bit is at 1, division operation is executed on the
parameters, therefore: Pc = Pa / Pb
END program end
FIN y, 0/1 fast scanning input
P
a.
y
Pa.y
ADD
Pa Pb Pc
Pa.y
Pa.y
SET
Pa.y
END
Pa.y
Pa.y
SUB
Pa Pb Pc
RST
Pa.y
Pa.y
Pa.y
MUL
Pa Pb Pc
DIV
Pa Pb Pc
FIN
Pa.y

Table of Contents

Related product manuals