2 Socket protocol. |
2 Socket protocol. |
3 |
3 |
4 All commands are 16 bits unsigned integers. |
4 All commands are 16 bits unsigned integers. |
5 |
5 |
6 D15 D14 D13 D12 D11 D10 RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 |
6 D15 D14 D13 D12 D11 D10 RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 |
7 0 0 0 LC2 LC1 LC0 0 0 0 0 0 0 0 0 0 1 Screen clear, home |
7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Null command to get keys state. |
8 0 0 0 LC2 LC1 LC0 0 0 0 0 0 0 0 0 1 . DDRAM AD=0, return |
8 LC2 LC1 LC0 0 0 0 0 0 0 0 0 0 0 0 0 1 Screen clear, home |
9 0 0 0 LC2 LC1 LC0 0 0 0 0 0 0 0 1 I/D S Set moving direction of cursor |
9 LC2 LC1 LC0 0 0 0 0 0 0 0 0 0 0 0 1 . DDRAM AD=0, return |
10 0 0 0 LC2 LC1 LC0 0 0 0 0 0 0 1 D C B Display Cursor Blink on/off |
10 LC2 LC1 LC0 0 0 0 0 0 0 0 0 0 0 1 I/D S Set moving direction of cursor |
11 0 0 0 LC2 LC1 LC0 0 0 0 0 0 1 S/C R/L . . Remove cursor and display |
11 LC2 LC1 LC0 0 0 0 0 0 0 0 0 0 1 D C B Display Cursor Blink on/off |
12 0 0 0 LC2 LC1 LC0 0 0 0 0 1 DL N F . . Set DL display line font |
12 LC2 LC1 LC0 0 0 0 0 0 0 0 0 1 S/C R/L . . Remove cursor and display |
13 0 0 0 LC2 LC1 LC0 0 0 0 1 Set CGRAM send/receive data |
13 LC2 LC1 LC0 0 0 0 0 0 0 0 1 DL N F . . Set DL display line font |
14 0 0 0 LC2 LC1 LC0 0 0 1 Set DDRAM sebd/receive data |
14 LC2 LC1 LC0 0 0 0 0 0 0 1 Set CGRAM send/receive data |
15 0 0 0 LC2 LC1 LC0 0 1 BF Busy Flag |
15 LC2 LC1 LC0 0 0 0 0 0 1 Set DDRAM sebd/receive data |
16 0 0 0 LC2 LC1 LC0 1 0 Write data to CGRAM or DDRAM |
16 LC2 LC1 LC0 0 0 0 0 1 BF Busy Flag |
17 0 0 0 LC2 LC1 LC0 1 1 Read data from CGRAM or DDRAM |
17 LC2 LC1 LC0 0 0 0 1 0 Write data to CGRAM or DDRAM |
18 0 0 1 LC2 LC1 LC0 0 0 0 0 0 0 0 0 0 . LED on/off |
18 LC2 LC1 LC0 0 0 0 1 1 Read data from CGRAM or DDRAM |
19 0 1 0 LC2 LC1 LC0 0 0 0 0 0 0 0 0 0 . Buzzer on/off |
19 LC2 LC1 LC0 0 0 1 0 0 . . . . . . . . LEDs, buzzer on/off |
|
20 LC2 LC1 LC0 0 1 0 0 1 0 0 0 0 Up Dwn Ret Ent Keys pressed |
20 |
21 |
21 |
22 |
22 LC2 LC1 LC0 are the device index, 0..7 |
23 LC2 LC1 LC0 are the device index, 0..7 |
|
24 LEDs: DB0 Control LED on thermferm panels |
|
25 DB1 HLT heater |
|
26 DB2 MLT heater |
|
27 DB3 MLT pump/mixer |
|
28 DB7 Buzzer |
23 |
29 |
|
30 The thermferm or brewco units are leading, they send data and get a reply. |
|
31 The sending data will mostly be display data mixed with LEDs. The replies |
|
32 will mostly be the current key states, even if not changed. If the leading |
|
33 program just wants key states, it should send a 0 to the brewpanel. |
|
34 |
|
35 |