Siemens PLC - Timer Preset Value

woodward_uk

Lifetime Supporting Member
Join Date
Mar 2006
Location
Hinckley, Leicester
Posts
42
Hi there

I'm guessing this is a straightforward one but after much experimenting I've been unable to find an answer.

The software is TIA V16.

I'm trying to write different values into a Timer preset. I've converted the required value from DINT to TIME and the correct value is shown on the RHS of the conversion. However the actual timer still shows T#10MS which is the intial value I entered when I created it.

Screenshot is attached. Advice would be much appreciated.

Thanks

Siemens Timer Pre.jpg
 
I think the constant T#10ms feeding the PT input of the AVO1A_FTO_TMR TON is overwriting the AVO1A_FTO_TMR.PT value each time that TON runs.

Create a tag named AVO1A_FTO_PRE, of data type TIME.

Have AVO1A_FTO_PRE be the OUT output of that top T_CONV instruction.

Have AVO1A_FTO_PRE be the PT input of the AVO1A_FTO_TMR TON insruction.
 
Last edited:
When doing so I use an intermediate variable and use that to set the PT, it works fine that way, but I think your way also works, the T#10MS is the value that you typed, so it wont change when you are online.
 

Similar Topics

Hi! i'm just wondering did there is any chance to change Set Time(TV) on Siemens plc timer without step 7 using c# or python if timer not set in...
Replies
1
Views
1,218
Dear Sir, can you explain that how can we implement the timer s5t Timer time base changes in plc working program. as i have changed the timer...
Replies
8
Views
2,452
Hello everyone, I am newer on Siemens PLC 1200. From HMI, I set timer value and place in MW20(120) like 120 second How to input MW20 to timer PV...
Replies
17
Views
3,531
how to make a timer TOF with S7 200 CPU 214 this S7 200 does not have a timer TOF, it y' has only TON and TONR thank you
Replies
4
Views
14,741
L
Anyone know how to write a looping 1 minute timer routine? where it counts to one minute and reset and counts to 1 minutes over and over again? TIA!
Replies
11
Views
17,880
Back
Top Bottom