[DEBUG ] whb04b: btn_1: 0, btn_2: 0, speed: 1, axis: Z, wheel: 1
[DEBUG ] SerialConnection: send_message: $I
[DEBUG ] SerialConnection: send_message: ?
[DEBUG ] Comms: incoming_data: ['ok\r\n']
[DEBUG ] Comms: incoming_data: ['<Idle|MPos:6.5530,0.0000,0.0000,92.4469|WPos:6.5530,0.0000,0.00']
[DEBUG ] Comms: incoming_data: ['00|F:1000.0,100.0>\n']
[DEBUG ] Comms: Got status: ['Idle', 'MPos:6.5530,0.0000,0.0000,92.4469', 'WPos:6.5530,0.0000,0.0000', 'F:1000.0,100.0']
[DEBUG ] Comms: got status:Idle - rest: {'WPos': [6.553, 0.0, 0.0], 'MPos': [6.553, 0.0, 0.0, 92.4469], 'F': [1000.0, 100.0]}
[DEBUG ] SerialConnection: send_message: M221 S100
[DEBUG ] Sent 27 out of 24
[DEBUG ] LCD [254, 253, 1, 1, 6, 0, 154, 21, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 100, 0, 0, 0, 0, 0]
from computer Machinekit to device:size 24B hdr 0xfdfe seed 0xaa status 0x42 coord1 +0087.4873 coord2 +0000.0000 coord3 -0208.3624 feed 0000 spindle rps 00000
06 fe fd aa 42 57 00 09 06 13 00 00 00 00 d0 00 06 28 8e 00 00 00 00 00
def _setv(self, off, a): self.lock.acquire() for v in a: (f, i) = math.modf(v) # split into fraction and integer f = int(round(f * 10000)) # we only need 3dp (l, h) = self.to_le(int(i)) self.lcd_data[off] = l self.lcd_data[off + 1] = h (l, h) = self.to_le(f, v < 0) self.lcd_data[off + 2] = l self.lcd_data[off + 3] = h off += 4 self.lock.release()
[DEBUG ] SerialConnection: send_message: $I
[DEBUG ] SerialConnection: send_message: ?[DEBUG ] Comms: incoming_data: ['ok\r\n']
[DEBUG ] Comms: incoming_data: ['<Idle|MPos:6.8090,0.0000,0.0000,92.4469|WPos:6.8090,0.0000,0.00']
[DEBUG ] Comms: incoming_data: ['00|F:1000.0,100.0>\n']
[DEBUG ] Comms: Got status: ['Idle', 'MPos:6.8090,0.0000,0.0000,92.4469', 'WPos:6.8090,0.0000,0.0000', 'F:1000.0,100.0'][DEBUG ] Comms: got status:Idle - rest: {'F': [1000.0, 100.0], 'WPos': [6.809, 0.0, 0.0], 'MPos': [6.809, 0.0, 0.0, 92.4469]}
[DEBUG ] SerialConnection: send_message: M221 S100
[DEBUG ] Sent 24 out of 21[DEBUG ] LCD [254, 253, 1, 0, 6, 0, 154, 31, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 100, 0, 0]
def setwcs(self, a):
self._setv(4, a)
# def setmcs(self, a):
# self._setv(15, a)
If self._mcs:
self.setmcs(self.app.mpos[0:3])elif:
self.setwcs(self.app.wpos)
self.app.comms.write("M220 S{}".format(self.f_ovr))
self.app.comms.write('\x18') ?? can you explain what is that value ??
self.app.comms.write('$X\n')
self.app.comms.write("{}\n".format(cmd))
self.app.comms.write("$J {}{} F{}\n".format(axis, dist, speed))
self.app.comms.write("M220 S{}".format(self.f_ovr))
# if self.s_ovr != self.app.sr:
# self.app.comms.write("M221 S{}".format(self.s_ovr));
UnboundLocalError: local variable 'axis_mode' referenced before assignment
-need to add abs/rel display mode (work for this asap)
-Any idea for use CON mode is welcome (have already step and mpg)
-clear DRO for BC axis : need to be reviewed if more than 4 axis for make this automatic
Is there a available command able to report AXIS=?
Br.
--
You received this message because you are subscribed to the Google Groups "Smoothie-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothie-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smoothie-dev/5502c54c-e944-4f9b-8f8f-5bf8fb0b0543%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
G59.3G10 L20 P9 X0 Y0 Z0G53 G0 Z0M5M9M107G53 G0 X0 Y0
--
You received this message because you are subscribed to the Google Groups "Smoothie-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothie-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smoothie-dev/c8793b0f-e319-46b5-9e5a-a99310234687%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Smoothie-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothie-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smoothie-dev/442b2b20-45f9-42b6-8840-e173bec2e551%40googlegroups.com.