36 | | * Parameters: |
| 38 | The head uses a simple ascii serial protocol; the serial line uses standard settings: 9600 8N1 (9600 bauds, 8 bits data, no parity, 1 stop bit). The head waits for incoming commands, and send response to them. The 2 axis are identical, and uses the same commands. They both wait for incoming commands; depending of the first value (see below), the command will be sent to one or the other axis. |
| 39 | |
| 40 | A commands always starts with ':', and ends with '\r'. The head response always starts with '=', and also ends with '\r'. As TX/RX lines are wired together, the controller has to first readback its own command, before reading the head response. In the following documentation, the command readback is omitted. |
| 41 | |
| 42 | Parameters used in the documentation: |
38 | | * <pos> position coded with 24 bits (6 ascii digits, hex). low byte is sent first (A35483 is read 8354A3). When switched on, read value is 800000. Right sens increments axis 1; left sens decrements it. Up sens increments axis 2; down decrements it. A complete turn (360°) increments/decrements by 0E6600 (so, the axis can make almost 9 turns before the counter overflow). |
| 44 | * <pos> position coded with 24 bits (6 ascii digits, hex). . |
| 45 | |
| 46 | ||'''Parameter'''||'''What'''||'''allowed value'''||'''Format'''||'''Note'''|| |
| 47 | ||''<axis>''||axis to control||1 or 2||1 ascii digit||1=yaw, 2=pitch axis|| |
| 48 | ||''<pos>''||position||0 to 2²⁴-1||6 ascii digits, hex.||low byte is sent first (A35483 is read 8354A3). When switched on, read value is 800000. Right sens increments axis 1; left sens decrements it. Up sens increments axis 2; down decrements it. A complete turn (360°) increments/decrements by 0E6600 (so, the axis can make almost 9 turns before the counter overflow)|| |
| 49 | |
| 50 | === Merlin/Orion commands set === |