Difference between revisions of "Hitachi WJ200 Series VFDs"

From CNC Wiki
Jump to navigation Jump to search
(changed mbpoll commands to use Modbus address 1 instead of 2)
(added tables of relevant Modbus coils)
Line 71: Line 71:
 
=== Modbus coils/registers ===
 
=== Modbus coils/registers ===
  
TODO
+
Coils for writing (they can usually also be read):
 +
 
 +
{| class="wikitable"
 +
! Coil No. (hex)
 +
! Coil No. (dec)
 +
! Values
 +
! Description
 +
|-
 +
| 0x0001
 +
| 1
 +
| 1: on, 0: off
 +
| Operation command
 +
|-
 +
| 0x0002
 +
| 2
 +
| 1: reverse, 0: forward
 +
| Rotation direction command
 +
|-
 +
| 0x0004
 +
| 4
 +
| 1: reset
 +
| Trip reset
 +
|}
 +
 
 +
Coils for reading:
 +
 
 +
{| class="wikitable"
 +
! Coil No. (hex)
 +
! Coil No. (dec)
 +
! Values
 +
! Description
 +
|-
 +
| 0x000F
 +
| 15
 +
| 1: run, 0: stop
 +
| Operation status
 +
|-
 +
| 0x0010
 +
| 16
 +
| 1: reverse, 0: forward
 +
| Rotation direction
 +
|-
 +
| 0x0011
 +
| 17
 +
| 1: ready, 0: not ready
 +
| Inverter ready
 +
|-
 +
| 0x0013
 +
| 19
 +
| 1: tripping, 0: normal
 +
| "running" (tripping?) status
 +
|}
 +
 
 +
[http://www.hitachi-america.us/supportingdocs/forbus/inverters/Support/WJ200_Instruction_NT325X.pdf#page=353 Page 353] (marked B-24 in the PDF) lists the Modbus coil numbers and their functions.
  
 
=== mbpoll ===
 
=== mbpoll ===

Revision as of 20:11, 12 August 2019

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

Coils for writing (they can usually also be read):

Coil No. (hex) Coil No. (dec) Values Description
0x0001 1 1: on, 0: off Operation command
0x0002 2 1: reverse, 0: forward Rotation direction command
0x0004 4 1: reset Trip reset

Coils for reading:

Coil No. (hex) Coil No. (dec) Values Description
0x000F 15 1: run, 0: stop Operation status
0x0010 16 1: reverse, 0: forward Rotation direction
0x0011 17 1: ready, 0: not ready Inverter ready
0x0013 19 1: tripping, 0: normal "running" (tripping?) status

Page 353 (marked B-24 in the PDF) lists the Modbus coil numbers and their functions.

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