robert wrote:
>
>>
>> ---------------------------------------------------------------------------------------
>>  
>>
>> A piece of  the new hm2-sevo.hal
>> # ################
>> # X [0] Axis
>> # ################
>>
>> # axis enable chain
>> newsig emcmot.00.enable bit
>> sets emcmot.00.enable FALSE
>> net emcmot.00.enable => pid.0.enable
>> #net emcmot.00.enable => hm2_[HOSTMOT2](BOARD).0.pwmgen.00.enable
>> net emcmot.00.enable => hm2_[HOSTMOT2](BOARD).0.gpio.046.out
>> net emcmot.00.enable <= axis.0.amp-enable-out
>> -----------------------------------------------------------------------------------------
>>  
>>
>>   
> I cant see no
> setp hm2_[HOSTMOT2](BOARD).0.gpio.070.is_output 1
> setp hm2_[HOSTMOT2](BOARD).0.gpio.070.invert_output 1
>
> in your HAL file or above,
> read the Man page for more info on the above for there meanings. with 
> out the above the output will not be set as an ourput.
>
> rob
>
Thank very much!

Now the piece of hm2-sevo.hal is:


# ################
# X [0] Axis
# ################

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

setp hm2_[HOSTMOT2](BOARD).0.gpio.046.is_output 1
setp hm2_[HOSTMOT2](BOARD).0.gpio.046.invert_output 1
net emcmot.00.enable => hm2_[HOSTMOT2](BOARD).0.gpio.046.out

PD:
My servo enables with a 10V signal, so I'm using the 0uput06 of the 7i37 
to switch on 10VCC to the servo.

ArnoldoRiter.







------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to