eoffset-scale * eoffset-counts != eoffset ???
- chowderhead
- Offline
- Senior Member
- Posts: 57
- Thank you received: 11
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
- Posts: 4023
- Thank you received: 1734
The documentation linuxcnc.org/docs/2.8/html/motion/external-offsets.html is a bit more precise:
So it's actually multiplying the delta (ie change) of .eoffset-counts with .eoffset-scale.At each servo period, the axis.L.eoffset-counts pin is compared to its value in the prior period. The increase or decrease (positive or negative delta) of the axis.L.eoffset-counts pin is multiplied by the current axis.L.eoffset-scale pin value. This product is accumulated in an internal register and exported to the axis.L.eoffset-request hal pin. The accumulation register is reset to zero at each machine-on.
Please Log in or Create an account to join the conversation.
- chowderhead
- Offline
- Senior Member
- Posts: 57
- Thank you received: 11
axis.L.eoffset-counts IN S32Counts input for external offset. The eoffset-counts are transferred to an internal register. The applied external offset is the product of the register counts and the eoffset-scale value...
I believe the former (your quote) is correct and there is a bug in my code that results in the behavior I noted in the original post.
Please Log in or Create an account to join the conversation.