GithubHelp home page GithubHelp logo

huanyang_vfd's Introduction

Huanyang VFD

All you have to know about Huanyang VFD

Original manuals:

Dedicated blog

Blog is in Polish language: blog

Equipment photos

vfd_and_spindle

vfd_and_spindle

vfd_and_spindle

vfd_and_spindle

vfd_and_spindle

vfd_and_spindle

Wiring

Power three phases

Three phases

Power single phase

Single Phase

Connection between VFD and spindle

Single Phase

analog input

analog connection

jumper

Huanyang

external control

Huanyang

Huanyang

Configuration

It is sample configuration that works for me

Parameter Value Comment
PD013 08 set as first
PD001 0
PD002 1
PD004 400Hz
PD005 400Hz
PD006 20Hz
PD007 0.5Hz
PD008 220V
PD009 16V
PD010 4V
PD011 30Hz
PD014 10
PD015 10
PD023 0
PD024 1
PD071 20
PD072 400Hz
PD141 220V
PD142 6A
PD143 2
PD144 3000
PD145 2.0
PD146 40
PD147 0
PD150 1
PD151 0
PD000 1 set as last one

Control over communication port RS485

Parameter Value
PD001 2
PD002 2
PD163 1
PD164 2
PD165 3
port COM5
pip install crcmod
pip install pyserial

module HuanyangDev is in this repository.

import serial
import time
import HuanyangDev

dev = HuanyangDev.HuanyangDev({"port": "COM5", "rate": 19200, "parity": serial.PARITY_NONE, "address": 1, "timeout": 0.1})
dev.open()

dev.write_function_data(8, 2200)
pd008 = dev.read_function_data(8)
print("PD008 = {}".format(pd008))

dev.write_freq(200)
dev.write_control_data(0x03)  # start

# 0: target frequency,  1: output frequency, 2:output current, 3: rpm, 4: DC voltage, 5: AC voltage,6:cont, 7:temp
f1, f2 = dev.read_control_data(0), dev.read_control_data(1)
print("target frequency = {}   output frequency = {}".format(f1, f2))
time.sleep(5)

dev.write_control_data(0x08)  # stop
dev.close()

Mach 3 integration

...............

Linux CNC integration

...............

huanyang_vfd's People

Contributors

robertolechowski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.