Oscillator
Contents

1.Description

This module generates periodic rectangular signals. With a rising edge a 1 is sent on Output 1, and with a falling edge a zero.

2.Inputs

No.NameInitialisationDescription
1E1 PW (sec.)0
Pulse width in seconds - specifies the pulse width in seconds.
2E2 Cycle (sec.)0
Cycle in seconds - specifies the cycle time in seconds.
3E3 On/Off0
Switch on/off - activates or deactivates the oscillator. A value not equal to zero switches the oscillator on. A value equal to zero switches the oscillator off.

3.Outputs

No.NameInitialisationSBCDescription
1A1 (sbc)0s
Sends a 1 at the start of a cycle. After the pulse width expires, a zero is sent. A 1-bit value is output. When the oscillator is deactivated, no new value is sent.
2A2 falling (sbc)0s
Sends a zero at the start of a cycle. Sends a 1 after the end of the pulse width. A 1-bit value is output.
3A3 (sbc)0s
Like Output 1, but with the difference that a zero is sent when the oscillator is deactivated. A 1-bit value is output.
s = send, sbc = send by change

4.Value table as an example

Point in time in secondsPulse width (PW)CycleOutput 1 sendsOutput 2 sends
Start4101-
441001
1041010
1441001
2041010

5.Other

Recalculation during start:Yes
Module is retentive:No
Internal designation:9029
Category:Additional modules

6.Similar functions

Retentive memory
Telegram generator
Watchdog
Fault message
Edge detector
Staircase lighting function
RS-Flipflop