![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]()
|
New Here? Please read this important info!!!
![]() |
#1 |
Lifetime Supporting Member
![]() ![]() Join Date: Jan 2012
Location: Pacific Northwest
Posts: 53
|
IFIX DI tag to open picture
Is there a way to have a DI tag open a picture?
I want to make a confirm/abort pop up, but I'm stuck. |
![]() |
![]() |
#2 |
Lifetime Supporting Member
![]() ![]() Join Date: Jan 2012
Location: Pacific Northwest
Posts: 53
|
Also i don't know VBA if relevant.
|
![]() |
![]() |
#3 |
Lifetime Supporting Member
![]() ![]() Join Date: Jan 2012
Location: Pacific Northwest
Posts: 53
|
Well it took me an hour, but i was able to copy and paste some scripts from other objects to make it work. I really need to learn VB.
|
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Nov 2016
Location: Fields of corn
Posts: 1,215
|
I was going to say that this can probably be done with a scheduled action triggered by that DI.
I wouldn't do it this way though. Why not open the pop up, put text in box, click confirm, have a msgbox come up asking if the person is sure about it and then execute. Much simpler to do and doesn't rely on PLC comms and state (which can cause havoc on a SCADA when done like this). |
![]() |
![]() |
#5 |
Lifetime Supporting Member
![]() ![]() Join Date: Jan 2012
Location: Pacific Northwest
Posts: 53
|
I'm going to have to try your way.
The confirm/abort pop is for after machine has started moving. The engineer wants the operator to have to confirm they want the machine to continue to move every foot of travel. |
![]() |
![]() |
#6 |
Member
![]() ![]() Join Date: Nov 2016
Location: Fields of corn
Posts: 1,215
|
I don't know the application, but that sounds like a nightmare.
How long does that foot of travel take? A lot of people assume that by putting more confirm buttons, that the operator will read more... when in fact is the opposite. Just today I had the same discussion where I was asked to put such a pop-up and when asked if the function itself could be interlocked, no one even considered that as an option. |
![]() |
![]() |
#7 |
Lifetime Supporting Member + Moderator
|
Use an EVENT object in iFix, either in the scheduler or in a pic that is always open, like a menu bar. Does just what you want.
|
![]() |
![]() |
#8 |
Lifetime Supporting Member
![]() ![]() Join Date: Jan 2012
Location: Pacific Northwest
Posts: 53
|
Cardosocea, a foot will take a over a minute. The PLC was programmed to require acknowledgement every foot. I can't change the PLC logic at this time since its coming from a contractor.
Thanks everyone ! |
![]() |
![]() |
#9 |
Member
![]() ![]() Join Date: Nov 2016
Location: Fields of corn
Posts: 1,215
|
That sounds excruciating... 8 hours, assuming production goes smooth and it takes on average 2 minutes to confirm is 240 clicks.
Hope no one makes a mistake in the future and someone decides that it now needs to be double click to confirm. |
![]() |
![]() |
#10 |
Lifetime Supporting Member
![]() ![]() Join Date: Jan 2012
Location: Pacific Northwest
Posts: 53
|
Luckily it’s something that doesn’t get adjusted much. It can go days without changes.
|
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iFIX 5.8 Search for Tag on Screen | RRoc | LIVE PLC Questions And Answers | 2 | May 1st, 2017 05:16 PM |
Write VBA to read alarm tag and open associated display in Factory Talk View SE | Programmersbug | LIVE PLC Questions And Answers | 2 | April 13th, 2017 04:14 AM |
IFIX check analog tag value | elison123 | LIVE PLC Questions And Answers | 0 | September 9th, 2015 08:56 PM |
iFIX DI versus DO | russrmartin | LIVE PLC Questions And Answers | 5 | July 15th, 2004 12:09 AM |
K-MAP & Allen's Challenge | Terry Woods | LIVE PLC Questions And Answers | 11 | November 19th, 2002 01:56 AM |