Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RS_485
#1
Hello 
i have KC868-A6 Controller I want To Connect it as Modbus RS-485 A-B wires,  Between  (Sensor Flow ) & controller to monitor data on Arduino Ide using serial monitor . How To Do That ? 
Sensor Flow device Address register map is :

Code:
Register Address Register Type Description Access
40001 (0) Holding Register (4x) Flow Rate Read-only
40002 (1) Holding Register (4x) Temperature Read-only
40003 (2) Holding Register (4x) Pressure Read-only
40010 (9) Holding Register (4x) Flow Totalizer Reset Write-only
40020 (19) Holding Register (4x) Device ID Read/write
40050 (49) Holding Register (4x) Alarm Status Read-only
This table represents:
• Flow Rate (40001): A flow sensor reading available in this register for monitoring.
• Temperature (40002): Temperature sensor data available for monitoring.
• Flow Totalizer Reset (40010): This register allows you to reset the totalizer (write-only).
• Alarm Status (40050): Alarm indications and codes can be read from this register.
Access Types:
• Read-only: You can only retrieve data.
• Write-only: You can only send data (like resetting a value).
• Read/Write: Both reading and writing are allowed.
Modbus Function Codes for Register Access:
• 01 – Read Coils (for 0x addresses)
• 02 – Read Discrete Inputs (for 1x addresses)
• 03 – Read Holding Registers (for 4x addresses)
• 04 – Read Input Registers (for 3x addresses)
• 05 – Write Single Coil
• 06 – Write Single Holding Register
• 16 – Write Multiple Registers


Can any one Help me please ?
Reply


Messages In This Thread
RS_485 - by ka.mobo - 12-03-2024, 01:19 PM
RE: RS_485 - by admin - 12-03-2024, 11:00 PM
RE: RS_485 - by ka.mobo - 12-04-2024, 05:11 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)