Hitachi WJ200 Series VFDs

From CNC Wiki
Revision as of 19:49, 12 August 2019 by Fdarling (talk | contribs) (changed mbpoll commands to use Modbus address 1 instead of 2)
Jump to navigation Jump to search
Hitachi WJ200-037LF stock photo

Overview

Variable frequency drive (VFD) made by Hitachi. Useful for controlling 3-phase spindle motors on CNC routers. It can be controlled with discrete digital inputs, or over Modbus (RS-485). It can be configured from the keypad, or over USB using Hitachi's software which is much more convenient.

Software

Industrial Inverters Software Downloads | ICED : Hitachi America, Ltd.

Modbus control

VFD parameters

The VFD must be configured for Modbus control of the settings of interest (usually just run/stop, forward/reverse, and electrical frequency which corresponds to speed).

Name Value Default Description
A001 03 (Modbus network input) Frequency source
A002 03 (Modbus network input) Run command source
C071 06 (19,200 baud) Communication speed
C072 1 Modbus address
C074 00 (no parity) Communication parity
C075 Communication stop bits
C076 02 (disable) Communication error select
C077 2.0 Communication watchdog timer period (seconds)
C078 Communication wait time

Page 331 (marked B-2 in the PDF) of the instructional manual details how to wire and configure Modbus on the VFD.

Modbus coils/registers

TODO

mbpoll

There is an open source utility that can speak Modbus over a serial port (or USB to serial) that has an RS-485 adapter attached. It's called mbpoll:

https://github.com/epsilonrt/mbpoll

mbpoll commands to interact with the VFD:

# write the output frequency as Hz * 100 (2-places fixed point in decimal) to holding register 1
./mbpoll /dev/ttyUSB0 -b 19200 6000 -s 1 -P odd -a 1 -0 -r 1 -t 4

# to turn on, write 1 to coil 1
./mbpoll /dev/ttyUSB0 1 -b 19200 -s 1 -P odd -a 1 -r 1 -t 0 -B

# to turn off, write 0 to coil 1
./mbpoll /dev/ttyUSB0 0 -b 19200 -s 1 -P odd -a 1 -r 1 -t 0 -B

# to monitor the output frequency (displays Hz * 100)
./mbpoll /dev/ttyUSB0 -b 19200 -s 1 -P odd -a 1 -r 4098 -t 4

# to monitor the output current (displays amps * 10)
./mbpoll /dev/ttyUSB0 -b 19200 -s 1 -P odd -a 1 -r 4099 -t 4

# to monitor the rotation direction (displays 0 for stopped, 1 for forward, 2 for reverse)
./mbpoll /dev/ttyUSB0 -b 19200 -s 1 -P odd -a 1 -r 4100 -t 4

# to monitor the output voltage (displays volts * 10)
./mbpoll /dev/ttyUSB0 -b 19200 -s 1 -P odd -a 1 -r 4113 -t 4

# to monitor the output power (displays kilowatts * 10)
./mbpoll /dev/ttyUSB0 -b 19200 -s 1 -P odd -a 1 -r 4114 -t 4

Online Resources

WJ200 Series AC Variable Speed Drives and Inverters | ICED : Hitachi America, Ltd.

Hitachi WJ200 Instructional Manual NT325X

Hitachi WJ200 Series Brochure

Hitachi WJ200 Quick Reference Guide NT3251X