you don't want to enable the drives and such until the machine is on...

This is out of the hosmot2 examples...  (Z axis but all are similar)

newsig emcmot.02.enable bit
sets emcmot.02.enable FALSE
net emcmot.02.enable => pid.2.enable
net emcmot.02.enable => hm2_[HOSTMOT2](BOARD).0.pwmgen.02.enable
net emcmot.02.enable <= axis.2.amp-enable-out

My machine also enables the servo drives at this point.

so to sumerize - axis.2.amp-enable-out enables the pwmgen and pid. 
(yours would enable the bldc and such)
this pin enables when the machine is 'on'

(if I am understanding your problem)
sam



On 04/25/2012 01:27 PM, Andrew wrote:
> 25 квітня 2012 р. 16:36 Peter C. Wallace<p...@mesanet.com>  написав:
>
>> The 7I39 wants 0 deadtime in its PWM so the 3pwmgen deadtime should bbe
>> set to 0 (man hostmot2)
>>
> Thanks, I thought about something different - deadband. And I did not touch
> the deadtime.
>
> My recent "advances" in tuning
> http://img694.imageshack.us/img694/700/screenshotbpq.png
> I'm satisfied with the error, but oscillation is too bad. And it's the same
> at lower velocities.
>
> And some strange behavior: when the machine is ON, the actuator is stable.
> But when I turn it OFF (F2), it starts oscillating. And the same after init
> before the machine is turned on.
> Enable and init strings:
>
> net estop-out  iocontrol.0.user-enable-out =>  bldc.0.init =>
> hm2_7i43.0.3pwmgen.00.enable
> net x-is-init  bldc.0.init-done =>  pid.x.enable =>  iocontrol.0.emc-enable-in
>
> What can be wrong?
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to