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.
Comparing posititions
I am working on a project and need to compare two positions, but can't figure out how to do it.
Thanks in advance!

Tagged:
0
Comments
-
It looks like it might work. Single step forward one line at a time so you can see the values and the evaluation of the expressions.Lee Justice0
-
The values are the same when i compare them doing step by step, I have no clue why it's skipping the If statement.lemster68 said:It looks like it might work. Single step forward one line at a time so you can see the values and the evaluation of the expressions.
0 -
Well, if even one number is mismatched five decimal places over I suppose it will evaluate to NOT TRUE. Try instead the Dist() function and use a value that is very small, like 0.5mm.Lee Justice0
-
Where can i find this function?lemster68 said:Well, if even one number is mismatched five decimal places over I suppose it will evaluate to NOT TRUE. Try instead the Dist() function and use a value that is very small, like 0.5mm.
Is it Instruction - Mathematics - Distance?0 -
It worked! Thank you!0
-
Hello,Be careful, Distance only give you the distance. It doesn't take care of orientation neither configuration.☑️2024 - RobotStudio® User Group0
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

