Equipment introduction
The TCP-KP-I404 network relay is an IoT remote control device introduced by Clayman Technology. It can realize remote control and data acquisition of TCP network. The equipment adopts -grade design scheme, equipped with 32-bit ARM processor and 10/100M Ethernet network chip. It has the characteristics of fast speed, strong computing power, high stability and strong anti-interference ability. Users can rest assured to use in environment. The device supports 4 relay outputs and 4 isolated inputs. The relay supports real-time control, delay control and input-output linkage control, daily timing control and custom date control, etc. It is suitable for use in more different occasions and meets the requirements of more users. Input interface status supports passive upload and active timing upload.
Example of control instructions.
The secondary development is simple and convenient. The parameter setting, relay control, and input interface status are all controlled by the AT command. The AT command is in the ACSII format, ending with a carriage return line feed, for example:
effect
Computer sending
Network relay reply
Relay OUT1 is connected in real time
AT+STACH1=1
OK
Relay OUT1 is disconnected in real time
AT+STACH1=0
OK
The relay OUT is pulled in and the delay is 10 seconds.
AT+STACH1=1,10
OK
The relay OUT is disconnected and the delay is 10 seconds.
AT+STACH1=0,10
OK
Read relay OUT1 real-time status
AT+STACH1=?
STACH1:110 (sucking state, disconnected after 10 seconds)
STACH1:010 (disconnected state, pull in after 10 seconds)
AT+OCCH1=?
special function,