SIG_GEN

Generates various signal: blink on a boolean, an integer counter-up, and real sine wave.
lrsb_sig1_aadvance
Arguments
RUN
BOOL
Mode: TRUE=running / FALSE=reset to false
PERIOD
TIME
Duration of one sample. Possible values range from 0ms to 1193h2m47s294ms.
MAXIMUM
DINT
Maximum counting value
PULSE
BOOL
Inverted after each sample
UP
DINT
Up-counter, increased on each sample
END
BOOL
TRUE when up-counting ends
SINE
REAL
Sine signal (period = counting duration)
When counting reaches maximum value, it restarts from 0 (zero). So END keeps the TRUE value only during 1 PERIOD.
Timing diagram
lrsb_sig2_aadvance
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal