16 Channel Rail Rs485 Commamd
16 Channel Rail Rs485 Commamd
16 Channel Rail Rs485 Commamd
1 This version has 2 Command modes, MODBUS RTU Command and AT Command.
2 The default Command is the MODBUS RTU Command, compatible with older
versions.
3 Switch to AT command by shorting the M0 pad.
4 The default baud rate is 9600BPS. You can also select the baud rate by shorting the M1
and M2 pads.
Note :
1 MODBUS command must be HEX
2 Slave ID (device address) must be consistent with the DIP switches (A0-A5)
Remarks:
1 Momentary mode, delay time is 1 seconds
2 Delay mode, delay time is 1-255 seconds
Return command:
Command is active, return to send commands; instruction is invalid no return.
MODBUS commands you can use "Modbus Poll" input, as shown below
(CRC check generated automatically)
Open all:01 06 00 00 07 00 8B FA
Close all:01 06 00 00 08 00 8E 0A
Read state (assuming that the channel 1 is open, the channel 2 is close).
Read channel 1 state :01 03 00 01 00 01 D5 CA
Return open:01 03 02 00 01 79 84
Note:
1 In the AT command mode slave ID is invalid
2 AT commands must be uppercase, lowercase invalid
3 Jumper switch status: M0's two pads are soldered together, as shown
9600 Band ,8 Data bits,None Parity,1 Stop Bit
Read Status:
Channel 1: AT+R1
Channel 2: AT+R2
Channel 3: AT+R3
Channel 4: AT+R4
Channel 5: AT+R5
Channel 6: AT+R6
Channel 7: AT+R7
Channel 8: AT+R8
Channel 9 :AT+R9
Channel 10:AT+RA
Channel 11:AT+RB
Channel 12:AT+RC
Channel 13:AT+RD
Channel 14:AT+RE
Channel 15:AT+RF
Channel 16:AT+RG
Open :
Channel 1 : AT+O1
Channel 2 : AT+O2
Channel 3: AT+O3
Channel 4: AT+O4
Channel 5: AT+O5
Channel 6: AT+O6
Channel 7: AT+O7
Channel 8: AT+O8
Channel 9 :AT+O9
Channel 10:AT+OA
Channel 11:AT+OB
Channel 12:AT+OC
Channel 13:AT+OD
Channel 14:AT+OE
Channel 15:AT+OF
Channel 16:AT+OG
Close:
Channel 1 : AT+C1
Channel 2 : AT+C2
Channel 3 : AT+C3
Channel 4 : AT+C4
Channel 5: AT+C5
Channel 6: AT+C6
Channel 7: AT+C7
Channel 8: AT+C8
Channel 9 :AT+C9
Channel 10:AT+CA
Channel 11:AT+CB
Channel 12:AT+CC
Channel 13:AT+CD
Channel 14:AT+CE
Channel 15:AT+CF
Channel 16:AT+CG
Toggle (Self-locking)
Channel 1: AT+T1
Channel 2: AT+T2
Channel 3: AT+T3
Channel 4: AT+T4
Channel 5: AT+T5
Channel 6: AT+T6
Channel 7: AT+T7
Channel 8: AT+T8
Channel 9 :AT+T9
Channel 10:AT+TA
Channel 11:AT+TB
Channel 12:AT+TC
Channel 13:AT+TD
Channel 14:AT+TE
Channel 15:AT+TF
Channel 16:AT+TG
Latch (Inter-locking)
Channel 1: AT+L1
Channel 2: AT+L2
Channel 3: AT+L3
Channel 4: AT+L4
Channel 5: AT+L5
Channel 6: AT+L6
Channel 7: AT+L7
Channel 8: AT+L8
Channel 9 :AT+L9
Channel 10:AT+LA
Channel 11:AT+LB
Channel 12:AT+LC
Channel 13:AT+LD
Channel 14:AT+LE
Channel 15:AT+LF
Channel 16:AT+LG
Momentary (Non-locking)
Channel 1: AT+M1
Channel 2: AT+M2
Channel 3: AT+M3
Channel 4: AT+M4
Channel 5: AT+M5
Channel 6: AT+M6
Channel 7: AT+M7
Channel 8: AT+M8
Channel 9 :AT+M9
Channel 10:AT+MA
Channel 11:AT+MB
Channel 12:AT+MC
Channel 13:AT+MD
Channel 14:AT+ME
Channel 15:AT+MF
Channel 16:AT+MG
Delay
Channel 1: AT+D1=XXXX
Channel 2: AT+D2=XXXX
Channel 3: AT+D3=XXXX
Channel 4: AT+D4=XXXX
Channel 5: AT+D5=XXXX
Channel 6: AT+D6=XXXX
Channel 7: AT+D7=XXXX
Channel 8: AT+D8=XXXX
Channel 9:AT+D9=XXXX
Channel 10:AT+DA=XXXX
Channel 11:AT+DB=XXXX
Channel 12:AT+DC=XXXX
Channel 13:AT+DD=XXXX
Channel 14:AT+DE=XXXX
Channel 15:AT+DF=XXXX
Channel 16:AT+DG=XXXX
Example 1:
Send command "AT+D1=0010", Channel 1 is "Open", after delay of 10 seconds, channel 1 is
"Close"
Send command "AT+D2=0100", Channel 2 is "Open", after delay of 100 seconds, channel 2 is
"Close"
Example 2:
Send command "AT+L1", Channel 1 is "Open", other Channels is "Close"
Send command "AT+L2", Channel 2 is "Open", other Channels is "Close"