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
12,035
Need TIA PORTAL 14.0 and i want to take a upload from plc. I can't download from anywhere. please give me download link. thanks
Replies
3
Views
57
Hi! What is the way to convert the code from the Codesys code to the Tia Portal? Regards, WK
Replies
4
Views
87
Hey Guys, I am using a siemens IPC with a siemens RFID setup (Part numbers below). I am looking to create a screen where I can add/remove users...
Replies
13
Views
232
i am using profibus, i want to insert a hexadecimal word or byte to 4 byte like in the phot but i don't know how
Replies
6
Views
167
Back
Top Bottom