viewing local variables

etiang

Member
Join Date
Jul 2007
Location
JINJA
Posts
1
hi, does anyone have information on accessing loal variables and linking them to their respective addresses, for example, if i have a local variable #out, how do i relate this variable to physical output?
 
Assuming you're working with STEP 7, typically a local variable (#xxx) is used only in a function or function block. The name of the local variable appears on the function or function block call as the name attached to one of the input or output pins. So I'm guessing you're asking if I'm looking at #out, how do I know it is really the value of Qx.x?

The only ways I can think of off the top of my head are maybe symbols, or using the real would I/O point as part of the name of the local variable. There may be a more direct way to do it, I just don't know what it is.
 
Local variables are not related to physical output until your program copies the local variable to a physical output.

Anything attached to the input/output pins of a function is a parameter.
 
Last edited:

Similar Topics

I got my PanelView Plus 7 working with a Micrologix 1500. How would I connect my laptop to the PanelView to view the ladder logic while operating...
Replies
6
Views
138
Looking for some assistance. I am very familiar with Yaskawa VFDs, but not so much with AB VFDs. I am working on some hardwired AB PowerFlex 700...
Replies
2
Views
136
Hello all, First time poster, long time viewer of these forums. Could not find my solution on here. We have had issues with a Comm Fail on an...
Replies
2
Views
391
When I added device Powerflex 525 to my project,The ( current tag) was not populated .How can I retrieve this data ? Thanks Jeff
Replies
3
Views
557
Hey all, looking for some opinions/recommendations for Modbus server viewing software. Have a PLC that we're reading directly from the modbus...
Replies
13
Views
1,903
Back
Top Bottom