Writting I/O signals on RAB
Options
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.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings