Diskussion:Nova 35: Unterschied zwischen den Versionen
Aus FabLab Region Nürnberg
Mose (Diskussion | Beiträge) |
Mose (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 31: | Zeile 31: | ||
==== Checksum ==== | ==== Checksum ==== | ||
2 Bytes | 2 Bytes - sum of scrambled message bytes; MSB first. | ||
Checksum has to be send before | Checksum has to be send before message. | ||
==== Values ==== | ==== Values ==== | ||
Zeile 41: | Zeile 41: | ||
! Value !! Lenght !! Description | ! Value !! Lenght !! Description | ||
|- | |- | ||
|id="VAL-ABSCOORD"| ABSCOORD || 5 Bytes || absolute position in µm | |id="VAL-ABSCOORD"| ABSCOORD || 5 Bytes || absolute position relative to job origin in µm | ||
|- | |- | ||
|id="VAL-SPEED"| SPEED || 5 Bytes || speed in µm/s | |id="VAL-SPEED"| SPEED || 5 Bytes || speed in µm/s | ||
|- | |- | ||
|id="VAL-POWER"| POWER || 2 Bytes || power in 0,006103516% (100/2^14) | |id="VAL-POWER"| POWER || 2 Bytes || power in 0,006103516% (100/2^14) | ||
|- | |||
|id="VAL-CSTRING"| CSTRING || variable zero terminated || | |||
|} | |} | ||
Zeile 56: | Zeile 58: | ||
| 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]] || | | 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]] || | | 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% | ||
Zeile 72: | Zeile 74: | ||
| D9 00 05 [[#VAL-ABSCOORD|ABSCOORD]] || move U || 50% | | D9 00 05 [[#VAL-ABSCOORD|ABSCOORD]] || move U || 50% | ||
|- | |- | ||
| CC || ACK from machine || | | CC || ACK from machine || 99% | ||
|- | |||
| CD || FAIL from machine || 99% | |||
|- | |- | ||
| DA.... || get data from machine || | | DA.... || get data from machine || 20% | ||
|- | |- | ||
| A8 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || Straight cut to absolute X Y; turn laser on with configured speed and power || | | A8 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || Straight cut to absolute X Y; turn laser on with configured speed and power || | ||
Zeile 82: | Zeile 86: | ||
| E7 51 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || || | | E7 51 [[#VAL-ABSCOORD|ABSCOORD]] [[#VAL-ABSCOORD|ABSCOORD]] || || | ||
|- | |- | ||
| | | E8 02 E7 01 [[#VAL-CSTRING|CSTRING]] || Set filename for following transfer || 90% | ||
|- | |- | ||
| || || | | || || | ||
|} | |} |
Version vom 20. Mai 2017, 23:52 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
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 |
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.... | get data from machine | 20% |
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 | ||
E8 02 E7 01 CSTRING | Set filename for following transfer | 90% |