585,942 active members*
3,204 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Spindles / VFD > RS485 commands for Huanyang VFD (HY02D223B)
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2015
    Posts
    2

    Question RS485 commands for Huanyang VFD (HY02D223B)

    Hi,

    I'm trying to implement Modbus support for my Huanyang VFD (HY02D223B) into Smoothieboard which works nearly as expected :-)
    I can send the run command as well as the stop command but if i send the command for a speed change nothing happens!?

    I changed these parameters:


    • PD001: 2 (Source of run commands: communication port)
    • PD002: 2 (Source of operating frequency: communication port)
    • PD163: 1 (Communication address: 1)
    • PD164: 1 (Communication Baud Rate: 9600)
    • PD165: 3 (Communication Data Method: 8N1 RTU)

    I send these commands (crc is calculated by a function):
    Start: 0x01 0x03 0x01 0x01 CRC CRC - works fine
    Stop:
    0x01 0x03 0x01 0x08 CRC CRC - works fine

    I tried several commands for the speed but i cannot find a working variant:

    0x01 0x02 0x03 0x03 0x0B 0xB8 - no success
    0x01 0x05 0x02 0x0B 0xB8 - no success

    Can anybody tell me what a proper speed command has to look like?

    Thank you for any kind of help



  2. #2
    Join Date
    Dec 2003
    Posts
    24221

    Re: RS485 commands for Huanyang VFD (HY02D223B)

    The format in order is
    01 = address
    05 = send freq
    02 = data length
    xx = Hi byte
    xx = Lo byte
    xx xx = check sum.

    e.g. set 1760
    01 05 03 06 E0 (CS)
    06e0 = 1760 dec

    VFD replies with same data.

    FUNCTIONS:
    READ DATA 01
    WRITE DATA 02
    WRITE CNTL 03
    READ STATUS 04
    WRITE FREQ 05

    Not really standard Modbus.

    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Apr 2015
    Posts
    2

    Re: RS485 commands for Huanyang VFD (HY02D223B)

    Hi Al_The_Man,

    i will try the sequence you've suggested!

    Thank you for your answer

Similar Threads

  1. Huanyang VFD RS485 / Modbus
    By scotta in forum Phase Converters
    Replies: 130
    Last Post: 05-15-2022, 03:13 PM
  2. Help with Huanyang HY02D223B
    By stevespo in forum Spindles / VFD
    Replies: 266
    Last Post: 02-01-2014, 09:42 AM
  3. Dead Huanyang HY02D223B
    By compfranon in forum Phase Converters
    Replies: 1
    Last Post: 08-08-2010, 01:30 AM
  4. Huanyang HY02D223B goes POP!
    By stevespo in forum Phase Converters
    Replies: 1
    Last Post: 09-26-2009, 08:12 PM
  5. Huanyang HY02D223B 2.2Kw VFD
    By gillyhyde8888 in forum Phase Converters
    Replies: 7
    Last Post: 09-12-2009, 12:46 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •