Hello, I'm a new user and i need help with a project...
I got a micrologix 1500 plc. I made an easy program which includes a timer, and i got a display on RSVIEW 32 in which i can see the accumulator of the timer as a tag in a trendx chart, and i have a button which shows a visual basic screen, and here i have a textbox in which i want to display the same tag, the timer accumulator in real time. The problem is that i don't know how the code would be to do this. I have little knowledge on how this example code works:
public sub one()
Dim WithEvents tL1Index_Counter As Tag
...
public sub two()
Set tL1Index_Counter = gTagDb.GetTag("L1\Index_Counter")
..
Can someone help me please?
I got a micrologix 1500 plc. I made an easy program which includes a timer, and i got a display on RSVIEW 32 in which i can see the accumulator of the timer as a tag in a trendx chart, and i have a button which shows a visual basic screen, and here i have a textbox in which i want to display the same tag, the timer accumulator in real time. The problem is that i don't know how the code would be to do this. I have little knowledge on how this example code works:
public sub one()
Dim WithEvents tL1Index_Counter As Tag
...
public sub two()
Set tL1Index_Counter = gTagDb.GetTag("L1\Index_Counter")
..
Can someone help me please?