TIA: IEC timers preset values from HMI

DairyBoy

Member
Join Date
Jun 2007
Location
UK
Posts
393
I've tried to add an "s" after the tag for the PT value of an IEC timer but it's rejected, even if the tag type is "time". As the timebase is ms by default, is the only way to scale an HMI input [in seconds] to pass the tag value from the HMI via a x1000 instruction before sending it to the timer's PT? Thanks.
 
for the HMI TAG check out linear scaling. enter the PLC side of the ration with 3 more 0

So for example 9999 v 9999000
 
Time variable is actually Dint, ms and s are only added to online view for better understanding.


Timebase is ms, so 1000x on HMI scaling or on PLC prgram before time PT-input.
 
As said, it's a DINT, so either have the HMI in ms, scale at the tag or make your own real to time FC inc multiplier and place before the timer so you can enter h,m,s from the HMI.
 
Last edited:

Similar Topics

I recently discovered that when downloading an online edit [S7-1500] that requires the initialization of the modified FB's iDB, an IEC timer whose...
Replies
36
Views
11,847
Hello gentlemen, Im working on a small project on TIA Portal, about establishing a Modbus TCP connection between my ET200SP plc and a socomec...
Replies
10
Views
214
I am currently am in a PLC class and need urgent help on how the ladder logic would be laid out. I understand how to get the traffic lights to...
Replies
19
Views
386
Hello, If the date on the license manager of tia Portal has expired, can I still work with it? or is this just to keep the program up to date...
Replies
7
Views
184
Im trying to create a level indicator for water Tank i have used the ADD function while the pump is on and level increasing everything works...
Replies
33
Views
970
Back
Top Bottom