Skip to main content

Miscellaneous

Select Controller

The commands and parameters that can be used in RoboPlus Task depend on the controller. Therefore, a controller must be selected before creating a program.

select controller

  • If you change the controller while you are writing a program for another controller, errors may be raised during the "rule check" process.

  • To use a program designed for another controller, the incompatible commands and parameters must be changed accordingly.

Rule Check

Rule check is the process to verify that the task code has been written appropriately according to the rules. RoboPlus Task has a function that checks for grammatical errors and prints the causes and locations of errors. An example of a grammatical error and its location is shown below.

=== Sentence Check(ollo_bug_product_en) ===
Line:13 Please select a device or number.
=== Tottal Error: 1 ===

Double-click on the error message to move to the location of the error.

Errors

The following is a list of grammatical errors

  1. Select the number or device
  2. Block beginning doesn't exist
  3. A block must be designated
  4. Only 1 "Start Program" is permitted
  5. "Start Program" cannot be defined in a block
  6. A function cannot be defined in a block
  7. A command to execute the designated block does not exist
  8. This line should be included in a block
  9. The start and end of the block are not paired
  10. "Start Program" does not exist
  11. A function with the same name already exists
  12. "Restoration" can only be used in a function
  13. A label with same name already exists
  14. A function cannot call itself
  15. "If/If else" has been used improperly
  16. There is no loop to end
  17. A block must consist of at least one command
  18. A jump to another block is not permitted
  19. The called function does not exist
  20. Only 1 callback function may exist
  21. A callback function cannot be defined in a block
  22. This command cannot be used in a callback function
  23. This device cannot be used in a callback function
  24. This command cannot be used with the selected controller
  25. There is a device which cannot be used with the selected controller

Solutions

  1. Select the number or device
Cause of ErrorSolution
The parameter has not been setProperly set to a unset parameter
img_01img_02
  1. Block beginning doesn't exist
Cause of ErrorSolution
A block does not exist in a command lineProperly set the block
img_03img_04
  1. A block must be designated
Cause of ErrorSolution
A duplicate block without a command lineProperly set the block
img_05img_06
  1. Only 1 "Start Program" is permitted
Cause of ErrorSolution
Two or more “Start Program” existsCreate only one “Start Program”
img_07img_08
  1. "Start Program" cannot be defined in a block
Cause of ErrorSolution
“Start Program” exists in the blockRemove the block from the “Start Program”
img_09img_10
  1. A function cannot be defined in a block
Cause of ErrorSolution
Function is located within a blockRemove the function from the block
img_11img_12
  1. A command to execute the designated block does not exist
Cause of ErrorSolution
Block exists without a command or condition lineAdded the omitted command or delete
img_13img_14
  1. This line should be included in a block
Cause of ErrorSolution
A command without a block is located outermostMove the command to a proper location or delete
img_15img_16
  1. The start and end of the block are not paired
Cause of ErrorSolution
The start and end of the block are not pairedPlease set the area properly
img_17img_18
  1. "Start Program" does not exist
Cause of ErrorSolution
“Start Program” does not existCreate a “Start Program”
img_19img_20
  1. A function with the same name already exists
Cause of ErrorSolution
A label with the same name already existsChange duplicate function name or delete
img_21img_22
  1. "Restoration" can only be used in a function
Cause of ErrorSolution
The restoration command is used in a location other than a functionCreate a restoration command within a function or delete
img_23img_24
  1. A label with same name already exists
Cause of ErrorSolution
Duplicate label name existsSet to a different name or delete
img_25img_26
  1. A function cannot call itself
Cause of ErrorSolution
The function is called within the functionReplace with a proper command or delete
img_27img_28
  1. "If/If else" has been used improperly
Cause of ErrorSolution
If else/ If has been used without ElseRevised according to usage If, Else If, Either
img_29img_30
  1. There is no loop to end
Cause of ErrorSolution
The "End Repeat" command is used at a location other than a loopEnd Repeat command can only be used within the loop, delete if unnecessary
img_31img_32
  1. A block must consist of at least one command
Cause of ErrorSolution
A line does not exist behind a command that is required by a blockAdd a line required behind the command or delete
img_33img_34
  1. A jump to another block is not permitted
Cause of ErrorSolution
The label you wish to jump to is unavailable in the functionJump to a label within a function or delete
img_35img_36
  1. The called function does not exist
Cause of ErrorSolution
The called function does not existCreate a function or delete
img_37img_38
  1. Only 1 callback function may exist
Cause of ErrorSolution
Two or more callback functions existCreate only one callback function
img_39img_40
  1. A callback function cannot be defined in a block
Cause of ErrorSolution
Callback located in the blockRemove callback from block
img_41img_42
  1. This command cannot be used in a callback function
Cause of ErrorSolution
Improper command located in callbackThe corresponding command has been deleted
img_43img_44
  1. This device cannot be used in a callback function
Cause of ErrorSolution
An unusable parameter located in callbackDelete corresponding parameter
img_45img_46
  1. This command cannot be used with the selected controller
Cause of ErrorSolution
Unsupported command being used in the current controllerDelete corresponding command or set to supported controller
img_47img_48
  1. There is a device which cannot be used with the selected controller
Cause of ErrorSolution
Unusable parameter being used in the controllerEither deleted the corresponding parameter or set to a controller which is supported
img_49img_50

Error Messages

The following table provides a list of errors you may see while writing codes and printing the output on the screen with RoboPlus Task.

Error CodeDescriptionOutput Example
8100Trying to communicate with an unconnected DYNAMIXEL ID.<br>If it is connected, please check the cable again.{[ERROR:8100:0005:03]}<br>8100 : Error Code<br>0005 : The DYNAMIXEL ID<br>03 : Confidential Information
0009Too many consecutive function calls. (More than 6 times){[ERROR:0009:0033:06]}<br>0009 : Error Code<br>0033 :Confidential Information<br>06 : Confidential Information
8001Attempting to read an address of the controller designated as "write only".{[ERROR:8001:000C:02]}<br>8001 : Error Code<br>000C : Confidential Information<br>02 : Confidential Information
8002Attempting to write at an address of the controller designated as "read only".{[ERROR:8002:0009:02]}<br>8002 : Error Code<br>0009 : Confidential Information<br>02 : Confidential Information
NoneMotion page to execute does not exist.[Invalid Page Read:00FE]<br>00FE : Motion page number (hexadecimal)