- Posts: 27
- Thank you received: 2
Beginner trying to learn basic programming
- usert_l
- Offline
- Junior Member
-
Before I can click run, I had to click home all axes (that when it moves and creates those two yellow lines parallel to the X and Z axes).
I then click run and for some reason it keeps stopping at line 11 ... I don't know what's causing that. This is first time I'm in the lathe simulator.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
Though why the sim would fail to reach speed is a mystery to me.
Try adding D5000 to the G96 line
Please Log in or Create an account to join the conversation.
- usert_l
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 2
I do have a question about the G96 constant surface speed mode ... I believe that it automatically adjusts the spindle speed according to how close or far away the cutting tool position is relative to the centerline of the stock (Z axis), as the tool cuts along the profile of the part. However, I noticed that the spindle RPM pretty much stays constant @ 2500 throughout the entire program in the simulator config. Is that something that the simulator config doesn't take into account?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
You can edit the config, though bear in mind that this limit might not exist in the HAL of a real machine.
Have a look in the HAL at the "limit_speed" pins and parameters.
(And note that, because of what it is, maxv = acceleration, and max = max velocity)
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
andypugh wrote: It looks like the sim config tops out at 2500, so that is pretty much what you will see with small diameter work and a high surface speed.
You can edit the config, though bear in mind that this limit might not exist in the HAL of a real machine.
Have a look in the HAL at the "limit_speed" pins and parameters. (Machine menu => Show HAL configuration)
(And note that, because of what it is, maxv = acceleration, and max = max velocity)
Please Log in or Create an account to join the conversation.