SOLVED - LS L7N Servo drives

More
19 Aug 2025 15:01 #333684 by emresensoy
SOLVED - LS L7N Servo drives was created by emresensoy
Hi there,I need help with something.

The L7N series servo motors work fine with the settings in the l7npos.xml and l7npos.hal files.

But I want to use them with cia402.comp. I've configured the settings in the attached "l7npos_cia402.xml" and "l7npos_cia402.hal" files, but the motors aren't working. They're stay in the "Enabled" state.

What do you think I did wrong?
Attachments:

Please Log in or Create an account to join the conversation.

More
19 Aug 2025 15:29 #333687 by Rookie0
Replied by Rookie0 on topic SOLVED - LS L7N Servo drives
1. make sure all ecat servos are OP+ status before you run any move action in lcnc.
by run "ethercat sl" cmd in terminal.
2. a working ecat servo which is in CSP mode, it's cia-controlword should be 15 (4>6>7>15).
if yours is not, check statusword,  there must be someone bit in wrong.
you can use halshow panel, get value of statusword pin, and convert to binary, check every status bit with servo instruction manual.
The following user(s) said Thank You: emresensoy

Please Log in or Create an account to join the conversation.

More
20 Aug 2025 06:22 - 20 Aug 2025 06:40 #333714 by emresensoy
Replied by emresensoy on topic SOLVED - LS L7N Servo drives
1. they are all in OP state,


2. when I move X axis target position is increasing or decreasing, but actual position is not,
all motors waiting in enabled state
Attachments:
Last edit: 20 Aug 2025 06:40 by emresensoy.

Please Log in or Create an account to join the conversation.

More
20 Aug 2025 06:35 - 20 Aug 2025 06:36 #333715 by emresensoy
Replied by emresensoy on topic SOLVED - LS L7N Servo drives
with these settings, axis moves perfectly,
control word is 1111 = 15
status word is 1001000100111 = 4647,
so they are same

Attachments:
Last edit: 20 Aug 2025 06:36 by emresensoy.

Please Log in or Create an account to join the conversation.

More
20 Aug 2025 07:17 #333718 by Rookie0
Replied by Rookie0 on topic SOLVED - LS L7N Servo drives
statusword is 4647, means the bit4 (Voltage enabled) is 0.
therefore your opmode is not set to be 8.

try remove sdoconfig lines in xml. I'm not sure if that's the reason.

the both ways have the same statusword, but their execution timing may not be the same, I'm not sure ^_^
The following user(s) said Thank You: emresensoy

Please Log in or Create an account to join the conversation.

More
20 Aug 2025 10:42 #333728 by emresensoy
Replied by emresensoy on topic SOLVED - LS L7N Servo drives
I think I caught a clue.

first photo is taken when the motors working, and second is taken when the motors not,
according to L7N's manual P on first digit is meaning servo is in Position mode,
How can I take the servo to P mode?






Please Log in or Create an account to join the conversation.

More
20 Aug 2025 10:49 - 20 Aug 2025 10:58 #333730 by emresensoy
Replied by emresensoy on topic SOLVED - LS L7N Servo drives
in cia402.comp, to the last row, I added
and compiled again,
opmode = OPMODE_CYCLIC_POSITION;
and all axis are moving now,

thanks to you all
Last edit: 20 Aug 2025 10:58 by emresensoy.

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum