
svshow (Customer) asked a question.
Hi.
Is it normal behavior of RANGECHECK command when "Out of range" bit stays active after you "remove power" from this command? I could not find explanation of this in "help"

svshow (Customer) asked a question.
Hi.
Is it normal behavior of RANGECHECK command when "Out of range" bit stays active after you "remove power" from this command? I could not find explanation of this in "help"
Yes. The Enable leg being OFF means "do not perform the RANGECHECK". Hence, it neither turns OutOfRange bit ON, nor turns it OFF. It keeps it the same value if the enable leg is OFF.
FYI, as a general rule, if a box input leg is NOT labeled, it basically is a simple "execute this instruction if there is power flow into this box, otherwise do NOT execute this instruction".
However, if it has a triangle inside the box input leg (edge triggered behavior, i.e. OFF->ON means something), or labeled like "E/R" (Enable/Reset), then there IS some kind of behavior when power flow into that leg is not a simple "enable when ON" behavior. For example, when PF to an "E/R" labeled leg is ON, the box is ENABLED, when PF is OFF, the box RESETs - the box IS doing something when input leg is OFF.
Just float your cursor over the input leg label to see more detail on what that input leg means. If there's no label, no triangle, it's a simple ENABLE input leg.
Here's a complete list of possible input leg labels and how they behave with and without power:
Instruction Leg Labels (hosteng.com)
Copyright © 1999-2023 AutomationDirect. ALL RIGHTS RESERVED
Yes. The Enable leg being OFF means "do not perform the RANGECHECK". Hence, it neither turns OutOfRange bit ON, nor turns it OFF. It keeps it the same value if the enable leg is OFF.