Click here to download PDF of this page
The 16-Channel SPDT Relay Slave Module is designed to be used with the Peak Master Interface Module. The Module comprises of 16 single pole double throw 10A, 250VAC relays with LED indication that can be independently controlled by the Peak Master Interface Module. Up to 7 boards can be connected together to 1 Master Interface Module.
Key Features
- Connect Multiple Boards to 1 Master
- 16 High Power Relays
- Wide Voltage Input
- Robust, Flexible Design
- Multiple Connection Methods (Piggyback, Ribbon)
- Low Cost
- Small Size
- High Quality Components
- All Components Fully Traceable
Specifications
Connectivity
Relay Switching Specifications
Communications
All communications to the 16‐Channel SPDT Relay Slave Module are made by sending string commands via the Peak Master
Interface Module.
Commands
1.0.0 – Switching Relays on and off
First configure the relay board:
Binary = 01010011‐????????‐00000100‐00000110‐00000000‐00000111‐00000000‐01010000
Hex = 0x53‐0x??‐0x04‐0x06‐0x00‐0x07‐0x00‐0x50
ASCII = S‐?‐EOT‐ACK‐NUL‐BEL‐NUL‐P
The 1st byte (01010011, 0x53, S) | Start the I²C bus |
The 2nd byte (?) | Address the Relay Board (See Section 1.2.0) |
The 3rd byte (00000100, 0x04, EOT) | We need to send 4 bytes of data. (4th to 7 th byte) |
The 4th byte (00000110, 0x06, ACK) | Address RL1 to RL8 register |
The 5th byte (00000000, 0x00, NUL) | Set all pins to be outputs |
The 6th byte (00000111, 0x07, BEL) | Address RL9 to RL16 register |
The 7th byte (00000000, 0x00, NUL) | Set all pins to be outputs |
The 8th byte (01010000, 0x50, P) | Stop the I²C bus |
This has now configured the relay board, we can now write to the RL1-8 & RL9-16 registers to change the state of the relays.
Binary = 01010011-????????-00000010-00000000-????????-01010000
Hex = 0x53-0x??-0x02-0x00-0x??-0x50
ASCII = S-?-STX-NUL-?-P
The 1st byte (01010011, 0x53, S) | Start the I²C bus |
The 2nd byte (?) | Address the Relay Board (See Section 1.2.0) |
The 3rd byte (00000010, 0x02, STX) | We need to send 2 bytes of data. (4th & 5 th byte) |
The 4th byte (00000000, 0x00, NUL) | Address RL1-RL8 register |
The 5th byte (?) | Set the state of RL1 to RL8, LSB=RL1, MSB=RL8, 0=OFF, 1=ON |
The 6th byte (01010000, 0x50, P) | Stop the I²C bus |
The same command is required to switch RL9 to RL16 but the 4th byte will need to be 00000001 (0x01(SOH)) to address the RL9-16 register.
1.1.0 - Reading Relay Switch State
Binary = 01010011-????????-00000001-00000000-01010000-01010011-01001111-00000001-01010000
Hex = 0x53-0x??-0x01-0x00-0x50-0x53-0x4F-0x01-0x50
ASCII = S-?-SOH-NUL-P-S-O-SOH-P
The 1st byte (01010011, 0x53, S) | Start the I²C bus |
The 2nd byte (?) | Address the Relay Board (See Section 1.2.0) |
The 3rd byte (00000001, 0x01, SOH) | We need to send 1 byte of data. (4th byte) |
The 4th byte (00000010, 0x00, NUL) | Address RL1-8 register |
The 5th byte (01010000, 0x50, P) | Stop the I²C bus |
The 6th byte (01010011, 0x53, S) | Start the I²C bus |
The 7th byte (01001111, 0x4F, O) | Address the RL1-8 register asking to send data |
The 8th byte (00000001, 0x01, SOH) | Send 1 byte of data |
The 9th byte (01010000, 0x50, P) | Stop the I²C bus |
*After this command you must read 1 byte of data from the seral bus. This byte of data will show the state of the port, LSB=RL1, MSB=RL8, 0=OFF, 1=ON.
The same command is required to read the state of RL9-16 but the 4th byte will need to be 00000001 (0x01(SOH)) to address the RL9-16 register.
1.2.0 – Relay Board Addressing
Up to 7 relay boards can be connected to one Master Interface Module, the 3 pole DIP switch must be set as shown below and the associated Writing & Reading Address must be inserted into the data string examples in sections 1.0.0 & 1.1.0.