Omron MX2
- TheRoslyak
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
11 Apr 2023 11:23 #268813
by TheRoslyak
Omron MX2 was created by TheRoslyak
Hi everyone.
Has anyone been able to configure the Omron MX2 VFD for EtherCAT?
I was able to do it in TwinCAT 3, where everything is working fine.
However, I'm having trouble connecting the PDO variables in LinuxCNC.
The values are being sent through sdoRaw, but I've tried with and without dfcon and it still doesn't work.
Has anyone been able to configure the Omron MX2 VFD for EtherCAT?
I was able to do it in TwinCAT 3, where everything is working fine.
However, I'm having trouble connecting the PDO variables in LinuxCNC.
The values are being sent through sdoRaw, but I've tried with and without dfcon and it still doesn't work.
Please Log in or Create an account to join the conversation.
- TheRoslyak
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
12 Apr 2023 07:50 #268875
by TheRoslyak
Replied by TheRoslyak on topic Omron MX2
I already tried switching from 32-bit to 16-bit, but it didn't help. With controlword in float, everything is fine - I always do it that way and it works. There's no need to use a converter in *.hal. I'm tracking the connection via statusword.
Please Log in or Create an account to join the conversation.
- TheRoslyak
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
12 Apr 2023 09:22 - 12 Apr 2023 09:48 #268878
by TheRoslyak
Replied by TheRoslyak on topic Omron MX2
"Does the slaves reaches op state?"
No.
UPD
Everything worked.
With 16 bits and no Dfconf - everything works.
Last time I just tried to do it separately)
No.
UPD
Everything worked.
With 16 bits and no Dfconf - everything works.
Last time I just tried to do it separately)
Last edit: 12 Apr 2023 09:48 by TheRoslyak.
Please Log in or Create an account to join the conversation.
- TheRoslyak
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
12 Apr 2023 10:04 - 12 Apr 2023 10:05 #268881
by TheRoslyak
Replied by TheRoslyak on topic Omron MX2
Now the question is about the control system of this drive.
I want to try and set it up so it works like any other servo. By vector control. (Target position).
I can control this drive only by velocity (there is also a frequency, but this is not my case).
The position I can read with another device (For example EL5151)
By register Actual velocity. I can get the velocity by driving but I'm not sure if it's correct and how it is calculated in terms of physics in the drive itself.
I have the ability to read the velocity and position by EL5151.
Can linuxcnc give me the velocity according to the diagram.
Now I use " joint.0.vel-cmd => lcec.0.0.TargetVelocity "
Has anyone solved this task?
I want to try and set it up so it works like any other servo. By vector control. (Target position).
I can control this drive only by velocity (there is also a frequency, but this is not my case).
The position I can read with another device (For example EL5151)
By register Actual velocity. I can get the velocity by driving but I'm not sure if it's correct and how it is calculated in terms of physics in the drive itself.
I have the ability to read the velocity and position by EL5151.
Can linuxcnc give me the velocity according to the diagram.
Now I use " joint.0.vel-cmd => lcec.0.0.TargetVelocity "
Has anyone solved this task?
Last edit: 12 Apr 2023 10:05 by TheRoslyak.
Please Log in or Create an account to join the conversation.
- TheRoslyak
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 238
- Thank you received: 37
12 Apr 2023 12:54 #268896
by TheRoslyak
Replied by TheRoslyak on topic Omron MX2
Axis
The question here is whether the drive works out the desired position, whether it is necessary to receive signals from the encoder and how linuxcnc will calculate this.
The question here is whether the drive works out the desired position, whether it is necessary to receive signals from the encoder and how linuxcnc will calculate this.
Please Log in or Create an account to join the conversation.
12 Apr 2023 14:16 #268898
by db1981
The following user(s) said Thank You: endian
Please Log in or Create an account to join the conversation.
Time to create page: 0.113 seconds