Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Modbus protokoll rs485
(section)
From Chaosdorf Wiki
Views
Read
Edit
Edit source
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Modbus Rtu 2 === Hardware Resources: Data register address * RS485 communication interface * TTL communication interface * 2 Input ( max. DC +12 Volt UB ) * 2 Relay 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) Meaning of each byte:<br> <br> Byte 1: address <br> byte 2: function <br> byte 3 4: register address <br> byte 5 6: register data <br> byte 7 8: CRC check <br> <br> [address 1 bzw. UID 0x01]<br> Switch Single {| class="wikitable" ! colspan="8"| Hex Data !! colspan="1"| Funktion |- | Adresse || Funktion || Reghigh || Reglow || Data 1 || Data 2 || CRChigh || CRClow || Funktion |- | 01 || 05 || 00 || 00 || FF || 00 || 8C || 3A || 0 relay ON |- | 01 || 05 || 00 || 00 || 00 || 00 || CD || CA || 0 relay off |- | 01 || 05 || 00 || 01 || FF || 00 || DD || FA || 1 relay ON |- | 01 || 05 || 00 || 01 || 00 || 00 || 9C || 0A || 1 relay off |- |} all Funktion {| class="wikitable" ! colspan="8"| Hex Data !! colspan="1"| Funktion |- | Adresse || Funktion || Reghigh || Reglow || Data 1 || Data 2 || Data 3 || Data 4 || CRChigh || CRClow || Funktion |- | 01 || 0F || 00 || 00 || 00 || 08 || 01 || 00 || FE || 95 || Full Relay off |- | 01 || 0F || 00 || 00 || 00 || 08 || 01 || FF || BE || D5 || Full Relay on |- | || || || || || || || || || || |- | 01 || 02 || 00 || 00 || 00 || 08 || || || 79 || CC || Send : Read all input switch status |- | 01 || 02 || 01 || 00 || || || || || A1 || 88 || Return : 8 input states |- |} Quelle - https://hacktronics.co.in/2-channel-relay-module/modbus-rtu-2-way-relay-output-2-way-input-switch-ttl-rs485-interface-communication <br>
Summary:
Please note that all contributions to Chaosdorf Wiki are considered to be released under the Attribution 3.0 Unported (see
Chaosdorf Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)