asd-a2-e ... lcec driver?
- Beovoxo
- Offline
- Senior Member
-
- Posts: 56
- Thank you received: 27
the drive is
cdn.delta-emea.com/cs/download/file/4641...2_UM_EN_20201209.pdf
Ok is CSP mode only motor encoder ? i am not sure at all now..
when i started the build i planned to use
6.2.1 Position Command in PT Mode
Becurse of the feedback from the scale
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
- Posts: 1185
- Thank you received: 414
If so, I think you can try this small example.
github.com/dbraun1981/hal-cia402/tree/main/example
I wouldn't be surprised if it works.
Some drives need some additional settings, if you are lucky yours will run directly.
Anyway, this little example shows the structure of how to connect an Ethercat servo drive to LinuxCNC.
The encoder position is used internally in the drive for feedback.
The encoder position is feed back to linuxcnc also, see the example hal file.
After you get it going, you should tune the drive's PID parameters,
just like is needed for every servo drive.
Please Log in or Create an account to join the conversation.
- cncfreak
- Offline
- New Member
-
- Posts: 10
- Thank you received: 1
Its the servo parameter P1-01 = 0x010C or 0x000CHi.
I set up my machine and everything worked for me, but there is a small problem: The direction of movement of the X-Axis is not up to standard.
Please tell me how to change the direction of movement of an axis on a machine? How to swap + and - places? The machine is assembled on an ASD-A2 EtherCat. System LinuxCNC 2.9.2.
I tried to configure the change using scale using the following code:net x-vel-cmd => scale.3.in
setp scale.3.gain -1
net x-vel-cmd-DAC scale.3.out => lcec.0.X.srv-vel-cmdand changing the .iniENCODER_SCALE = -1but the machine goes crazy and does not work normally.
Please Log in or Create an account to join the conversation.
- cncfreak
- Offline
- New Member
-
- Posts: 10
- Thank you received: 1
try the P1-01 servo parameter.Hi.
I set up my machine and everything worked for me, but there is a small problem: The direction of movement of the X-Axis is not up to standard.
Please tell me how to change the direction of movement of an axis on a machine? How to swap + and - places? The machine is assembled on an ASD-A2 EtherCat. System LinuxCNC 2.9.2.
I tried to configure the change using scale using the following code:net x-vel-cmd => scale.3.in
setp scale.3.gain -1
net x-vel-cmd-DAC scale.3.out => lcec.0.X.srv-vel-cmdand changing the .iniENCODER_SCALE = -1but the machine goes crazy and does not work normally.
Please Log in or Create an account to join the conversation.
- Mr. Mass
-
- Offline
- Senior Member
-
- Posts: 68
- Thank you received: 36
0 0:0 PREOP ASDA-A2-E
But I still get an error and don't understand what to do. Any help would be appreciated.
Attachments:
Please Log in or Create an account to join the conversation.
- cncfreak
- Offline
- New Member
-
- Posts: 10
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- jjdege
-
- Offline
- Premium Member
-
- Posts: 124
- Thank you received: 36
the .xml file should look like this, I think
Attachments:
Please Log in or Create an account to join the conversation.
- Mr. Mass
-
- Offline
- Senior Member
-
- Posts: 68
- Thank you received: 36
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1000">
<!-- Joint 0 -->
<slave idx="1" type="DeASDA" name="x-axis">
<modParam name="opmode" value="CSV"/>
</slave>
</master>
</masters>
Please Log in or Create an account to join the conversation.
- cncfreak
- Offline
- New Member
-
- Posts: 10
- Thank you received: 1
Attachments:
Please Log in or Create an account to join the conversation.
- Mr. Mass
-
- Offline
- Senior Member
-
- Posts: 68
- Thank you received: 36
Please Log in or Create an account to join the conversation.