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,908
Hi All, Someone at work has put a PLC system on my desk, that's just been taken off an idle production line. He said "It's an S7 PLC. We don't...
Replies
10
Views
230
Hi guys , I'm new with Allen Bradley, but I have experience with Tia portal (s7 1200 ,s7 1500) I want to convert my project from Tia portal to...
Replies
2
Views
197
Hi, I have had problem with upgrading some projects from v16 to v18. I tried it on 3 diffrent computers. I want to post this so that anyone that...
Replies
3
Views
165
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
12
Views
308
Back
Top Bottom