...
As you can see, each device is connected to 3 wires (Data+, Data- & Ground), and there is a termination resistor at each end of the wiring (or bus).
The ground connection is their so the adapter has a referance point for the voltages in Data+ & Data-, and there is some level of circuit protection.
The termination resistors are their to prodide clear signals and stop reflection. Here is a detailed article on that
Protocol
See:
Table 1 of the manual you posted lists the connections as
Red: +10V
Black: SD+
Yellow: SD-
Green: GND
Serial port runs at 9600 baud, no parity, 1 stop bit, 7-bit chars only.
DTR must be HIGH. RTS must be LOW to receive and HIGH to transmit!
All packets are formatted as follows:
DLE STX <data> <checksum> DLE ETX
Sometimes NULs are sent before and after the packet.
note: if DLE occurs in packet it is escaped as DLE NUL!!!
<data> := <dest><command><args>
<checksum> := the 7-bit sum of bytes DLE, STX and <data>
<dest> := a single byte representing destination for packet
<command> := a single byte with command for destination device
<args> := optional string of bytes for command data
References
Reference | URL |
---|---|
Jandy Heater Manuals | https://www.jandy.com/en/products/heaters/jxi Installation: https://www.jandy.com/-/media/zodiac/global/downloads/h/h0574300.pdf Installation Code Handbook: http://www.tagengineering.ca/wp-content/uploads/2015/02/B149-1handbook.pdf |
*** Serial Adaptor Information | |
Jandy-Aqualink RS485 Protocol | https://github.com/sfeakes/AqualinkD/wiki/Jandy-Aqualink-RS485-protocol |
AqualinkD - Opensource Software | https://github.com/sfeakes/AqualinkD |
AqualinkD - Wiki | https://github.com/sfeakes/AqualinkD/wiki |
Controlling RS485 devices | https://www.troublefreepool.com/threads/controlling-rs485-slave-devices-heater-pump-swg-directly-with-pi.221088/ |
...