
11.92 9 STEP 5 Operation Set with Programming Examples
9.3.1 Logic operations, binary
9.3.1 Logic operations, binary
Operation Description
A = AND function to test a formal operand for logic 1
AN= AND function to test a formal operand for logic 0
O = OR function to test a formal operand for logic 1
ON= OR function to test a formal operand for logic 0
Insert formal operand
The actual operands allowed are binary addressed inputs,
outputs and flags (parameters: I, O; parameter type DI) as
well as timers and counters (parameters T, C).
Example:
: A = ON
: AN = STOP
: AN = END
: O = AMNT
:= = RUN
9.3.2 Setting operations
Operation Description
S= Set (binary) a formal operand
RB= Reset (binary) a formal operand
== Assign the result of the logic operation to a formal
operand
Insert formal operand
The actual operands allowed are binary addressed inputs,
outputs and flags (parameters: I, Q; parameter type DI).
Example:
: A = I0.7
: RB = MSP
: A = TIME
: S = MSP
TIME
MSP
R
S
I0.7
© Siemens AG 1992 All Rights Reserved 6FC5197- AA80 9–29
SINUMERIK 840C/880 (PJ)
Commenti su questo manuale