Diskussion:Nova 35

Aus FabLab Region Nürnberg

Hardware

RDC6442G 4-axis Lasercontrol
Breakout Board

Protokollanalyse

  1. Capture mit Wireshark
  2. Datei > Paketdissektion exportieren > Als JSON
    • Packet summary line
      • Include column headings
    • Packet details:
      • As displayed
    • Packet Bytes
  3. some more pat foo

rdcam.py

pat magic

Data format

  • Byte = 1 Bit Message Start Indicator + 7 Bit Payload
  • Only one message (checksum + command) can be sent per UDP package

Checksum

2 Bytes - sum of scrambled message bytes; MSB first.

Checksum has to be send before message.

Values

Value Lenght Description
ABSCOORD 5 Bytes absolute position relative to job origin in µm
RELCOORD 2 Bytes relative position in µm; signed (2s complement)
SPEED 5 Bytes speed in µm/s
POWER 2 Bytes power in 0,006103516% (100/2^14)
CSTRING variable zero terminated

Commands

Byte squence Description how sure we are
C6 01 POWER 1st laser source min power 99%
C6 21 POWER 2nd laser source min power 99%
C6 02 POWER 1st laser source max power 99%
C6 22 POWER 2nd laser source max power 99%
C9 02 SPEED movement and/or (not sure) cutting speed 80%
D9 00 02 ABSCOORD move X 99%
D9 00 03 ABSCOORD move Y 50%
D9 00 04 ABSCOORD move Z 50%
D9 00 05 ABSCOORD move U 50%
CC ACK from machine 99%
CD FAIL from machine 99%
DA 00 XX XX get XX XX from machine 99%
DA 00 04 05 saved job count 99%
DA 01 XX XX response to DA 00 XX XX 99%
A8 ABSCOORD ABSCOORD Straight cut to absolute X Y; turn laser on with configured speed and power
E7 50 ABSCOORD ABSCOORD Bounding box top left? 30%
E7 51 ABSCOORD ABSCOORD Bounding box bottom right? 30%
E8 02 E7 01 CSTRING Set filename for following transfer (transfer needs to be done really quickly after this!) 90%
Read filename number XX XX
88 ABSCOORD ABSCOORD straight move to absolute X Y as fast as possible; with laser off