HMI as Gateway

backbacon

Member
Join Date
Aug 2015
Location
Canada
Posts
14
Hey folks,
Is there a way to display a value from plc A to HMI then take that value in the HMI and write to tag in PLC B

The HMI is setup for both PLC's now.
Factorytalk ME
Controllogix and Rslogix5

I've tried If statements in the numeric display but it does not seem to work.

Thanks
 
macro Test

tagA TagA == Tag B




Then Display settlings start macro Test

then Numeric Display TAG A will have value of tagB


Correct? If so doesn't seem to work
 
If my screenshots worked this is what I have done thats not working... I have it looping back to the same plc just for testing.

MacroStrat.PNG Macro.PNG Numeric Display.PNG
 
I've done it w/ a button before, probably work as well from a macro.


&Set [ProcessorA]Tag1 [ProcessorB]Tag2;

will set Tag1 to the value currently in Tag2.
 
Machine Edition macros cannot use the &Set function, that only works for Site Edition.

Based on your second image, the format for the macro is as follows:

<Tag> = <Expression>

whereas you are currently trying to equate a value in the expression:

<Tag> = <Tag> = <Tag>

Change it so that only the tag name you are trying to pass over is in the expression field and it should work.
 
Machine Edition macros cannot use the &Set function, that only works for Site Edition.

Based on your second image, the format for the macro is as follows:

<Tag> = <Expression>

whereas you are currently trying to equate a value in the expression:

<Tag> = <Tag> = <Tag>

Change it so that only the tag name you are trying to pass over is in the expression field and it should work.

Thank you! I will give it a try
 
Well well, it worked, but I think it would have hours ago... I was using "test" display, that must not run the macro. Used test application and it worked right away(multiple setups I had going). Thank you for all the help, case closed.
 

Similar Topics

Hello. I am trying to use a Prosoft AN-X4 to improve the communications for a new panelview plus 7. This is going from a SLC-500 through DH+ to a...
Replies
9
Views
282
I've got a SIMATIC HMI KTP1200 and hooking it up to PLC (s7-1200) for first time. On the HMI setup screen, it's asking me to enter: IP address...
Replies
5
Views
1,339
I have a customer who has a very large plastic extruder. I put a Stride Industrial VPN on the machine's LAN so I can remotely access the SLC 5/05...
Replies
29
Views
6,851
I want to communicate Cimplicity HMI 6.1 service pack 4 with RS link Gateway which is installed on remote PC . In detail ,I have Local PC "A"...
Replies
22
Views
17,642
Does anyone happen to know how to install the graphic picture in HMI when I go into blower selection there are no graphics shown not only blower...
Replies
1
Views
61
Back
Top Bottom