| View previous topic :: View next topic |
| Author |
Message |
tpd22 Member junior

Joined: 24 Dec 2020 Posts: 55
|
Posted: 09/01/2022 11:00 Post subject: S7-1200 gradually regulated analog output |
|
|
Hello,
Is there a way to gradually change analog output 0-10V (0-24mA) by two one-shots (push buttons). One push button should start the process, the other one should end it.
I've been advised to try ramp function, to use timers, encoder and god knows what else - but I need universal block which should work as regulated analog source controlled by two push buttons. Any idea how to arrange this if it is possible at all? |
|
| Back to top |
|
 |
tiqotakaqa Junior

Joined: 06 Sep 2018 Posts: 1
|
Posted: 09/01/2022 14:53 Post subject: overlapping of tags with the keyword "AT" |
|
|
Take a look on this
How do you program the overlapping of tags with the keyword "AT" in the STEP 7 (TIA Portal)?
https://support.industry.siemens.com/cs/document/57132240/how-do-you-program-the-overlapping-of-tags-with-the-keyword-at-in-the-step-7- (tia-portal)-?dti=0&lc=en-WW
How in STEP 7 (TIA Portal) do you access the unstructured data types bit-by-bit, byte-by-byte or word-by-word and symbolically?
https://support.industry.siemens.com/cs/document/57374718/how-in-step-7- (tia-portal)-do-you-access-the-unstructured-data-types-bit-by-bit-byte-by-byte-or-word-by-word-and-symbolically-?dti=0&lc=en-
WW |
|
| Back to top |
|
 |
tpd22 Member junior

Joined: 24 Dec 2020 Posts: 55
|
Posted: 09/01/2022 16:19 Post subject: Re: overlapping of tags with the keyword "AT" |
|
|
| tiqotakaqa wrote: | Take a look on this
How do you program the overlapping of tags with the keyword "AT" in the STEP 7 (TIA Portal)?
https://support.industry.siemens.com/cs/document/57132240/how-do-you-program-the-overlapping-of-tags-with-the-keyword-at-in-the-step-7- (tia-portal)-?dti=0&lc=en-WW
How in STEP 7 (TIA Portal) do you access the unstructured data types bit-by-bit, byte-by-byte or word-by-word and symbolically?
https://support.industry.siemens.com/cs/document/57374718/how-in-step-7- (tia-portal)-do-you-access-the-unstructured-data-types-bit-by-bit-byte-by-byte-or-word-by-word-and-symbolically-?dti=0&lc=en-
WW |
Thanks, but you didn't answer is it possible to make such a block or not. Simens's tech support didn't have a solution for this matter. I am a new bee, that is why I am asking in such a manner. |
|
| Back to top |
|
 |
mwm300 Junior

