11-08-2010 10:41 AM
LookoutDirect 4.5
4) I have a table of hundreds of data, and all of them need a input. How can I make only one numeral input for all of them? That means I click any data in the table I can get to the same numeral input popup window and enter a number and it goes to the object I clicked on?
11-09-2010 03:38 AM
Two useful examples
http://zone.ni.com/devzone/cda/epd/p/id/4681
http://zone.ni.com/devzone/cda/epd/p/id/4605
It uses the symbolic link to multiplex the pot. The trick is the expression of the link. Maybe you can construct a dynamic expression to represent different cell of datatable by changing one pot or two.
11-10-2010 04:16 PM
Hi Ryan,
The exampls are very useful.
But I'm still not clear about what I should do with my case. Like the attached picture shows, I have a table stored in the PLC, V3000, V3001... are the addresses.
I 'd like to have a base address V3000, then all the values will be displayed like the picture, (with the expression which shows the base address + 1,2,3 ...?)
And I input the row number I would input, for example 2, and all the input line will be the V3020, V3021...
and if I input the numbers in one of the input boxes, I will get the PLC's value changed.
Can you make a simple sample program for me?
Thanks!
11-10-2010 05:10 PM
LookoutDirect 4.5
I think this may use dynamic symbolic link, but I haven't got clue how the link works.
11-10-2010 06:28 PM
I just edited lks with a text editor and successfully displayed all the data with expressions. Now I am still working on using a string to locate an object. or using a variable contains the PLC address to get the value of the adress.
11-12-2010 03:21 AM
Based on the multiplex_oneintomanyout.lks, the link's dynamic expression is
"PLC.V30"&Selector_Pot1&Selector_Pot2
Assume the Selector_Pot1 and Selector_Pot2 are both 0~9.
The Input_Pot's remote source is [link]
In this way, you use two pots to dynamically select an address, and connect to the input pot.
11-12-2010 06:27 PM
Ryan,
It doesn't work. See the attachment below.
I tried many different expressions of the links, even I directly used DL1.V3100, none of them worked.
I noticed that in some expressions the link wouldn't show up in the selection list of the Pot2 remote URL, mycomputer\process1; and if I click on mycomputer\process1 under network, the Lookout itself became dead, and I got to shut down lookout.
If you have a PLC (may not be the same DL260 as I used) Please try to make this test program work. I doubt the dynamic link will work in this way.
If it doesn't working in this way, please find another way to help.
Thanks.
11-15-2010 01:45 AM
I have tried Modbus object connecting a Modbus slave. It works as expected.
Do you see alarms? What's the alarm message?
What if you directly input DL1.V3100 to pot's remote source?