Hey Tom, thank you for your continuous support.
I'm now using Python 3.7 and the pythonnet module to interface with the KMotion Library and it's working wonderfully. I have no issues sending...
Type: Posts; User: jontjong
Hey Tom, thank you for your continuous support.
I'm now using Python 3.7 and the pythonnet module to interface with the KMotion Library and it's working wonderfully. I have no issues sending...
Hey Tom,
Another python question, do you know if KMotion_dotNet.dll can be loaded using a normal python interpreter (as opposed to IronPython). I have tried loading in the DLL using ctypes but it...
Hi Tom,
Some development updates, I've switched to developing on a different machine with KMotion434 and have reflashed the KFLOP controller with KMotion434. I noticed earlier you were running a...
I'm curious, are you able to execute my code on your setup? And I forgot to add that yes there is no space present in my code.
Hi,
I'm having trouble attaching a screenshot but there's no Exception Message Box that appears. Rather it is an exception thrown during the execution of the Python Code. An error messages...
Hi Tom,
So I've updated to code to now read
x = y = z= a = b = c = 0
x,y,z,a,b,c = KM.CoordMotion.ReadAndSyncCurPositions (x, y, z, a, b, c)
print(x,y,z,a,b,c)
Also forgot to mention that "MoveRel0 = 1000" works in the KMotion console as well as through my script app. I can use the KM.GetAxis() method to enable and command individual axis control through...
I checked under KMotion -> Axis
and saw the axes 0, 1 and 2 have been checked. When I uncheck them, running my script will reenable them.
I see, running my script doesn't yield any console...
Hi Tom,
WIth the above code, I can verify that the axis 0, 1 and 2 are being set through the Axis screen on KMotion.exe. Does the KMotion.exe need to be running in order for IronPython scripts to...
Hi Tom,
Thanks for the suggestions. The apostrophes are actually due to the fact that I used Google Lens to copy and paste the code from an image haha.
I have had success running individual...
Hi Tom,
I found the C# example you were referring to and have ported each and every line to Python. However the program runs but nothing appears to happen on the machine. Any ideas or thoughts?...
Hi Tom,
I've returned to this project and have tested your script which I'm able to run. I'm wondering how can I use IronPython to directly access and create CoordMotion commands? I don't want to...
Hi,
I'm working on setting up an IronPython script to control a KMotion 6 axis machine. I have successfully executed individual axis control functions but am having difficulty executing...