Writting I/O signals on RAB
Hi
I have created a virtual signal on the Robot with access level set to ALL, when i try to write values to the signal from RAM (PC Interaface) i get an error on the RAB application and the value is not written. I can read signal values from the Robot. The instructions i am using is as by the example provided on the user guide which is as follows:
private void checkBox1_Click(object sender, EventArgs e)
{
if (this.checkBox1.Checked)
{
digitalSig.Set();
}
else
{
digitalSig.Reset();
}
}
I tried even the Value property, the error arises on the line that attempts tp Set() or Reset(), even on implementing digitalSig.Value = 1. The error is "Invalid clied id" as by Visual studio (VS).
I am using VS2008, RW5.11 and RAB 5.11
Please assist on how I can get to write to IO signals using RAB, mainly using PC Interface.
Thanks'
I have created a virtual signal on the Robot with access level set to ALL, when i try to write values to the signal from RAM (PC Interaface) i get an error on the RAB application and the value is not written. I can read signal values from the Robot. The instructions i am using is as by the example provided on the user guide which is as follows:
private void checkBox1_Click(object sender, EventArgs e)
{
if (this.checkBox1.Checked)
{
digitalSig.Set();
}
else
{
digitalSig.Reset();
}
}
I tried even the Value property, the error arises on the line that attempts tp Set() or Reset(), even on implementing digitalSig.Value = 1. The error is "Invalid clied id" as by Visual studio (VS).
I am using VS2008, RW5.11 and RAB 5.11
Please assist on how I can get to write to IO signals using RAB, mainly using PC Interface.
Thanks'
0
Comments
-
Hello ,As you mentioned ,you are getting error ""Invalid clied id". This error is thrown if you are not logged on to the controller. I do not know your full code but use following code to log on ( e.g. ctr is controller instance)ctr.Logon(UserInfo.DefaultUser);regRegards
Saleem Javed0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings