Diskussion:Nova 35: Unterschied zwischen den Versionen

Aus FabLab Region Nürnberg
Zeile 28: Zeile 28:


Byte = 1 Bit Message Start Indicator + 7 Bit Payload
Byte = 1 Bit Message Start Indicator + 7 Bit Payload
==== Checksum ====
2 Bytes consisting of 1 byte log2(length of message) and 1 byte sum of scrambled message bytes only least significant byte.
Checksum has to be send before sending message.


==== Values ====
==== Values ====
Zeile 35: Zeile 41:
! Value !! Lenght !! Description
! Value !! Lenght !! Description
|-
|-
|id="VAL-ABSCOORD"| ABSCOORD || 5 Byte || absolute position in µm
|id="VAL-ABSCOORD"| ABSCOORD || 5 Bytes || absolute position in µm
|-
|-
|id="VAL-SPEED"| SPEED || 5 Byte || speed in µm/s
|id="VAL-SPEED"| SPEED || 5 Bytes || speed in µm/s
|-
|-
|id="VAL-POWER"| POWER || 2 Byte || power in 0,006103516% (100/2^14)
|id="VAL-POWER"| POWER || 2 Bytes || power in 0,006103516% (100/2^14)
|}
|}


Zeile 66: Zeile 72:
| D9 00 05 [[#VAL-ABSCOORD|ABSCOORD]] || move U || 50%
| D9 00 05 [[#VAL-ABSCOORD|ABSCOORD]] || move U || 50%
|-
|-
| || ||  
| CC || ACK from machine || 90%
|-
|-
| || ||  
| DA.... || get data from machine || 99%
|-
|-
| || ||  
| A8 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || Straight cut to absolute X Y; turn laser on with configured speed and power ||  
|-
|-
| ||  ||  
| E7 50 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] ||  ||  
|-
|-
| ||  ||  
| E7 51 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] ||  ||  
|-
|-
|  ||  ||  
|  ||  ||  

Version vom 20. Mai 2017, 23:08 Uhr

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

Checksum

2 Bytes consisting of 1 byte log2(length of message) and 1 byte sum of scrambled message bytes only least significant byte.

Checksum has to be send before sending message.

Values

Value Lenght Description
ABSCOORD 5 Bytes absolute position in µm
SPEED 5 Bytes speed in µm/s
POWER 2 Bytes power in 0,006103516% (100/2^14)

Commands

Byte squence Description how sure we are
C6 01 POWER 1st laser source min power 99%
C6 21 POWER 2st laser source min power 99%
C6 02 POWER 1st laser source max power 99%
C6 22 POWER 2st 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 90%
DA.... get data from machine 99%
A8 ABSCOORD ABSCOORD Straight cut to absolute X Y; turn laser on with configured speed and power
E7 50 ABSCOORD ABSCOORD
E7 51 ABSCOORD ABSCOORD