NEUOSFUSNOSF Falling edge contact

Also called: negative transition contact, N contact, OSF (One Shot Falling), one-shot falling, falling edge detection

Passes power for one scan when the variable goes from 1 to 0.

What it does

The N / OSF contact detects a falling edge: it passes power for a single scan, when its variable goes from 1 to 0.The N contact detects a falling edge: it passes power for a single scan, when its variable goes from 1 to 0.The OSF contact detects a falling edge: it passes power for a single scan, when its variable goes from 1 to 0.

When to use it

To react to a button release or to a signal going away (a part leaving a sensor).

Operands

European mnemonicAmerican mnemonicNameData typeDirectionRequiredMeaning
VariableVariableVariable (bit)BOOLInputYesBOOL variable read: input, output, internal bit or instance bit (T1.Q, C1.DN…).
MnemonicNameData typeDirectionRequiredMeaning
VariableVariable (bit)BOOLInputYesBOOL variable read: input, output, internal bit or instance bit (T1.Q, C1.DN…).
MnemonicNameData typeDirectionRequiredMeaning
VariableVariable (bit)BOOLInputYesBOOL variable read: input, output, internal bit or instance bit (T1.Q, C1.DN…).

Timing diagram

S1Power0123456789101112scans

Timing diagram checked against the simulator (the same engine as the editor).

Example

European style
American style

H1 turns on (and stays on) when S1 is released.

Try it in the simulatorThe example opens in the free simulator; your own program stays as it was.

Behaviour in detail

European (IEC) and American styles

European: N contact.

American: OSF (one-shot falling), shown here as a ↓ contact.

See also