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.5K RobotStudio
- 390 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 304 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 772 RAPID Programming
- 17 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings