I am trying to set up my Automation direct GS2 VFD to drive a lathe 
configuration using modbus with 2.7-pre6.  I used PNCCONF to get the base 
config and I am able to control the motor from the front panel of the vfd as 
expected.

In order to control via the VFD by hand I have to power it up by doing the 
following:
1) Launch Linuxcnc
2) Release the Estop button (physical N/C button)
3) Click the software power button in Linuxcnc to enable the charge-pump relay
4) Press a momentary N/O physical button that fires my contactor(s) to supply 
208V 3phase power to the VFD (as well as 120VAC to my stepper drivers).

I then changed my Linuxcnc config to support modbus to the VFD (according to 
the example links below) and now Linuxcnc won’t launch.  It gives me the error:
        • failed to set register P0x0101 to 0x0064 (100): Connection timed out
        • ./custom.hal:5: waitpid failed gs2_vfd spindle-vfd
        • ./custom.hal:5: gs2_vfd exited without becoming ready
(output from Linuxcnc fail here:  http://pastebin.ca/2981941)

This is the same error that Mark Johnsen gets in the 2nd info link below.  I 
wonder if this is because the VFD has to be powered up before the gs2 
components load or if I just messed something else up in the configuration or 
if I have to set up the serial port parameters somewhere?   My VFD is 
configured correctly (unlike his) but it isn’t powered up.

IF the VFD has to first be powered up, is there a way to load the custom.hal 
file after I have powered up the system in Axis?

Info on getting GS2 to work:
http://linuxcnc.org/docs/2.7/html/examples/gs2_example.html
http://emc-users.narkive.com/xifBQBRc/fwd-gs2-vfd-hal-component
http://linuxcnc.org/docs/html/hal/pyvcp_examples.html#_gs2_rpm_meter_a_id_gs2_rpm_meter_a
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?VFD_Modbus (all the links related to 
GS2 are bad here by the way...)

My config files:
EMCOturn120p.hal file:  http://pastebin.ca/2981971
EMCOturn120p.ini file:  http://pastebin.ca/2981974
custom_postgui.hal:     http://pastebin.ca/2981975
custom.hal:                     http://pastebin.ca/2981976
gs2_pyvcp.xml:          http://pastebin.ca/2981978

Any ideas?
Thanks,
-Tom

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to