How to read EN1 in Rapid program
I want to call a Trap routine when EN1 goes high. I tried this line:
ISignalDI EN1, 1, MyTrapProc;
The compiler complains that it does not know EN1.
In the CFG/IO list, EN1 has INTERNAL access, which is ReadOnly to RAPID programs.
What am I doing wrong?
Thanks for your help.
ISignalDI EN1, 1, MyTrapProc;
The compiler complains that it does not know EN1.
In the CFG/IO list, EN1 has INTERNAL access, which is ReadOnly to RAPID programs.
What am I doing wrong?
Thanks for your help.
Gregory Ashmore
Xigent Automation Systems
Xigent Automation Systems
1
Comments
-
Moved to RobotWare forumHenrik Berlin
ABB0 -
Hello,Try creating a virtual output with ALL access and then cross connect the Safety input to the virtual output. Interrupt on your virtual output.BR Jim0
-
[QUOTE=j_proulx]Hello,Try creating a virtual output with ALL access and then cross connect the Safety input to the virtual output. Interrupt on your virtual output.BR Jim[/QUOTE]Thanks, Jim. The ABB guy has been here doing some training...and that is the solution he suggested.It works well.Gregory Ashmore
Xigent Automation Systems0 -
Hi
What if I want to change the value of signal EN1 during simulation? CUrrently I have no access right.
Thanks
0 -
Hello,Because you do not have a real controller so EN1 does not exist. You will need to create a signal to simulate EN1.BR Jim Proulx0
-
In my case, I already create a controller. I can see En1 in the IO > Signal (offline tab), but i cannot access it since it is internal signal. Is there a way to change the value?
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings