- Posts: 83
- Thank you received: 0
Help please !!! Servo configuration with stepconf.
- ishman
- Offline
- Premium Member
-
True, though for simple non-coordinated moves (i.e. where actuators don't need to work together to move the controlled point) it is possible to use analogue outputs from G-code through a HAL Limit3 block into a PID or stepgen and from there to the drive/motor.
The are G-codes to pause until a digital input is seen, so the code can pause until the actuator gets to the controlled position.
(This is only one way to do it, there are others)
Is it possible to do this during machine run ?
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
-
- Posts: 3981
- Thank you received: 994
Thanks BigJohnT !
they didn't supply any software to configure the drives but only manual. Is there any site where I can learn about how to tune servo's ?
I've come across some general PID explanations searching the web but nothing would beat the OEM manual which has specifics to that drive even if it is in hieroglyphs which you might have to learn to tune your drives. IIRC generally you slowly increase P till you get oscillation on the servo then increase I a bit to cancel them....
John
Please Log in or Create an account to join the conversation.
- ishman
- Offline
- Premium Member
-
- Posts: 83
- Thank you received: 0
I've come across some general PID explanations searching the web but nothing would beat the OEM manual which has specifics to that drive even if it is in hieroglyphs which you might have to learn to tune your drives. IIRC generally you slowly increase P till you get oscillation on the servo then increase I a bit to cancel them....
It means that it's going to take my time. I thought servos are like hooking VFD to induction motors. and program it according to your requirements as per the io specification.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
Yes, the position commands would be part of the G-code.Is it possible to do this during machine run ?
Please Log in or Create an account to join the conversation.
- ishman
- Offline
- Premium Member
-
- Posts: 83
- Thank you received: 0
Yes, the position commands would be part of the G-code.
Thanks andypugh
I have a question that if I generate g-code from third party CAM software for milling, it needs to be modify ?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
I don't think there is any CAM software which handles more than 9 axes (in fact more than 5 axes would be unusual), so you would have to modify the code, yes.I have a question that if I generate g-code from third party CAM software for milling, it needs to be modify ?Yes, the position commands would be part of the G-code.
For actuators such as part loaders/unloaders the required G-code would probably be inserted as part of a pre-defined pre-amble and tidy-up code configured into the CAM software.
Please Log in or Create an account to join the conversation.