RSLogix with factorytalk

msyukrie

Member
Join Date
Jun 2012
Location
kelantan
Posts
4
i have no idea to send data from interface using factorytalk to modify variable in rslogix plc program. plss anyone help..i think this is small problem to all of you..

issue.jpg
 
Welcome to the forum,

I presume this is a working project and you are just adding functionality to expand it, - so your comm configuration is all taken care for.

You can write directly to the tag, "Counter.Pre" directly from the HMI object or create a tag in the PLC say for example, "Counter_Setting" and use a mov instruction to move the content of Counter_Setting to Counter.Pre. And use the "Counter_Setting" tag as you object connection in the HMI.

Regards
_______
 
thanks for ur words...

Hmm... I think a good start would be to read the User Manual:
http://literature.rockwellautomation.com/idc/groups/literature/documents/um/viewse-um006_-en-e.pdf

Although it is true it could be an easy matter for many users here, there are many things to do in the procedure, like the communication configuration, and it is not through the forum that you can be trained to realize the application. ;)

After a good reading of the manual, post again if you still have doubts.

- fuzzy logic
 
Welcome to the forum,

I presume this is a working project and you are just adding functionality to expand it, - so your comm configuration is all taken care for.

You can write directly to the tag, "Counter.Pre" directly from the HMI object or create a tag in the PLC say for example, "Counter_Setting" and use a mov instruction to move the content of Counter_Setting to Counter.Pre. And use the "Counter_Setting" tag as you object connection in the HMI.

Regards
_______


yes it is working with hmi as u stated. i hv try directly tag from HMI to "counter.pre"..but still can't modify the variable in plc.. i think i do wrong procedure..i can't find the solution yet..

thankyou mr chavak.. =)
 
In the MOV instruction "Source" you need to create a tag that you can read/write to from the HMI

Make a tag called "Counter_HMI_SP" or something, DINT will do. Then you can read/write to that tag from the HMI.

MOV
Source: Counter_HMI_SP
Dest: Counter.PRE
 
msyukrie, if you can open a working object of the SE application, then you will be able to see the correct syntax for the tags (the same if you open the HMI tags and look inside working tags)
Syntax, as you should have seen from the manual, would be something like:

[shortcut]YourTag - inside an HMI tag
{[shortcut]YourTag1} - if using Direct Reference tag

So, again, try to duplicate a working tag and just change the tag name to the desidered one.

Suggestion from chavak could work fine, but you have to remove the MOV instruction from the RS5000 project, otherwise the value you write from the HMI get overwritten from the PLC's code.

Suggestion from brendan.buchan could work fine,too, but you've to change the Source field of the MOV instruction to be the same tag you've used in the HMI (or you can use the tag named "a" instead, as it is already there in the code)

Hope this helps,
- fuzzy logic
 
Last edited:
msyukrie, if you can open a working object of the SE application, then you will be able to see the correct syntax for the tags (the same if you open the HMI tags and look inside working tags)
Syntax, as you should have seen from the manual, would be something like:

[shortcut]YourTag - inside an HMI tag
{[shortcut]YourTag1} - if using Direct Reference tag

So, again, try to duplicate a working tag and just change the tag name to the desidered one.

Suggestion from chavak could work fine, but you have to remove the MOV instruction from the RS5000 project, otherwise the value you write from the HMI get overwritten from the PLC's code.

Suggestion from brendan.buchan could work fine,too, but you've to change the Source field of the MOV instruction to be the same tag you've used in the HMI (or you can use the tag named "a" instead, as it is already there in the code)

Hope this helps,
- fuzzy logic

yesss...i got it..thanks all!!
 
Suggestion from brendan.buchan could work fine,too, but you've to change the Source field of the MOV instruction to be the same tag you've used in the HMI (or you can use the tag named "a" instead, as it is already there in the code)

Hope this helps,
- fuzzy logic

Didn't see that.

Thought it was just a constant 0, not a variable tag.

Got some glasses the other week.... I need to start using them!
 

Similar Topics

I have a little bit of experience with Allen-Bradley. I have a Micrologix 1500 (RSLogix 500) and a PanelView Plus 7 (FactoryTalk View Studio ME)...
Replies
3
Views
86
Hello all, I have the misfortune of needing to support some old firmware version 1756 controllogix machines in rslogix 5000, as well as some...
Replies
14
Views
821
Recently I shared an RSLogix 5000 (v30) project file with a colleague. When he attempts to open the file on his computer a FactoryTalk login...
Replies
6
Views
10,442
Dear all: In our plant I have an ALLEN BRADLEY PLC 1756-L73 for controlling the plant and an AADVANCE PLC for safeguarding system. For the HMI I...
Replies
6
Views
5,621
Hi, I have used Rslogix 5000 with Factorytalk view and it's pretty simple when you try to use the tags because it searches for the .ACD file but...
Replies
4
Views
6,264
Back
Top Bottom