CONNECT TRAP execution error
                    Dear ABB family,
I am trying to execute a trap/interrupt function and I get fallowing error, see photo below.
I think i declare de "CONNECT"in wrong place.
Can someone give me a tip how to o it properly?
Thank you a lot.
Selen Ersoy
                
                        I am trying to execute a trap/interrupt function and I get fallowing error, see photo below.
I think i declare de "CONNECT"in wrong place.
Can someone give me a tip how to o it properly?
Thank you a lot.
Selen Ersoy

            Tagged:
            
        
0  
            Comments
- 
            Like the instruction error says, you cannot use the same variable name to connect with multiple traps. Create a unique variable name for each trap to solve the issue.1
 - 
            @xerim I use already two different variabele intno1 and intno2 with digital signal R_HOLD, R_ManualHOLD
I still doesnt see it.0 - 
            I don't see where those variables are being declared, try setting it up like this

1 - 
            I declare those before proc main, under Module, like i declare my other variable.
So, should i declare thos in my main proic
0 - 
            I think you need to call IDelete on intno1 and intno2 prior to connecting them to the trap1
 - 
            Like this:
IDelete intno1;
IDelete intno2;
CONNECT intno1 WITH HOLD;
CONNECT intno2 WITH ManualHold;
ISignalDI R_HOLD,1,intno1;
ISignalDI R_ManualHOLD,1,intno2;
1 
Categories
- All Categories
 - 5.6K RobotStudio
 - 401 UpFeed
 - 21 Tutorials
 - 15 RobotApps
 - 306 PowerPacs
 - 407 RobotStudio S4
 - 1.8K Developer Tools
 - 250 ScreenMaker
 - 2.9K Robot Controller
 - 363 IRC5
 - 81 OmniCore
 - 8 RCS (Realistic Controller Simulation)
 - 853 RAPID Programming
 - 31 AppStudio
 - 4 RobotStudio AR Viewer
 - 19 Wizard Easy Programming
 - 110 Collaborative Robots
 - 5 Job listings