Diskussion:Nova 35: Unterschied zwischen den Versionen
Aus FabLab Region Nürnberg
Mose (Diskussion | Beiträge) |
Mose (Diskussion | Beiträge) |
||
Zeile 60: | Zeile 60: | ||
! Byte squence !! Description !! how sure we are | ! Byte squence !! Description !! how sure we are | ||
|- | |- | ||
| C6 01 [[#VAL-POWER|POWER]] || 1st laser source min power || 99% | | C6 01 [[#VAL-POWER|<POWER>]] || 1st laser source min power || 99% | ||
|- | |- | ||
| C6 21 [[#VAL-POWER|POWER]] || 2nd laser source min power || 99% | | C6 21 [[#VAL-POWER|<POWER>]] || 2nd laser source min power || 99% | ||
|- | |- | ||
| C6 02 [[#VAL-POWER|POWER]] || 1st laser source max power || 99% | | C6 02 [[#VAL-POWER|<POWER>]] || 1st laser source max power || 99% | ||
|- | |- | ||
| C6 22 [[#VAL-POWER|POWER]] || 2nd laser source max power || 99% | | C6 22 [[#VAL-POWER|<POWER>]] || 2nd laser source max power || 99% | ||
|- | |- | ||
| C9 02 [[#VAL-SPEED|SPEED]] || movement and/or (not sure) cutting speed || 80% | | C9 02 [[#VAL-SPEED|<SPEED>]] || movement and/or (not sure) cutting speed || 80% | ||
|- | |- | ||
| D9 00 02 [[#VAL-ABSCOORD|ABSCOORD]] || move X || 99% | | D9 00 02 [[#VAL-ABSCOORD|<ABSCOORD>]] || move X || 99% | ||
|- | |- | ||
| D9 00 03 [[#VAL-ABSCOORD|ABSCOORD]] || move Y || 50% | | D9 00 03 [[#VAL-ABSCOORD|<ABSCOORD>]] || move Y || 50% | ||
|- | |- | ||
| D9 00 04 [[#VAL-ABSCOORD|ABSCOORD]] || move Z || 50% | | D9 00 04 [[#VAL-ABSCOORD|<ABSCOORD>]] || move Z || 50% | ||
|- | |- | ||
| D9 00 05 [[#VAL-ABSCOORD|ABSCOORD]] || move U || 50% | | D9 00 05 [[#VAL-ABSCOORD|<ABSCOORD>]] || move U || 50% | ||
|- | |- | ||
| CC || ACK from machine || 99% | | CC || ACK from machine || 99% | ||
Zeile 86: | Zeile 86: | ||
| DA 00 04 05 || saved job count || 99% | | DA 00 04 05 || saved job count || 99% | ||
|- | |- | ||
| DA 01 XX XX || response to DA 00 XX XX || 99% | | DA 01 XX XX <VALUE> || response to DA 00 XX XX || 99% | ||
|- | |- | ||
| A8 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || Straight cut to absolute X Y; turn laser on with configured speed and power || 99% | | A8 [[#VAL-ABSCOORD|<ABSCOORD>]] [[#VAL-ABSCOORD|<ABSCOORD>]] || Straight cut to absolute X Y; turn laser on with configured speed and power || 99% | ||
|- | |- | ||
| A9 [[#VAL-RELCOORD|RELCOORD]] [[#VAL-RELCOORD|RELCOORD]] || Straight cut to relative X Y; turn laser on with configured speed and power || 99% | | A9 [[#VAL-RELCOORD|<RELCOORD>]] [[#VAL-RELCOORD|<RELCOORD>]] || Straight cut to relative X Y; turn laser on with configured speed and power || 99% | ||
|- | |- | ||
| E7 50 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || Bounding box top left? || 30% | | E7 50 [[#VAL-ABSCOORD|<ABSCOORD>]] [[#VAL-ABSCOORD|<ABSCOORD>]] || Bounding box top left? || 30% | ||
|- | |- | ||
| E7 51 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || Bounding box bottom right? || 30% | | E7 51 [[#VAL-ABSCOORD|<ABSCOORD>]] [[#VAL-ABSCOORD|<ABSCOORD>]] || Bounding box bottom right? || 30% | ||
|- | |- | ||
| E8 02 E7 01 [[#VAL-CSTRING|CSTRING]] || Set filename for following transfer (transfer needs to be done really quickly after this!) || 90% | | E8 02 E7 01 [[#VAL-CSTRING|<CSTRING>]] || Set filename for following transfer (transfer needs to be done really quickly after this!) || 90% | ||
|- | |- | ||
| E8 01 XX XX || Read filename number XX XX || | | E8 01 XX XX || Read filename number XX XX || | ||
|- | |- | ||
| 88 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || straight move to absolute X Y as fast as possible; with laser off || 99% | | 88 [[#VAL-ABSCOORD|<ABSCOORD>]] [[#VAL-ABSCOORD|<ABSCOORD>]] || straight move to absolute X Y as fast as possible; with laser off || 99% | ||
|- | |- | ||
| 89 [[#VAL-RELCOORD|RELCOORD]] [[#VAL-RELCOORD|RELCOORD]] || straight move to relative X Y as fast as possible; with laser off || 80% | | 89 [[#VAL-RELCOORD|<RELCOORD>]] [[#VAL-RELCOORD|<RELCOORD>]] || straight move to relative X Y as fast as possible; with laser off || 80% | ||
|} | |} |
Version vom 21. Mai 2017, 01:23 Uhr
Hardware
- RDC6442G Herstellerseite
- Network aware laser cutter security
- RDCAM Reverse Engineering
- RDworks + Manuals
Protokollanalyse
- Capture mit Wireshark
- Datei > Paketdissektion exportieren > Als JSON
- Packet summary line
- Include column headings
- Packet details:
- As displayed
- Packet Bytes
- Packet summary line
- 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
- Max UDP package size 1472 bytes including checksum; fragmented by simple cutting (even inside a command)
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 | ERR 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 <VALUE> | response to DA 00 XX XX | 99% |
A8 <ABSCOORD> <ABSCOORD> | Straight cut to absolute X Y; turn laser on with configured speed and power | 99% |
A9 <RELCOORD> <RELCOORD> | Straight cut to relative X Y; turn laser on with configured speed and power | 99% |
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% |
E8 01 XX XX | Read filename number XX XX | |
88 <ABSCOORD> <ABSCOORD> | straight move to absolute X Y as fast as possible; with laser off | 99% |
89 <RELCOORD> <RELCOORD> | straight move to relative X Y as fast as possible; with laser off | 80% |