Autor Thema: Read/write Bit ModbusRTU  (Gelesen 1102 mal)

Offline Software

  • Newbie
  • *
  • Beiträge: 1
Read/write Bit ModbusRTU
« am: Juli 04, 2023, 08:48:04 Vormittag »
Hello,
I need to control a Eaton DE1 motor driver via ModbusRTU using an E4-UC-12RC1 cpu with a COM-RTU-M1 communication expansion.
Using the ModbusRTU slave module in the project view i'm able to read all registers of the DE1 using the function FC3.
The problem begins when i try to set the de1 in operational mode (motor in run) and trying to change from clockwise rotation and counterclockwise, to do this I have to write a bit of one registrer, using the funtion FC6 but I can't find the way to do this.
With another appliance I was able to do all this things using the function 6xbit and specifying the register and the bit like 6xbit 0000101.
Thanks for all can help.

Offline radar17892

  • Sr. Member
  • ****
  • Beiträge: 712
  • Think easy!
    • mollgruppe
Antw:Read/write Bit ModbusRTU
« Antwort #1 am: Juli 05, 2023, 12:25:01 Nachmittag »
hi software,

please send a picture of your RTU config.

I think you need only 3 words of incommig data and 2 words to control the DE1

see also the manual MN040018EN Modbus RTU Communication

regards Thomas
Weil Einfach einfach Einfach ist!