Hi people! I’m programming with PC SDK (not Webware SDK). I have a problem, first I get the signals of the robot and then I want to change one. But when the programm executes the Set() or Reset() method, it throws a exception: ABB.Robotics.ModeRejectException. I don’t now what I can do. Please, Can anybody help me?
The source code is:
private void button2_Click(object sender, EventArgs e)
{
if (button2.Text != “Indef.”)
{
DigitalSignal garra = (DigitalSignal)senyales[8]; ;
if (garra.Value == 0)
garra.Set();
else garra.Reset();
if (button2.Text == “Activar”)
button2.Text = “Desactivar”;
else button2.Text = “Activar”;
ActualizarSenyal();
}
}
“senyales” has all the signals that the robot.
Thank you a lot.