Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Data modified from different sources

Solved!
Go to solution

I have a problem with getting data into an AB ML1200 PLC. I will simplify this to explain: I have data going into reg N7:0 thats the result of a calculation. Lets say

"N7:0=TextEntry1.value*10". All goes well, but there is another local HMI that also writes to N7:0. Although this local HMI's N7:0 value shows the reflected change of the calc above from Lookout, any attempt to change the local HMI's N7:0 value is overridden by the calc. I need to be able to change the value from the local HMI and have Lookout update the "TextEntry1.value" to reflect the change. It sounds simple enough but it's kickin' my butt! As a sidenote I wouldn't have this problem if the AB driver in Lookout for the MicroLogix supported float (F) regs - I was kind of shocked it did not. Any ideas?

0 Kudos
Message 1 of 2
(6,289 Views)
Solution
Accepted by topic author mjrx

It looks like you need to make the connection on remote source. For example, create a pot. On its property page, edit its remote source to the N7:0. It will be both read and write connection.

 

But you also need to mutiply the value by 10, so you can first create an Alias on N7:0 by right-clicking on driver object and select Edit Data Member Configuration. Input the scaling, for example, raw value from 0 to 100, and eng value from 0 to 10, so that this Alias will represent the value of N7:0/10. Give a name to this Alias. And then, bind the pot's remote source to this Alias. Have a try.

Ryan Shi
National Instruments
0 Kudos
Message 2 of 2
(6,271 Views)