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 mnemonic | American mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|---|
| Variable | Variable | Variable (bit) | BOOL | Input | Yes | BOOL variable read: input, output, internal bit or instance bit (T1.Q, C1.DN…). |
| Mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|
| Variable | Variable (bit) | BOOL | Input | Yes | BOOL variable read: input, output, internal bit or instance bit (T1.Q, C1.DN…). |
| Mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|
| Variable | Variable (bit) | BOOL | Input | Yes | BOOL variable read: input, output, internal bit or instance bit (T1.Q, C1.DN…). |
Timing diagram
Timing diagram checked against the simulator (the same engine as the editor).
Example
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
- Previous-scan memory starts at 0: never a pulse on the first scan.
- The pulse lasts exactly one scan.
European (IEC) and American styles
European: N contact.
American: OSF (one-shot falling), shown here as a ↓ contact.