-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting LINUXCNC to physical CNC machine using AWLSIM #31
Comments
Thanks for your question. I'm afraid I can't really answer your question with the information at hand. |
The hardware has a DB9 interface and it was connected to the original PC via an RS485 ISA slot card. The DB9 connector goes straight into the axis controller. At first I thought it was profibus, and profibus is mentioned one time in the manual, however, some of these also seemed to use siemens 840 hardware, and I'm pretty sure this EMCO pcmill 50 uses something similar. The machine is setup with an AWL file. So I see the linuxCNC example, how how do I get the respective commands into the DB9 port of my CNC? What would be kindof a flowchart of software to hardware ending at the DB9 connector of the CNC machine? I assume: |
Ok, well. Awlsim comes into play much later. Before you think about Awlsim, you basically need to get the hard realtime components working (e.g. the axes and joint drives). That is: Get LinuxCNC basically working with your machine. |
One thing that leaves me slightly confused about that is that the axis controllers are detailed in the AWL file, and I'm not looking to perform much realtime functions like rigid tapping for example. I was under the impression that the whole machine was controlled by parameters listed in the AWL file and thus AWLSIM could use a slightly updated AWL file to be the only control to the machine. When I analyzed the protocol it seemed to be profibus at first, but the machine uses AWL files which to me was rather confusing |
One thing I forgot is: Awlsim includes a fully functional LinuxCNC simulation example. |
The realtime behavior of tapping would only be directly controlled by the LinuxCNC motion controller.
Yes. HAL signals can be written and read from Awlsim. These HAL signals can be connected to lots of functionality in LinuxCNC. Please read the LinuxCNC integrator manual and the HAL manual first. |
I am admittedly having a hard time with this part! I am not sure where to go next but other than AWL file issues I think this is my last hurdle.
Do I need some commercial ethernet to PLC hardware? The machine uses RS485 in particular, and I have all sorts of adapters.
Also is there some slack channel for forum we can use for support / documentation?
The text was updated successfully, but these errors were encountered: