Parker TPDM User Manual page 124

Table of Contents

Advertisement

Parker Hannifin Manufacturing Srl
PLC INSTRUCTIONS
Pa.y
LD
Pa.y
Pa.y
LDN
Pa,y
Pa.y
OUT
Pa,y
Pa.y
OUTN Pa,y
Pa.y
SET
Pa,y
SET
Pa.y
RES
Pa,y
RST
Pa.y
AND
Pa,y
Pa.y
ANDN Pa,y
Pa.y
OR
Pa,y
Pa.y
ORN
Pa,y
Pa Pb Pc
ADD
Pa, Pb, Pc if the bit on the stack = 1, the addition operation is executed on
ADD
Pa Pb Pc
SUB
Pa, Pb, Pc if the bit on the stack = 1, the subtraction operation is executed
SUB
Pa Pb Pc
MUL
Pa, Pb, Pc if the bit on the stack = 1, the multiplication operation is executed
MUL
Pa Pb Pc
DIV
Pa, Pb, Pc if the bit on the stack = 1, the division operation is executed on
DIV
END
END
Pa.y
FIN
y, 0/1
FIN
loads the y bit of the Pa parameter on the stack
loads the negated y bit of the Pa parameter on the stack
sets the y bit of the Pa parameter to the value loaded on the stack
places the y bit of the Pa parameter to the value of stack negating
it
if the stack = 1, the y bit of the Pa parameter is set to 1
if the stack = 1, the y bit of the Pa parameter is set to 0
the bit loaded on the stack contains the result of the logical AND
operation between itself and the y bit of the Pa parameter
the bit of the stack contains the result of the logical AND
operation between itself and the y bit of the negated Pa parameter
the bit loaded on the stack contains the result of the logical OR
operation between itself and the y bit of the Pa parameter
the bit on the stack contains the result of the logical OR operation
between itself and the y bit of the negated Pa parameter
the parameters in which: Pc = Pa + Pb
on the parameters in which: Pc = Pa – Pb
on the parameters in which: Pc = Pa ⋅ Pb
the parameters in which: Pc = Pa / Pb
end of program
input with fast scanning
user's manual TPDM
123

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents