Timo Korhonen wrote:
>
> Hi,
>
> could somebody who has experience using servo motors with the OMS58 card
> (servo version) and the motor record please help me? I just started with this
> combination and I have some questions (I hope they are easy ones.)
We had similar problems when we started with OMS Servo Motors.
Try to use the code below to send single commands to the OMS58 card.
There is a step by step explanation to set the amplification values in the OMS
Manual.
This is our init-string of the motor record: "AY HE KP.1 KD.3 KI0 LP0 HN"
> Another question: Does anybody have a utility to send commands directly to
> the OMS58 from the vxWorks shell?
With the following lines included in drvOms58.c you can directly talk to
the OMS58 card for testing purposes. (Don't use it in your production
application
as it might disturb the communication between OMS58 and motorRecord).
e.g.
> oms58SendMess(1,"AX RE",0)
void oms58SendMess(int oms58card, char *oms58com, char oms58c)
{
send_mess(oms58card, oms58com, oms58c);
return;
}
void oms58RecvMess(int oms58card, int oms58amount)
{
char buffer[BUFFER_SIZE];
recv_mess(oms58card, buffer, oms58amount);
printf("OMS58>%s<\n",buffer);
return;
}
I hope this helps.
Jens Eden
- References:
- Motor record, servo motors & OMS58 Timo Korhonen
- Navigate by Date:
- Prev:
Re: medm window resizing Ken Evans
- Next:
SNS's investigation of EDM Chestnut, Ronald P.
- Index:
1994
1995
1996
1997
1998
1999
2000
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Motor record, servo motors & OMS58 Timo Korhonen
- Next:
possible training for May collab meeting - but sign up is required - or we will not schedule or prepare these. Please express interest ASAP Leo Dalesio
- Index:
1994
1995
1996
1997
1998
1999
2000
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|