How To Write the path of tag in RSLogix 5000

b_e33

Member
Join Date
Mar 2013
Location
lolo
Posts
59
i`m programming controlLogix with RSLogix 5000 and i want to set in my MSG Function tag that created in Program tags section , but in the MainProgram scope , i try to write MainProgram:Tagname , or MainProgram.Tagname
, But he write me syntex error
how can i point to the tag that is inside MainProgram
 
i`m programming controlLogix with RSLogix 5000 and i want to set in my MSG Function tag that created in Program tags section , but in the MainProgram scope , i try to write MainProgram:Tagname , or MainProgram.Tagname
, But he write me syntex error
how can i point to the tag that is inside MainProgram


I'm not quite sure what you mean, your English isn't quite correct but here goes.
to message in rl5k you first have to create a tag of msg type in the "controller" tags.
you will have to select the type of message and select the
tag you just created by clicking on the selection box and pick it from the drop down list. that will get you started

read this manual to learn more

http://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm012_-en-p.pdf
 
u did not understand my question, my question is how am i Turns to tag that created in the
mainprogram scope
becouse a want to put all my tag not in the controller scope but to create them in the mainprogram scope
and becouse in the MSG function i need to write a destination tag so i need to know how to write it
i try MainProgram:Tagname or MainProgram.Tagname
, But he write me syntex error
what is the correct syntex to write tag that is in the MainProgram scope
 
If I understand your question correctly you want to create a program scoped tag. There at least 2 tag datadases in every RSLogix project. One for the controller scoped tags and one for every program in the controller. In the program tree if you expand the Task folder and then expand the Main Program folder you will see the program tag database. This is where you will create program scoped tags.
 
i know wher to create "Main Program folder you will see the program tag database."
but i do not know how to write the tag name in the distenestion field
i get syntex error ther

untitled.JPG
 
What you are trying to do is not allowed.

MSG instructions cannot use program tags. You must use only Controller tags. The destination will include the name of the Controller Tag in the destination. You cannot specify a Program Tag.

OG
 
Max was kind enough to post a link to the manual that covers messaging. On page 13 there is a "Guidelines" section. Read it before continuing any further.

OG
 
ok i understand :)
but just for know , what is the current syntex to turns to tag that created in the program tags (in the MainProgram scope)
 

Similar Topics

Hi all. Just newly signed up for this forum but i have been here many times already when searching for answers, long may it continue :beerchug...
Replies
3
Views
2,899
Hi everyone, I hope you're all doing well. I'm currently working on updating an HMI project for the GP2500, and I've encountered a bit of a...
Replies
1
Views
87
I've gotten to the learning curve where I can program a call for pump to come on at set point but I'm not sure how to turn the same pump off when...
Replies
1
Views
130
Hi everyone, I am working on a project that needs to expose the SV (Set Value) of a temperature controller to a SCADA system. SCADA <-...
Replies
4
Views
159
Thank you for any and all responses/help. I have an RSLogix 5000 v20 and a Cognex In-Sight v5.9 spreadsheet (8502P). I can not figure out how to...
Replies
0
Views
126
Back
Top Bottom