Undefined instruction in Roboguide
- Cvc
- Thread is Unresolved
-
-
Cvc
Changed the title of the thread from “Undefined instruction in Robotuige” to “Undefined instruction in Roboguide”. -
Sometimes roboguide point to the wrong line. Have a look onto the line before, exists there the semikolon at the end?
-
Hi
Welcome to the robot forum
That's a very common logic line you wrote, I write those continuously on newer versions
Create another cell with a newer version , even a V7.4 ad see if it works
-
Hi
Welcome to the robot forum
That's a very common logic line you wrote, I write those continuously on newer versions
Create another cell with a newer version , even a V7.4 ad see if it works
Tnx.
Newer version works indeed.
I am still required to use v6.31 roboguide project, which is created from v6.31 physical controller backup, and use v7.4 separately to build those pieces of code?
-
You might have to break up the equation. Do the division on one line and store in a register, then do the subtraction in a second line of code.
-
You have a parenthesis mismatch in your mixed logic. the PR[40,2]-R[10] should be in parenthesis, then divided by 2. Should look like this...
PR[6,2:ORG]=((PR[40,2:START_1]-R[10:LENGTH])/2)