Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Fairino post processor, V3.9.7 updates

#1
Hello,

In attempting to troubleshoot the attached program error on a Fairino cobot controller I noticed that the existing Fairino post uses a different command syntax than the most recent (V3.9.7, updated 6/25/2026) Lua script manual as found here:  https://fairino-doc-en.readthedocs.io/la...intro.html

Specifically, SetToolCoord and SetWObjCoord are not referenced in the new manual, and while these commands are referenced by prior versions of the Lua manual, the function structure does not appear to match either.

Would you mind verifying if the Fairino (not Fairino db) post processor needs updating, and if this might be the source of my error?  Thanks very much.


Attached Files Thumbnail(s)
Screenshot 2026-06-30 164755.png   
#2
Could you share a few example programs that actually work on your setup and this program generated by RoboDK that pops the error; along with your RoboDK station file. Let me verify and update the post as required.
#3
Hello,

in case this is still relevant, which i think, because we purchased RoboDK end of july 2026 and i encountered the problem with the SetToolCord() and SetWObjCord().

The problem is the following:
The first argument of SetToolCord() and SetWObjCord() is the internal reference to which ToolCord or WorkObjectCord should be modified.
The Fairino controller FRC-100-AC, which i have, does not let you change these. These two positions are reserved and can't be changed, nether manually nor via code.
RoboDK always writes something like:
SetToolCoord(0,0.000,-77.000,174.630,0.000,0.000,0.000,0,0,0,0)
This does not change the toolcoordinatesystem. In the Fairino Webapp the TCP does not change.

What works is:
SetToolCoord(1,0.000,-77.000,174.630,0.000,0.000,0.000,0,0,0,0)
This modifies the the toolcoordinatesystem at the internal position of 1 and when executing the TCP moves to the specified location.


A resulting problem is, that RoboDK always references 0 for the ToolCord and the WObjCord in MoveJ and MoveL. As a result you often get, that positions are not reachable, also you defined the right Cordsystem in RoboDK.

The files i attached are very simple and don't throw any erros.

But when executing on the controller you see that it actually moves along two different paths.
The two .lua files are in the .zip. I could't upload them directly.
You sould be fine by just moveing the index for referencing from 0 to 1.

I hope this helps to fix the issue.

Thanks
Moritz 


Attached Files
.zip   P2PointTest_examples.zip (Size: 1.18 KB / Downloads: 3)
.rdk   FairinoTest.rdk (Size: 1.1 MB / Downloads: 1)
  




Users browsing this thread:
2 Guest(s)