Hitachi X200 VFD

More
05 Nov 2015 18:17 #64803 by dannym
Hitachi X200 VFD was created by dannym
I need to be able to control my Hitachi X200 VFD through Modbus (RS485). I was successful at this under Mach3 at least.

I believe it's the same interface as the Hitachi WJ200, but I'm not sure.

I haven't found code posted yet, but surely people have done this? I did see where people had done the cheapo Huangyang VFDs and the best plan I could come up with so far is recode that for the X200.

Any better ideas? Is there X200 Modbus code kept in a closet somewhere?

Please Log in or Create an account to join the conversation.

More
05 Nov 2015 19:12 - 05 Nov 2015 19:13 #64811 by cncbasher
Replied by cncbasher on topic Hitachi X200 VFD
the hitachi wj200 is part of linuxcnc , and is already included

linuxcnc.org/docs/html/man/man9/wj200_vfd.9.html
Last edit: 05 Nov 2015 19:13 by cncbasher.

Please Log in or Create an account to join the conversation.

More
05 Nov 2015 21:39 #64826 by andypugh
Replied by andypugh on topic Hitachi X200 VFD

the hitachi wj200 is part of linuxcnc , and is already included

linuxcnc.org/docs/html/man/man9/wj200_vfd.9.html


Though even I can't hep thinking that that manual page could do with a hint of expansion.

There is some discussion here on how to use it, the most useful reply might be from Kirk Wallace
www.mail-archive.com/emc-users%40lists.s...ge.net/msg54850.html

Please Log in or Create an account to join the conversation.

More
06 Nov 2015 06:03 #64861 by dannym
Replied by dannym on topic Hitachi X200 VFD
Yeah I'm sorry but I'm baffled what that man page means and what I need to do here. There's a serial port with an RS485 adapter so it needs to be bound to the port. So this converts Modbus communication and makes it appear as HAL pins? But the pins still need to be tied into LinuxCNC's operation manually?

Please Log in or Create an account to join the conversation.

More
06 Nov 2015 06:19 #64863 by andypugh
Replied by andypugh on topic Hitachi X200 VFD
Yes, the manpage isn't really much help. But the mailing list post has the info you need.

Please Log in or Create an account to join the conversation.

More
01 Apr 2016 06:16 #72505 by dannym
Replied by dannym on topic Hitachi X200 VFD
Update: I was able to recompile the WJ200 code to work with my X200.

The coils are just slightly different numberings. Why... why so close yet not the same.

The DIR read-value is reversed on the X200... weirdly the complement of the value you write to it.

WJ200 has a bug in it. The RPM is 10x larger than you provide, for either X200 or WJ200.

Please Log in or Create an account to join the conversation.

More
01 Apr 2016 09:11 #72512 by racedirector
Replied by racedirector on topic Hitachi X200 VFD
Hi Danny

Would you mind sharing what you did? I am currently using MB2HAL to drive my X200 but tried to get the WJ200 file to work without luck.

Cheers

Please Log in or Create an account to join the conversation.

More
03 Apr 2016 20:01 - 03 Apr 2016 20:39 #72646 by dannym
Replied by dannym on topic Hitachi X200 VFD
.comp file enclosed. There's some stdout messaging I was using for diagnostics that need to be removed.

I am a bit disappointed in the integration of the WJ200 code, but haven't done anything to improve it. That is, if the VFD fails to start or overcurrents, it'll just try to put it into Run mode again in a continuous loop. That's not very robust. An overcurrent should be a e-stop or at least a Feed Hold.
Attachments:
Last edit: 03 Apr 2016 20:39 by dannym.

Please Log in or Create an account to join the conversation.

More
03 Apr 2016 21:30 #72655 by andypugh
Replied by andypugh on topic Hitachi X200 VFD

That is, if the VFD fails to start or overcurrents, it'll just try to put it into Run mode again in a continuous loop.


Does such an event set "is-alarm" pin? If so I would imagine that the intention would be that that pin would be linked to an appropriate HAL pin (either feed-hold, or maybe even motion.enable for a more extreme reaction.

Please Log in or Create an account to join the conversation.

More
03 Apr 2016 21:34 #72656 by dannym
Replied by dannym on topic Hitachi X200 VFD

That is, if the VFD fails to start or overcurrents, it'll just try to put it into Run mode again in a continuous loop.


Does such an event set "is-alarm" pin? If so I would imagine that the intention would be that that pin would be linked to an appropriate HAL pin (either feed-hold, or maybe even motion.enable for a more extreme reaction.


You know, maybe. It was a few weeks ago that I worked on that. Once you figure out how to compile and include it, it's no big deal to add more functionality.

Please Log in or Create an account to join the conversation.

Time to create page: 0.243 seconds
Powered by Kunena Forum