Online only

Modbus Rtu 2-Way Relay Output 2-Way Input Switch TTL / RS485 Interface Communication

2IO-RS485-RELAY-CONTROL

New product

This product is no longer in stock

share

By buying this product you can collect up to 42 loyalty points. Your cart will total 42 points that can be converted into a voucher of ₹ 4.20.


₹ 425.00 tax excl.

Add to wishlist

More info

Hardware Resources:

  • RS485 communication interface
  • TTL communication interface
  • 2 optocoupler isolation input
  • 2 way optocoupler isolation output
  • A user button
  • A user LED
  • A power indicator
  • A STM32F030F4 microcontroller
  • 2 relay status indicators LED lights
  • Power supply terminal interface (12V power supply)




Modbus RTU Instructions:

Baud rate: 9600 8 NONE 1

Hexadecimal send
hexadecimal receive

Operation steps:  
1. Software settings communication baud rate
2. Set the address (communication using the device address, the default address is 01)
                                                          
/ ********************** ********************************************* /
Set the address to: 09
01 10 00 00 00 01 02 00 09 66 56 // Current address 01 is changed to 09

00 10 00 00 00 01 02 00 09 6B C6 // Broadcast Address Modified to 09

Read Address
00 03 00 00 00 01 85 db
Return:
00 03 02 00 01 44 44 // 01 for Address

/ ************************************************* ****************** /
/ ****************************** ************************************* /
Meaning of each byte:
[address 1]
// --------------------------------------------
No. 1 relay is on : 01 05 00 01 01 00 9d 9a

Byte 1: address
byte 2: function
byte 3 4: register address
byte 5 6: register data
byte 7 8: CRC check

// ================================================ ==============
[Address 1]
// ----------------------------- ---------------
0 relay ON: 01 05 00 00 FF 00 8C 3A
0 relay off: 01 05 00 00 00 00 CD CA
// ------- -------------------------------------
No. 1 relay ON: 01 05 00 01 FF 00 DD FA  
No. 1 relay off: 01 05 00 01 00 00 9C 0A  
// ----------------------------------- --------
No. 2 relay open: 01 05 00 02 FF 00 2D FA
No. 2 relay off: 01 05 00 02 00 00 6C 0A  
// -----------------------------
// =================== ================================================== = Full
off: 01 0F 00 00 00 08 01 00 FE 95
all bright: 01 0F 00 00 00 08 01 FF BE D5

/ ************************************************* ********************* /

Read all relay states:

Send: 01 01 00 00 00 08 3D CC

Return: 01 01 01 00 51 88 Relay fully closed

Return: 01 01 01 03 11 89 All relays are on

/ ************************************************* ******************** /
Read all input switch status
Send: 01 02 00 00 00 08 79 CC // Read 8 input states
Return: 01 02 01 00 A1 88


4 other products in the same category:

* Local stocks, Lightning 

fast delivery

*

Every time you shop - no minimum order value.

View details