11/15/2010 4:58 PM | |
Joined: 3/21/2006 Last visit: 1/14/2025 Posts: 10239 Rating: (1182) |
Hello, Isn't be a something like in http://support.automation.siemens.com/WW/view/en/45603743 Best regards, Hristo Mihalev |
11/16/2010 7:30 AM | |
Joined: 10/7/2005 Last visit: 1/17/2025 Posts: 3030 Rating: (1058) |
Hello Thome since you have posted in the S7-1200 conference I presume that you are using IEC Timers, correct? If so the Timer "ET" output TIME data type is simply a DINT value in milliseconds. Addthe "CONV" convert function to your program, selectDINT as the IN and REAL as the OUT to convert yourTIMERvalue to a REAL value (divide this value by 60000.0 to get a minute based time value which seems to be what youare after). I hope this helps |
Cheers |
|
This contribution was helpful to1 thankful Users |
11/17/2010 12:33 AM | |
Joined: 10/7/2005 Last visit: 1/17/2025 Posts: 3030 Rating: (1058) |
Hello Thome apart from the previously described 60000 diversion to get a minute based value in thePLC out of the ms based TIME value, you can of course alsouse linear scaling for the HMI tag instead. The attached screendump shows you an examplefor (HMI) minute to (PLC) milliseconds scaling and I hope this helps. As for theother problem, I'm afraid to say that I don't quite understandwhat you mean, can you descibe it a bit more in detail please. |
Cheers |
|
This contribution was helpful to1 thankful Users |
Follow us on