square wave

A 'square wave' is a digital output with equal ON and OFF times. Set up a a self re-triggering timer. Set the preset to the total ON plus OFF time. Turn the output on when the accumulated value is less than half of the total time.
 
I'll assume (gosh, I hate that word) that you might be asking about an analog square wave ... if so, the attached screen shot might be helpful ...

.

square_wave.jpg
 
Last edited:
Wow thanks everybody for the helpfull tips.
I'll be a bit more clear on what I have to do:
I have to generate a square wave to modulate the pH of a system. The pH must varie from 7.4 to 8, and the periode is 6hrs. I would like to generate a square wave in a Function Bloc Diagram by only using Elements (no LADDER). So is there a block that would generate a TRUE(for 3hrs) or FALSE(for 3hrs) automatically (because it has to run for a week, so I can't turn it on or off manually)...?
 
A 'square wave' is a digital output with equal ON and OFF times. Set up a a self re-triggering timer. Set the preset to the total ON plus OFF time. Turn the output on when the accumulated value is less than half of the total time.

So it's like you said sir. Except that I need to find a way to set the output on and off automatically...
 
Wow thanks everybody for the helpfull tips.
I'll be a bit more clear on what I have to do:
I have to generate a square wave to modulate the pH of a system. The pH must varie from 7.4 to 8, and the periode is 6hrs. I would like to generate a square wave in a Function Bloc Diagram by only using Elements (no LADDER). So is there a block that would generate a TRUE(for 3hrs) or FALSE(for 3hrs) automatically (because it has to run for a week, so I can't turn it on or off manually)...?


Wait now, Is really the square wave your biggest problem here? What makes the pH change?
 
Look at using the TONR instruction to trigger a flip flop every three hours.

Something like this:

a060611-1.JPG
 
Last edited:

Similar Topics

G'day Can anyone explain what the reasons for having Square Wave Generators in a PLC code? Cheers
Replies
11
Views
3,053
Hello Forum, I have a machine being commissioned that takes a flat sheet of metal and forms it into a series of convolutions. Each convolution...
Replies
7
Views
5,615
I have an existing machine with an IFM RN6057 encoder (dat sheet attached) fitted. This encoder has 2 outputs: - SSI singleturn - Incremental...
Replies
2
Views
3,691
I have some A/B ML1500's and SLC5/05's that need backup power. I bought a UPS but a sticker on it says its output is essentially a square wave...
Replies
0
Views
3,157
This is a very stupid question, but leave it too me to ask it. I was wondering why is it IMPEDANCE of a inductor is 2PI(FL) for a square wave...
Replies
12
Views
7,414
Back
Top Bottom