Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Help with some issues
Hello all,
I have a problem while programing with robotstudio.
When using the instruction offset as follows:
MoveJ Offs(Pos10,500,500,200),v500,z1,tVacuum\WObj:=wobjInFeeder;
The robot does not move and neither gives errors due to the work space. When I tried to highlight the point associated to that instruction it does not appear, and if I execute the path it ignores that instruction and continues with the next point to reach. ![]()
In addition I want to know what is the best way to read the value of an analog input to do something similar to:
MoveJ Offs(Pos10,AInput(AI_0),AInput(AI_1),0),v500,z1,tVacuum\WObj:=wobjInFeeder;
Hope you know how to help me and thanks for you attention! ![]()
0
Answers
-
Hi Pedro,
try changing 'z1' to 'fine', set the program pointer at the instruction and execute it step by step (not play). The robot should move to that point and also the program pointer.0 -
Have you created a robtarget for Pos10?
You will need to assign the value of the analogue input to a number variable, then use the number variable in the Offs.
VAR num NumX;
VAR num NumY;
...
...
NumX:=AInput(ai1);
NumY:=AInput(ai2);
MoveJ Offs(Pos10,NumX,NumY,0),v500,z1,tVacuum\WObj:=wobjInFeeder;
0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings