AC Socket is an enhanced AC socket. It supports custom RS485 communication, allowing multiple AC sockets to be connected in series on the same RS485 bus. Through serial communication, multiple AC sockets can be controlled simultaneously, making it suitable for general industrial applications.
Specification | Parameter |
---|---|
Net weight | 120.0g |
Gross weight | 158.0g |
Product size | 52 x 52 x 60mm |
Package size | 72 x 102 x 72mm |
The AC Socket is constructed by combining the socket panel with the BASE26 base. The base has a 3-pin interface embedded on the side, which serves as the power input for the AC socket.
Easyloader | Download | Note |
---|---|---|
AC Socket Test Easyloader | download | / |
Host sends:
AA 05 00 00 FF 00 95 E1
(Close coil)
AA 05 00 00 00 00 D4 11
(Open coil)
Sent Content | Bytes | Sent Message | Remarks |
---|---|---|---|
Module Address | 1 | AAH | 00H is the broadcast address |
Function Code | 1 | 05H | Write single coil |
Start Register Address | 2 | 0000H | Coil 0 address |
Write Data | 2 | FF00H | FF00H: Close coil | 0000H: Open coil |
CRC Check | 2 | XXXXH | CRC code (CRC16) of all previous data |
Slave response:
Operation successful returns original data:
AA 05 00 00 FF 00 95 E1
Operation failed returns:
AA 85 Error Code CRC_L CRC_H
Host sends:
AA 01 00 00 00 01 E4 11
Sent Content | Bytes | Sent Message | Remarks |
---|---|---|---|
Module Address | 1 | AAH | 00H is the broadcast address |
Function Code | 1 | 01H | Read coil |
Start Register Address | 2 | 0000H | Coil 0 address |
Read Quantity | 2 | 0001H | Can only be 0001H |
CRC Check | 2 | XXXXH | CRC code (CRC16) of all previous data |
Slave response:
Operation successful returns:
Address | Function Code | Return Data Length | Coil Status | CRC_L | CRC_H |
---|---|---|---|---|---|
AA | 01 | 01 | 01 | B0 | 6C |
Coil status: 01H -> Coil closed
/ 00H -> Coil open
Operation failed returns: AA 81 Error Code CRC_L CRC_H
Host sends:
AA 41 00 00 00 12 A4 13
Sent Content | Bytes | Sent Message | Remarks |
---|---|---|---|
Module Address | 1 | AAH | 00H is the broadcast address |
Function Code | 1 | 41H | Set module address |
Start Register Address | 2 | 0000H | Address |
New Module Address | 1 | 12H | 1 byte |
CRC Check | 2 | XXXXH | CRC code (CRC16) of all previous data |
Slave response:
Operation successful returns original data:
AA 41 00 00 00 12 A4 13
Operation failed returns:
AA C1 Error Code CRC_L CRC_H
Host sends:
00 42 00 00 A0 30
Sent Content | Bytes | Sent Message | Remarks |
---|---|---|---|
Broadcast Address | 1 | 00H | 00H is the broadcast address |
Function Code | 1 | 42H | Restore address to AAH |
Start Register Address | 2 | 0000H | Address |
CRC Check | 2 | XXXXH | CRC code (CRC16) of all previous data |
Slave response: None