Spindle speed limited

  • eduard
  • eduard's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
14 Jan 2024 13:35 #290636 by eduard
Spindle speed limited was created by eduard
Hello folks,

I have a spindle with max 60.000rpm. While using with 1000Hz VFD from the vfd software working on max rpm. The vdf is connected throuhg ethercat and I can control all the functions.
But the lcnc max rpm is 32766. In the ini file contains 10-60k rpm. 

Where can I look for additional settings?

thx.

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

More
14 Jan 2024 13:41 #290638 by 0x2102
Replied by 0x2102 on topic Spindle speed limited
Post your spindle PID / spindle ini section.

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

More
14 Jan 2024 13:42 - 14 Jan 2024 16:53 #290639 by Calysto
Replied by Calysto on topic Spindle speed limited
Using rs485 or analogue signal?  Ethercat.
Last edit: 14 Jan 2024 16:53 by Calysto.

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

More
14 Jan 2024 13:58 #290641 by 0x2102
Replied by 0x2102 on topic Spindle speed limited
Seems like 6042 hex "target velocity" is 16Bit (2Byte).

That would give you -32768 to +32767 if you need forward and reverse spindle speed.

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

More
14 Jan 2024 14:25 #290646 by andypugh
Replied by andypugh on topic Spindle speed limited

Seems like 6042 hex "target velocity" is 16Bit (2Byte).

That would give you -32768 to +32767 if you need forward and reverse spindle speed.
 

Yes, that specific number immediately made me think of hitting the 16-bit integer limit.

You might need to command the motor frequency directly and convert in HAL, or possibly send the revs-per-second value from HAL and scale in the VFD. 
 

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

  • eduard
  • eduard's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
14 Jan 2024 18:57 - 14 Jan 2024 19:02 #290690 by eduard
Replied by eduard on topic Spindle speed limited
Nice. Yes it is 16 bit. 

"You might need to command the motor frequency directly and convert in HAL, or possibly send the revs-per-second value from HAL and scale in the VFD. "

I take a look at the VFD manual, but I think 0x6042 is in rpm. How can I command it diretly? You mean analog?
Last edit: 14 Jan 2024 19:02 by eduard.

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

More
14 Jan 2024 19:02 #290692 by 0x2102
Replied by 0x2102 on topic Spindle speed limited
Your XML doesn't matter. If you look at the manual it states that OD 6042h is 16Bit only.

 
Attachments:

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

  • eduard
  • eduard's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
14 Jan 2024 19:26 - 14 Jan 2024 19:26 #290696 by eduard
Replied by eduard on topic Spindle speed limited
Yes, I did exatly that. I also look for rps, but nothing found.
What idea did you have for transforming in VFD? Writing a program for it, or with parameter?
Last edit: 14 Jan 2024 19:26 by eduard.

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

More
14 Jan 2024 21:27 - 14 Jan 2024 21:27 #290706 by 0x2102
Replied by 0x2102 on topic Spindle speed limited
Not sure if there is an option with the EtherCAT interface for your VFD. You might need to go back to analog 0-10V and start, stop and reverse inputs.
Last edit: 14 Jan 2024 21:27 by 0x2102.

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

  • eduard
  • eduard's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
15 Jan 2024 12:40 #290754 by eduard
Replied by eduard on topic Spindle speed limited
Yes, I think going back to modbus. Maybe some ethercat modbus converter for beckhoff.

...If I did not get help from omron, maybe firmware update for ethercat hat.

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

Time to create page: 0.373 seconds
Powered by Kunena Forum