RELAY CONTROL CODES for K74
Send Hex code to control relays 1-8
Note that in this application, Relays 7 and 8 switch together to determine
polarity of DC voltage.
Colored cells represent codes to move only one motor, forward or reverse.
Motor forward | Motor Reverse | |||||||||||||||||||
Dec | Hex | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | Dec | Hex | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 192 | C0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 193 | C1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | |
2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 194 | C2 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | |
3 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 195 | C3 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | |
4 | 4 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 196 | C4 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | |
5 | 5 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 197 | C5 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | |
6 | 6 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 198 | C6 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | |
7 | 7 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 199 | C7 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | |
8 | 8 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 200 | C8 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | |
9 | 9 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 201 | C9 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | |
10 | A | 0 | 0 | 0 |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