diff --git a/docs/ebb.html b/docs/ebb.html index cac0950..f89d5f2 100644 --- a/docs/ebb.html +++ b/docs/ebb.html @@ -1819,7 +1819,7 @@
Bit 5: PRG — PRG Button Pressed
This bit will be 1 if the PRG button has been pushed since the last QG or QB query. Otherwise it will be 0. Note that input B0 can be used to trigger a "button push" event; see the description of QB for more information.

-

Bit 4: PEN — Pen is down
This bit is 1 when the pen is down, and 0 when the pen is up. The pen status is given by the position of the pen-lift servo output, which can be controlled with the SP command and can be read with the QP query. Note that this is the commanded state of the pen, and that it does physically take time to lift from or lower to the page. +
Bit 4: PEN — Pen is up
This bit is 1 when the pen is up, and 0 when the pen is down. The pen status is given by the position of the pen-lift servo output, which can be controlled with the SP command and can be read with the QP query. Note that this is the commanded state of the pen, and that it does physically take time to lift from or lower to the page.

Bit 3: CMD — Command Executing
This bit will be 1 when a command is being executed, and 0 otherwise. The command may be a command that causes motion (like a motor move command) or any other command listed in this document as 'Execution: Added to FIFO motion queue'. @@ -1850,7 +1850,8 @@ Example Return Packet (legacy mode; default): 3E<CR><NL>

This query returns value of 3E, which corresponds to 0011 1110 in binary, indicates that the limit switch has not been triggered, the power has not gone below the set threshold, the PRG button has been pressed, the pen is down, a command is being executed, Motor 1 and Motor 2 are moving, and the FIFO motion queue is empty.

-
  • Version History: V3.0: bit 7 now reports if the limit switch trigger has fired. Also with v3.0 bit 6 now reports the power lost flag. If you have PC code which is relying upon the old meanings of these bits (bit 7 was showing the state of the RB5 pin and bit 6 was showing the state of the RB2 pin) it will need to be updated to use v3.0.
  • +
  • Version History: V3.0: bit 7 now reports if the limit switch trigger has fired. Also with v3.0 bit 6 now reports the power lost flag. If you have PC code which is relying upon the old meanings of these bits (bit 7 was showing the state of the RB5 pin and bit 6 was showing the state of the RB2 pin) it will need to be updated to use v3.0. On 5/7/2024 the meaning of bit 4 was corrected. Previous versions had the state inverted. +