configure the "Axis Transforms"

222 views
Skip to first unread message

Saito Ryosuke

unread,
Dec 28, 2020, 1:01:07 AM12/28/20
to OpenPnP
Hello everyone.

I'm working on a machine with a configuration called "Peter's Head".

I'm trying to configure the "Axis Transforms" in this URL, but the current format of machine.xml 
seems to be very different from the one in the documentation, and when I add the configuration, 
I get an error when starting openpnp (there is a problem in line xx of machine.xml). 

There is a problem in line xx of machine.xml) when starting openpnp.

Has anyone had any success with "Negating Transform" since this format was introduced?
    <axis class="org.openpnp.machine.reference.axis.ReferenceControllerAxis" id="AXS1650e2e438cc246c" name="z" type="Z" driver-id="DRV 1650e2e436a880b8" letter="Z" backlash-compensation-method="None" backlash-speed-factor="0.1" limit-rotation="false" wrap-around- rotation="false" invert-linear-rotational="false" soft-limit-low-enabled="false" soft-limit-high-enabled="false" safe-zone-low-enabled ="true" safe-zone-high-enabled="true">
    <home-coordinate value="0.0" units="Millimeters"/>
    <backlash-offset value="0.0" units="Millimeters"/>.
    <soft-limit-low value="0.0" units="Millimeters"/> <soft-limit-high value="0.0" units="Millimeters"/> <backlash-offset
    <soft-limit-high value="0.0" units="Millimeters"/>.
    <safe-zone-low value="0.0" units="Millimeters"/> <soft-limit-high value="0.0
    <safe-zone-high value="0.0" units="Millimeters"/> <feedrate-per-second
    <feedrate-per-second value="833.33333333333334" units="Millimeters"/>
    <acceleration-per-second-2 value="1666.6666666666666667" units="Millimeters"/>
    <jerk-per-second-3 value="0.0" units="Millimeters"/>
    <resolution>1.0E-4</resolution>.
    </axis>

Software: OpenPnP version 2020-12-17_17-14-55. e6217a0
Driver: smoothieboaed 5XC

Thank you!
Ryosuke
2020-1228-143855(825x1269).png2020-1228-144104(404x283).png2020-1228-144445(1103x617).png

ma...@makr.zone

unread,
Dec 28, 2020, 4:06:12 AM12/28/20
to ope...@googlegroups.com

Hi Saito

you have the new OpenPnP 2.0 version. You need the new, much simpler approach. No more machine.xml hacking needed:

https://github.com/openpnp/openpnp/wiki/Mapping-Axes

You can read about the whole Upgrade here:

https://github.com/openpnp/openpnp/wiki/Advanced-Motion-Control

There is a table of contents at the bottom of each of these new pages.

These newer pages will be integrated into the overall Setup Wiki in the next weeks/months...

_Mark

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/26339dbe-47a4-42f5-9340-c7f62fa94c9an%40googlegroups.com.

Saito Ryosuke

unread,
Dec 28, 2020, 6:21:11 AM12/28/20
to OpenPnP
Hello, mark.

Thanks to your advice I was able to correct the Z2 axis to the desired motion.
Specifically, this is all I had to do and it was very simple. Excellent!
1. Create a "Zneg" using ReferenceMappedAxis
1.1. Change the Map Point B Output of Zneg to -1.
2. Change the "Coordinate System Z-Axis" of Nozzle 2 (Z was moving in the opposite direction) to the newly defined "Zneg".

Thank you!
Saito


2020年12月28日月曜日 18:06:12 UTC+9 ma...@makr.zone:

ma...@makr.zone

unread,
Dec 28, 2020, 6:42:25 AM12/28/20
to OpenPnP
Cool ;-)
Reply all
Reply to author
Forward
0 new messages