Oscillator
Help / Logic / Oscillator / Inputs / Outputs / Time chart / Value table / End of text
Function
This modules generates periodic square-wave signals. With a rising edge, a 1 is sent to Output 1 and with a falling edge a zero is sent to Output 2.
Example
A flashing light can hereby be implemented. Output 1 or Output 2 switches the flashing light. A value table (see below) provides an example for both outputs.
Inputs
Pulse width in seconds 0 Indicates the pulse width in seconds (see time chart).
Cycle in seconds 0 Determines the cycle time in seconds (see time chart).
Switching ON/OFF 0 Activates or deactivates the oscillator
A value not equal to zero switches the oscillator on
A value equal to zero switches the oscillator off.
Outputs
Output 1
(send by change)
0 Sends a 1 on the start of a cycle. After the pulse width has expired, a 0 is sent.
A 1-bit value is sent.
Output 2 (negates)
(send by change)
0 Sends a 1 on the start of a cycle.
After the pulse width has expired, a 1 is sent.
A 1-bit value is sent.
Commands
HS Commands (Output 1) - The commands assigned here are run when the value of output telegram at output 1 is not equal to zero.
HS Commands (Output 2) - The commands assigned here are run when the value of output telegram at output 2 is not equal to zero.
Other
Telegram interval - Can be changed.
Recalculated on start Yes  
Module is retentive No  
Internal designation: 9029
Time chart

PW = pulse width / t = time axis
Value table provided as an example
Point of time in seconds Pulse width (PW) Cycle Output 1
sends
Output 2
sends
Start 4 10 1 -
4 4 10 0 1
10 4 10 1 0
14 4 10 0 1
20 4 10 1 0
Set pulse width: 4 seconds
Set cycle time: 10 seconds
Similar functions
Determine pulse width
Oscillator from pulse width in seconds
Telegram generator
Random number generator

Help / Logic / Oscillator / Inputs / Outputs / Time chart / Value table / Beginning of text