KSM (Pfaff professional) Design format
Explanation of Abbreviations :
|
= hexadecimal = decimal = Most significant Bit = Least significant Bit = Value varies or unknown |
Design data starts at 200 HEX = Byte 512 DEC, with first Byte in file numbered 0 (zero)
Three Bytes per stitch
first two Bytes hold unsigned x and y data
third byte holds signing plus color change info
Examples :
Adress: | Hex values: | Binary equivalent : | Explanation (Dec.) | |||||
NNNN | 0F | 02 | 80 | 00001111 | 00000010 | 10000000 | y+15 | x+2 |
NNNN | 0A | 06 | C0 | 00001010 | 00000110 | 11000000 | y+10 | x-6 |
NNNN | 03 | 7F | A0 | 00000011 | 01111111 | 10100000 | y-3 | x+127 |
NNNN | 20 | 13 | E0 | 00100000 | 00010011 | 11100000 | y-32 | x-19 |
Bytes 1 and 2 of each stitch hold the unsigned stitch length,
bit 7 of byte three is ALWAYS set, bit 6 (of byte three) tells you wether
y is negative while bit 5 will negate x.
Color changes : |
||||||||
NNNN | 03 | 08 | 99 | 0000011 | 00001000 | 10011001 | y+3 | x+8 |
Bits 0,3,4 of byte three set tell you this is a color change record. |