January 2012 8.15 Command Set 1675
8.15.15 RESET (R)
Syntax: R (RESET)
Operands: M, I, O, T, C
Action:
If the logic accumulator = 1, then set the addressed operand to 0, otherwise
do not change it. Use the R command at the end of a sequence of logical
gating operations in order to influence an operand, depending on the result of
gating. This command can be used several times in succession (see example).
Example:
Gate input I4 and I5 with OR. If the gating result is 1, then reset output O2 and
marker M500.
Initial state:
Input I4 = 1
Input I5 = 0
Output O2 = ?
Marker M500 = ?
Function STL Accumulator
content
Operand content
Load the operand content
into the logic
accumulator.
L I4 1 1
Gate the content of the
logic accumulator and
input I5 with OR.
O I5 1 0
Since the result of the
operation is 1, reset
output O2.
R O2 1 0
Since the result of the
operation is 1, reset
marker M500.
R M500 1 0