본문 바로가기

프로그래밍/프로그래밍_여러가지

MODBUS - Huanyang HY01D523B VFD, RS485 MODBUS Protocol, RTU Mode

반응형

 

Huanyang HY01D523B VFD, RS485 MODBUS Protocol, RTU Mode

 

Format

 

 

RTU mode all data : Hex

 

 

 

01. Function Read (Last 2 bytes are CRC value)

 

 

  TX: 04 01 03 01 00 00 6D DB --- PD001 : Source of run Commands
  RX: 04 01 02 01 02 F5 AD --- 02 -> Communication port

 

  TX: 04 01 03 02 00 00 9D DB --- PD002 : Source of Operationg Frequency
  RX: 04 01 02 02 02 F5 5D --- 02 -> Communication port

 

  TX: 04 01 03 03 00 00 CC 1B --- PD003 : Main Frequency
  RX: 04 01 03 03 17 70 C2 0F --- 17 70 -> 6000 : 60 Hz

 

  TX: 04 01 03 04 00 00 7D DA --- PD004 : Base Frequency
  RX: 04 01 03 04 17 70 73 CE --- 17 70 -> 6000 : 60 Hz

 

  TX: 04 01 03 05 00 00 2C 1A --- PD005 : Max Operating Frequency
  RX: 04 01 03 05 17 70 22 0E --- 17 70 -> 6000 : 60 Hz

 

  TX: 04 01 03 06 00 00 DC 1A --- PD006 : Intermediate Frequency
  RX: 04 01 03 06 00 FA 5C 59 --- 00 FA -> 250 : 2.5 Hz

 

  TX: 04 01 03 07 00 00 8D DA --- PD007 : Min. Frequency
  RX: 04 01 03 07 00 32 0C 0F --- 00 32 -> 50 : 0.5 Hz

 

  TX: 04 01 03 08 00 00 BD D9 --- PD008 : Max. Votage
  RX: 04 01 03 08 08 98 BB B3 --- 08 98 -> 2200 : 220V

 

  TX: 04 01 03 A3 00 00 CC 39 --- PD163 : Communication Addresses
  RX: 04 01 02 A3 04 0C CF --- 04 -> Address is 4

 

  TX: 04 01 03 A4 00 00 7D F8 --- PD164 : Communication Baud Rate
  RX: 04 01 02 A4 01 CE FC --- 01 -> 9600 b/s

 

  TX: 04 01 03 A5 00 00 2C 38 --- PD165 : Communication Data Method
  RX: 04 01 02 A5 03 4E AD --- 03 -> 8N1 For RTU

 

 

02. Function Write (Last 2 bytes are CRC value)

 


  TX: 04 02 03 08 04 4C FA EC --- PD008 : Max. Votage ( 04 4C : 110V)

  TX: 04 02 03 08 08 98 FF B3 --- PD008 : Max. Votage ( 08 98 : 220V )

 

 

 

03. Write Control Data (Last 2 bytes are CRC value)

 

 

  TX: 04 03 01 01 31 44 --- Forward
  TX: 04 03 01 08 F1 42 --- Stop

  TX: 04 03 01 03 B0 85 --- ?
  TX: 04 03 01 02 71 45 --- Reverse
  TX: 04 03 01 00 F0 84 --- Run

 

 

 

04. Read Control Status Data (Last 2 bytes are CRC value)

 

 


  TX: 04 04 03 00 00 00 F0 1B --- Read Set Friquancy
  TX: 04 04 03 01 00 00 A1 DB --- Read Out Friquancy

 

 

 

05. Write Inverter Frequency Data (Last 2 bytes are CRC value)

 

 

  TX: 04 05 02 00 00 74 CC --- 0.00 Hz
  TX: 04 05 02 03 E8 74 72 --- 10.00 Hz
  TX: 04 05 02 07 D0 77 60 --- 20.00 Hz
  TX: 04 05 02 0B B8 73 8E --- 30.00 Hz
  TX: 04 05 02 0F A0 71 44 --- 40.00 Hz
  TX: 04 05 02 13 88 79 9A --- 50.00 Hz
  TX: 04 05 02 17 70 7A D8 --- 60.00 Hz
  TX: 04 05 02 1B 58 7F C6 --- 70.00 Hz
  TX: 04 05 02 1F 40 7D 0C --- 80.00 Hz
  TX: 04 05 02 23 28 6D E2 --- 90.00 Hz
  TX: 04 05 02 27 10 6E F0 --- 100.00 Hz
  TX: 04 05 02 4E 20 40 B4 --- 200.00 Hz
  TX: 04 05 02 61 A8 5C E2 --- 250.00 Hz
  TX: 04 05 02 75 30 52 48 --- 300.00 Hz
  TX: 04 05 02 9C 40 1C 3C --- 400.00 Hz

 

 

 

 

 

 

 

 

 

 

반응형