{"product_id":"modbus-rtu-8-channel-relay-module-rs485-ttl-uart-8ch-input-8ch-output","title":"Modbus RTU 8 Channel Relay Module RS485\/TTL UART 8CH-Input 8CH-Output","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eLC\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003enone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cdiv\u003e\u003cspan style=\"font-size:18px;font-family:arial, helvetica, sans-serif\"\u003e\u003cstrong\u003eOverview\u003c\/strong\u003e\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;text-align:left;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\" align=\"left\"\u003eLC 8 channel Modbus relay module equipped with mature and stable 8-bit MCU and RS485 level communication chip,adopt standard MODBUS RTU format RS485 communication protocol ,It can realize 8 channel optocoupler input signal detection and 8 channel relay output, can be used for digital detection or power control occasions.\u003c\/p\u003e\u003c\/div\u003e\n\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;text-align:left;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\" align=\"left\"\u003e\u003cspan style=\"font-size:18px;font-family:arial, helvetica, sans-serif\"\u003e\u003cstrong\u003eFunctions\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;text-align:left;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\" align=\"left\"\u003e1.On-board mature and stable STM8S103K3T6 MCU and MAX485 level communication chip\u003cbr\u003e2.Communication protocol:support standard Modbus RTU protocol\u003cbr\u003e3.Communication Interface:support RS485\/5V Level TTL UART interface\u003cbr\u003e4.Communication baud rate: 4800\/9600\/19200，default 9600bps, Support power-down save\u003cbr\u003e5.Optocoupler input signal range, DC3.3-30V(this input not available for relay control)\u003cbr\u003e6.Output signal: relay switch signal, support manual control,flash OFF\/ON mode,The delay base is 0.1S,the maximum allowable flash OFF\/ON time is 0xFFFF*0.1S=65535*0.1S=6553.5S\u003cbr\u003e7.Device address:range: 1-255,default 255,Support power-down save\u003cbr\u003e8.Baud rate\/optocoupler input status\/relay status\/device address can be read by software\/commands\u003cbr\u003e9.On-board 8 channel 5V,10A\/250V AC 10A\/30V DC relay,can continuously sucking 100,000 times, it has Diode flow protection for short response times.\u003cbr\u003e10.On-board relay switch indicator\u003cbr\u003e11.Reserve STM8 SWIM  programming port， support customers' secondary development to download their own firmware\u003cbr\u003e12.Supply voltage:DC7-30V, adopt 5.08mm terminal power supply\u003c\/p\u003e\u003c\/div\u003e\u003c\/div\u003e\n\u003c\/div\u003e\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;text-align:left;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\" align=\"left\"\u003e\u003cspan style=\"font-size:18px;font-family:arial, helvetica, sans-serif\"\u003e\u003cstrong\u003eHardware introduction and description\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;text-align:left;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\" align=\"left\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e1.Board size: 143*79.8 （not include case） ,Weight: 145g(not include case)\u003c\/span\u003e\u003c\/p\u003e\u003c\/div\u003e\u003c\/div\u003e\u003c\/div\u003e\u003c\/div\u003e\n\u003c\/div\u003e\u003c\/div\u003e\u003c\/div\u003e\u003c\/div\u003e\u003cp\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/Se1c73e64344d4e53a3ce26ad90115eddS.png\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cdiv\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e2.Interface description\u003c\/span\u003e\u003c\/div\u003e\u003c\/div\u003e\u003cp\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/Se461c1f7c798440ab4aafa792c8ab73a0.png\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e1.VCC,GND: DC7-30V 5.08mm power input terminal\u003cbr\u003e2.DC3.3-30V Optocoupler signal input\u003cbr\u003eIN1-IN8: channel 1-channel 8  positive \u003cbr\u003eGND_IN: channel 1-channel 8 Common negative\u003cbr\u003e3.A+,B-: RS485 communication Interface, A+, B- are respectively connected to A+, B- of the external control terminal\u003cbr\u003e4.5V,SWIM,GND,NRST: STM8 SWIM program download port\u003cbr\u003e5.TXD,RXD,GND: TTL level  UART Communication Interface,TXD,RXD,GND respectively connected to the external control terminal RXD,TXD,GND,only support 5V  level TTL module \/MCU. Recommended wiring sequence :Modbus module  power  on - Modbus module connect TTL module -TTL module power on\u003cbr\u003e6.RST: MCU reset button\u003cbr\u003e7.Relay switch signal output\u003cbr\u003eNO: normally opened end,the NO disconnect with COM when relay released and connect with COM when relay closed\u003cbr\u003eCOM: common end\u003cbr\u003eNC: Normally closed end ,the NC disconnect with COM when relay closed and connect with COM when relay released\u003c\/span\u003e\u003c\/p\u003e\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;text-align:left;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\" align=\"left\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cstrong\u003eDescription of Modbus RTU\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003eModbus device through receive from external control terminal (like Host computer\/MCU )Modbus RTU  instruction to perform related operations, one frame instruction generally consists of device address, function code, register address, register data, and check code,frame length is related to function code. Each frame date’s first byte is the device address.can set range on 1-255 default 255(scilicet  0xFF),the last 2byte is CRC check code.\u003cbr\u003esuppose the device address is 255, the commonly used Modbus RTU instructions are as follows:\u003cbr\u003e1.Turn on the relay No. 1 (manual mode)\u003cbr\u003eSend: FF 05 00 00 FF 00 99 E4\u003cbr\u003eReturn: FF 05 00 00 FF 00 99 E4\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;text-align:left;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\" align=\"left\"\u003e\u003ci\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003eRemark:\u003c\/span\u003e\u003c\/i\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;text-align:left;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\" align=\"left\"\u003e\u003ci\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e(1)send the 3--4th byte of the transmitted frame represents the relay address,the relay 1-relay 8 address are respectively 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007.\u003cbr\u003e(2)The 5--6th byte of the transmitted frame represents the data, 0xFF00 represent turn on relay,0x0000 represent turn off relay.\u003c\/span\u003e\u003c\/i\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e2.Turn off the relay No. 1 (manual mode)\u003cbr\u003eSend: FF 05 00 00 00 00 D8 14\u003cbr\u003eReturn: FF 05 00 00 00 00 D8 14\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e3.Turn on the relay no.2 (manual mode)\u003cbr\u003eSend: FF 05 00 01 FF 00 C8 24\u003cbr\u003eReturn: FF 05 00 01 FF 00 C8 24\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e4.Turn off the relay No. 2 (manual mode)\u003cbr\u003eSend: FF 05 00 01 00 00 89 D4\u003cbr\u003eReturn: FF 05 00 01 00 00 89 D4\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e5.Turn on all relay\u003cbr\u003eSend: FF 0F 00 00 00 08 01 FF 30 1D\u003cbr\u003eReturn: FF 0F 00 00 00 08 41 D3\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e6.Turn off all relay\u003cbr\u003eSend: FF 0F 00 00 00 08 01 00 70 5D\u003cbr\u003eReturn: FF 0F 00 00 00 08 41 D3\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e7.Set the device address to 1\u003cbr\u003eSend: 00 10 00 00 00 01 02 00 01 6A 00\u003cbr\u003eReturn: 00 10 00 00 00 01 02 00 01 6A 00\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: The 9th byte of the transmitted frame,0x01 is the written device address.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e8.Set the device address to 255\u003cbr\u003eSend: 00 10 00 00 00 01 02 00 FF EB 80 \u003cbr\u003eReturn: 00 10 00 00 00 01 02 00 FF EB 80\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: The 9th byte of the transmitted frame, 0xFF is the written device address.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e9.Read device address\u003cbr\u003eSend: 00 03 00 00 00 01 85 DB\u003cbr\u003eReturn: 00 03 02 00 FF C5 C4\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: The 5th byte of the Return frame, 0xFF is the read device address.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e10.Read device address\u003cbr\u003eSend: FF 01 00 00 00 08 28 12\u003cbr\u003eReturn: FF 01 01 01 A1 A0\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: The 4th byte of the Return frame,the Bit0--Bit7 of 0x01 representing relay 1-relay 8, 0 is turn off .1 is turn on.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e11.Read optocoupler input status\u003cbr\u003eSend: FF 02 00 00 00 08 6C 12 \u003cbr\u003eReturn: FF 02 01 01 51 A0 \u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: The 4th byte of the Return frame, the Bit0--Bit7 of 0x01 represent input signal of optocoupler1- optocoupler 8, 0 represent low level ,1 represent high level.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e12.Set the baud rate to 4800\u003cbr\u003eSend: FF 10 03 E9 00 01 02 00 02 4A 0C \u003cbr\u003eReturn: FF 10 03 E9 00 01 C5 A7\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: The 9th byte of the transmitted frame is the baud rate setting value, 0x02, 0x03, 0x04 represents 4800, 9600, 19200.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e13.Set the baud rate to 9600\u003cbr\u003eSend: FF 10 03 E9 00 01 02 00 03 8B CC\u003cbr\u003eReturn: FF 10 03 E9 00 01 C5 A7\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e14.Set the baud rate to 19200\u003cbr\u003eSend: FF 10 03 E9 00 01 02 00 04 CA 0E\u003cbr\u003eReturn: FF 10 03 E9 00 01 C5 A7\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e15.Read the baud rate\u003cbr\u003eSend: FF 03 03 E8 00 01 11 A4 \u003cbr\u003eReturn: FF 03 02 00 04 90 53\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: The 5th byte of the Return frame represent read baud rate, 0x02, 0x03, x04 represents 4800,9600,19200.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e16.Turn on no.1 relay (flash off mode 2S)\u003cbr\u003eSend: FF 10 00 03 00 02 04 00 04 00 14 C5 9F\u003cbr\u003eReturn: FF 10 00 03 00 02 A4 16\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: \u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003e(1)The 3-4th byte of the transmitted frame is represent relay address,relay1-relay8’s address  separately is 0x0003,0x0008,0x000D,0x0012,0x0017,0x001C,0x0021,0x0026 .\u003cbr\u003e(2)The 10th-11th byte of the transmitted frame represents the delay setting value, and the delay base is 0.1S, so the delay time is 0x0014*0.1=20*0.1S=2S, and the relay automatically turn off after turned on 2S.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e17.Turn off no.1 relay (flash off mode 3S)\u003cbr\u003eSend: FF 10 00 03 00 02 04 00 02 00 1E A5 99\u003cbr\u003eReturn: FF 10 00 03 00 02 A4 16\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003eRemark: \u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003ci\u003e(1)The 3th-4th byte of the transmitted frame is represent relay address,relay1-relay8’s address separately is 0x0003,0x0008,0x000D,0x0012,0x0017,0x001C,0x0021,0x0026.\u003cbr\u003e(2)The 10th-11th byte of the transmitted frame represents the delay setting value, and the delay base is 0.1S, so the delay time is 0x001E*0.1=30*0.1S=3S.\u003c\/i\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:18px;font-family:arial, helvetica, sans-serif\"\u003e\u003cstrong\u003eSimple instructions\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003eModbus relay module can via RS485\/TTL UART interface received from host computer \/MCU’s  Modbus RTU command to perform related operations.The following is an example of using the host computer software via the RS485 interface to open relay 1 and 2 (manual mode),suppose device address for 255.baud rate is 9600,Then steps of usage as follows:\u003cbr\u003e1.5.08mm terminal’s VCC，GND connect power supply.\u003cbr\u003e2.A+，B- : respectively USB turn RS485 module output terminal  A+ and B-.\u003cbr\u003e3.Turn on host computer software ModbusRTU configuration Tool,choose correct port number, baud rate is 9600.default address is 255,click open serial ports.\u003cbr\u003e4.Then click ”JD1 ON” button can turn on relay 1 and 8 ,meanwhile indicator of relay  lights up .as below:\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/Se222eb72272e42b394682b33ad084263E.png\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/S1c669fb6e8e14ec1a736682ff08453bfp.png\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\n\u003cdiv\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:18px;font-family:arial, helvetica, sans-serif\"\u003e\u003cstrong\u003eHow to generate check code\u003c\/strong\u003e\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003eModbus RTU command are send through upper PC software (like:ModbusRTU configuration Tool ),CRC check code is auto generated, if want use serial debugging software (like SSCOM )to test Modbus relay module then need manually generated\u003cbr\u003eCRC check code put on the end of transmitted frame, such as turn on the first relay (manual mode)\u003cbr\u003e1.Turn on\/off of relay (manual mode) transmitted frame composition:\u003cbr\u003e\u003c\/span\u003e\u003cspan style=\"font-size:12px;font-family:arial, helvetica, sans-serif\"\u003edevice address （1Byte）+function code（1Byte）+ register address（2Byte） +register data (2Byte）+CRC check code (2Byte）\u003c\/span\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e\u003cbr\u003e2.Suppose the device address is 0xFF, Then the first 6 bytes of the transmitted frame are FF 05 00 00 FF 00\u003cbr\u003e3.Use the CRC check tool to check the 6 bytes:http:\/\/www.ip33.com\/crc.html\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/Sbdfda336d1bf459facf0da8c366ca77cS.png\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\n\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:14px;font-family:arial, helvetica, sans-serif\"\u003e4.Exchange checksum calculation result E499 high and low byte position then get CRC check code 99E4,and complete transmission frame:FF 05 00 00 FF 00 99 E4\u003cbr\u003e5.Through serial port debugging software SSCOM V5.13.1 use the transmission frame send to modbus relay module can open first way relay (manual mode),as bellow:\u003c\/span\u003e\u003c\/p\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cp style=\"text-align:left\" align=\"left\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/S38d0f47f51274ec5bd7ddfc2b73d7fe0N.png\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003ci\u003ePlease refer our data if you need more detailed instructions and usage of way in host computer control modbus relay.\u003c\/i\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/S87dd507f9bab41e5960871babfa632b6g.png\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\n\u003c\/div\u003e\u003cp style=\"text-align:left\" align=\"left\"\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Yoeruyo","offers":[{"title":"Blue \/ China Mainland","offer_id":55514614399275,"sku":"14:173;200007763:201336100","price":58.68,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1000\/5744\/8747\/files\/S86815915170c44688f07691ec04dae0fw.webp?v=1789012807","url":"https:\/\/yoeruyo.com\/products\/modbus-rtu-8-channel-relay-module-rs485-ttl-uart-8ch-input-8ch-output","provider":"Yoeruyo","version":"1.0","type":"link"}