Drag-and-drop opeation in PG2
Hello, 800xA experts.
Recently I had upgrade one old project (done in VB) where some graphic objects are write data PLC on drop event.
Assume: we have container with various objects. The operator wants to drag object from this container and drop it to another. On drop event some value (e.g., "1") must be written to the PLC.
Is it possible to realize such operation using basic PG2 graphic elements?
Or I have to install some extension? What is a name of that extension (is such exist)?
Thanks in advance!
Voted best answer
The other option to actualize your scenario by making objects visible/invisible in two containers by pressing arrow button(A>B or A<B).
i.e you can create two containers A & B , create direction arrow between containers now make objects visible in container A, select particular object in container A and by pressing on arrow(direction A>B)button write value to PLC and make object invisible from container A and make object visible in container B. vice-versa can be achieved by arrow (direction A<B), This is Just an idea…..