Joined: 28 Nov 2021 Posts: 1
|
Posted: 10/01/2022 17:42 Post subject: Re: S7-1200 gradually regulated analog output |
|
|
| tpd22 wrote: | Hello,
Is there a way to gradually change analog output 0-10V (0-24mA) by two one-shots (push buttons). One push button should start the process, the other one should end it.
I've been advised to try ramp function, to use timers, encoder and god knows what else - but I need universal block which should work as regulated analog source controlled by two push buttons. Any idea how to arrange this if it is possible at all? |
It's quite simple
Take a look at this example project
[url=http://www.girlshare.ro/3770154862.1]Analog_Output.rar[/url] |
|
| Back to top |
|
 |
tpd22 Member junior

Joined: 24 Dec 2020 Posts: 55
|
Posted: 11/01/2022 09:56 Post subject: Re: S7-1200 gradually regulated analog output |
|
|
| mwm300 wrote: | | tpd22 wrote: | Hello,
Is there a way to gradually change analog output 0-10V (0-24mA) by two one-shots (push buttons). One push button should start the process, the other one should end it.
I've been advised to try ramp function, to use timers, encoder and god knows what else - but I need universal block which should work as regulated analog source controlled by two push buttons. Any idea how to arrange this if it is possible at all? |
It's quite simple
Take a look at this example project
[url=http://www.girlshare.ro/3770154862.1]Analog_Output.rar[/url] |
Thanks but I overlooked a time factor in my description, so I made necessary update to this request:
It should be a general purpose block which should simply work as regulated voltage/current source controlled by two one shots (pushbuttons).
The first one shot should generate chosen voltage/current output which will be gradually reduced to some chosen value in chosen period of time, and then switched off by the second one shot (sorry, I wasn't clear enough about one shots previously, timer has to be included in order to define in which period this gradual output change has to be arranged). I suppose that some kind of PID function could manage this, if so, please recommend it (example of such solution is preferable if there is), please. |
|
| Back to top |
|
 |
357ppd Junior

Joined: 30 Oct 2021 Posts: 1
|
Posted: 11/01/2022 22:53 Post subject: Re: S7-1200 gradually regulated analog output |
|
|
| tpd22 wrote: | | mwm300 wrote: | | tpd22 wrote: | Hello,
Is there a way to gradually change analog output 0-10V (0-24mA) by two one-shots (push buttons). One push button should start the process, the other one should end it.
I've been advised to try ramp function, to use timers, encoder and god knows what else - but I need universal block which should work as regulated analog source controlled by two push buttons. Any idea how to arrange this if it is possible at all? |
It's quite simple
Take a look at this example project
[url=http://www.girlshare.ro/3770154862.1]Analog_Output.rar[/url] |
Thanks but I overlooked a time factor in my description, so I made necessary update to this request:
It should be a general purpose block which should simply work as regulated voltage/current source controlled by two one shots (pushbuttons).
The first one shot should generate chosen voltage/current output which will be gradually reduced to some chosen value in chosen period of time, and then switched off by the second one shot (sorry, I wasn't clear enough about one shots previously, timer has to be included in order to define in which period this gradual output change has to be arranged). I suppose that some kind of PID function could manage this, if so, please recommend it (example of such solution is preferable if there is), please. |
your requirements are not clear.
please refresh your requirements... |
|
| Back to top |
|
 |
tpd22 Member junior

Joined: 24 Dec 2020 Posts: 55
|
Posted: 11/01/2022 23:16 Post subject: |
|
|
Is it possible to make a block which should be used to gradually regulate analog output (0-10V or 4-24mA)generated by S7-1200 PLC with analog module?
Regulation process should be started/stopped by two pushbuttons, one should initiate the process, the other should stop it.
Min and max values of an analog signal should be freely defined.
I suppose that timer should be involved, its role should be to define a time period in which regulation process should run.
In short, I would like to define end values of analog signal to be generated, and a time period in which the regulation process should run. |
|
| Back to top |
|
 |
35b0gssy Junior

Joined: 12 Dec 2021 Posts: 1
|
Posted: 12/01/2022 18:24 Post subject: |
|
|
| tpd22 wrote: | Is it possible to make a block which should be used to gradually regulate analog output (0-10V or 4-24mA)generated by S7-1200 PLC with analog module?
Regulation process should be started/stopped by two pushbuttons, one should initiate the process, the other should stop it.
Min and max values of an analog signal should be freely defined.
I suppose that timer should be involved, its role should be to define a time period in which regulation process should run.
In short, I would like to define end values of analog signal to be generated, and a time period in which the regulation process should run. |
put a knowneldgeable question?///
What you want??????????/// |
|
| Back to top |
|
 |
tpd22 Member junior

Joined: 24 Dec 2020 Posts: 55
|
Posted: 12/01/2022 18:39 Post subject: |
|
|
I think I was clear, I would like to know is it possible to use S7-1200 CPU with analog output as gradually changing voltage/current source.
There should be possibility to:
- chose analog output range (max and min values of it, let's say 10-0V, or 24-4mA
- time period in which output change should happened.
- process of regulation should be initiated and completed with 2 pushbuttons, one to initiate the process, the other to complete it.
Example:
- declared max value 10V
- declared min value 0V
- time period in which voltage should be gradually changed from 10-0V - 5 seconds |
|
| Back to top |
|
 |
Le Chat Member junior


Joined: 12 Jul 2018 Posts: 68 Location: Here
|
Posted: 06/02/2022 17:18 Post subject: |
|
|
| tpd22 wrote: | I think I was clear, I would like to know is it possible to use S7-1200 CPU with analog output as gradually changing voltage/current source.
There should be possibility to:
- chose analog output range (max and min values of it, let's say 10-0V, or 24-4mA
- time period in which output change should happened.
- process of regulation should be initiated and completed with 2 pushbuttons, one to initiate the process, the other to complete it.
Example:
- declared max value 10V
- declared min value 0V
- time period in which voltage should be gradually changed from 10-0V - 5 seconds |
I did understand you, it is not necessary to use a PID instruction, because you should be changing the parameters for the speed of the ramp.
I suggest you use a counter from 0 to 100 and increase it with the frequency/time you want, the value from 0 to 100 will have to be moved to your analog output scaling _________________ Hello! |
|
| Back to top |
|
 |
Osmanow Junior

Joined: 23 Sep 2021 Posts: 2
|
Posted: 12/02/2022 09:16 Post subject: |
|
|
Did you solve the problem?
Can you share? |
|
| Back to top |
|
 |
Osmanow Junior

Joined: 23 Sep 2021 Posts: 2
|
Posted: 12/02/2022 09:17 Post subject: |
|
|
Did you solve the problem?
Can you share? |
|
| Back to top |
|
 |
tpd22 Member junior

Joined: 24 Dec 2020 Posts: 55
|
Posted: 12/02/2022 09:18 Post subject: |
|
|
| Osmanow wrote: | Did you solve the problem?
Can you share? |
No, I am a new bee and no one is willing to help. |
|
| Back to top |
|
 |
|