On 19 June 2010 21:01, Andrey <[email protected]> wrote:

>           net Xpos-cmd axis.0.motor-pos-cmd => pid.0.command
>           net Xpos-cmd axis.3.motor-pos-cmd => pid.3.command
>
> The program gives an error and is closed.Error:axis Х refers to to pid.0

It would be a great help if you could tell us what the error was that
caused it to close.

I would guess that you simply do not have a pid.3
Look at your hal (near the top) for:
loadrt pid num_chans=4
(and make sure that the number is at least 4)
Also, look at the addf block, you are going to need
addf pid.3.do-pid-calcs servo-thread.

Hi everybody.In HAL files for Motenc-Lite board R axis  is slave for Х axis .I 
have registered in HAL R  axis as Andy Pugh has advised , HAL files has 
attached to the letter, but R axis  remained independent though in a window of 
position of  аxes values for Х and А аxes change synchronously,when button JOG 
X is used. Better to say Х axis moves, the А axis   Instead of moves
Be so are kind, prompt me what my mistake and how to force an A axis to work as 
slave X.

Attachment: motenc_pidtest.hal
Description: Binary data

Attachment: core_servo.hal
Description: Binary data

Attachment: motenc_motion.hal
Description: Binary data

Attachment: motenc.ini~
Description: Binary data

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to