buhnen
Member
Hi mates!
I've got a very easy question here for you....
I need two clock pulse signals as the following scheme shows:
|----|----|----|
every vertical line means a clock each 2 minutes
---|----|----|---
for the second signal, I need the pulse goes true each minute,
I know how to generate the fist pulse with the DTR instruction and the system Clock ( GSV instruction) but I have some difficulties when setting ,as showed above, the pulse pattern for the second signal.
What I get is this, and that's not useful:
|----|----|----|
|----|----|----|
What I want, in the end, is to have two bits going true as I said first , for sampling an analogic input ( A level transmitter)so that I can compare the current read value with the one just inmediately before.
May someone help me please?
I've got a very easy question here for you....
I need two clock pulse signals as the following scheme shows:
|----|----|----|
every vertical line means a clock each 2 minutes
---|----|----|---
for the second signal, I need the pulse goes true each minute,
I know how to generate the fist pulse with the DTR instruction and the system Clock ( GSV instruction) but I have some difficulties when setting ,as showed above, the pulse pattern for the second signal.
What I get is this, and that's not useful:
|----|----|----|
|----|----|----|
What I want, in the end, is to have two bits going true as I said first , for sampling an analogic input ( A level transmitter)so that I can compare the current read value with the one just inmediately before.
May someone help me please?