Timer Value Visualization S7-300

SoulSoldier

Member
Join Date
Nov 2006
Location
Medellín
Posts
1
Hello all,

I have serious problems with the visualization of timer value in a HMI. My code is below:

U "BIT_ENSAYO"
L 120
ITB
UW W#16#FFF
OW W#16#2000
SI "TIEMPO_ENSAYO"

Then, when BIT_ENSAYO is a HIGH the timer TIEMPO_ENSAYO begins the countdown. Now, I need to see the countdown in the HMI, through Wincc Flexible 2005. I've tried with the next lines, but it doesn't work:

L "TIEMPO_ENSAYO"
T "TIEMPO2"
CALL FC 33
IN := TIEMPO2
RET_VAL:= TIEMPO_TIME

Where TIEMPO2 is a S5Time variable, and TIEMPO_TIME is a TIME variable. The value's of TIEMPO_ENSAYO and TIEMPO2 aren't the same. How can I solve this problem?

Thank you a lot.
 

Similar Topics

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...
Replies
5
Views
2,354
What programming technique would use a bit position in a Timer's acc value? For example T4:0.ACC/1 using RSLogix500 in a SLC
Replies
14
Views
2,886
Hello, First of all i have an OMRON CJ1M. I want to start a timer and cut it off when i want. After that i want to start something else for the...
Replies
4
Views
2,267
Hello Folks, I am new to Direct Soft, but a customer has a program that need me to edit. It is a DL06. We have a TMR function (T4) that we want...
Replies
24
Views
5,683
Back
Top Bottom