Comments (6)
Thanks for your question.
I'm afraid I can't really answer your question with the information at hand.
How you connect your machine power stages to LinuxCNC + AWLSim fully depends on what actual hardware you have available.
So what hardware does your machine offer? What is the interface of the hardware you have?
from awlsim.
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:
LinuxCNC
Custom HAL & INI files
Server on linuxcnc pc
client on raspberry pi
rs485 interface somehow
cnc machine
from awlsim.
Ok, well.
The most important thing now would be to definitely find out what that DB9 port really is. What standard. What protocol it talks.
Then the second most important thing would be to figure out a way to have LinuxCNC talk to that port.
I can't really help with both of these points and these points are not really subject to Awlsim.
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.
Then you can think about how to control the whole not-hard-realtime rest of the machine from Awlsim (e.g. coolant, lubrication, hard limit switches, ... whatever else).
from awlsim.
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
from awlsim.
One thing I forgot is:
It is important to first understand how LinuxCNC works (especially the LinuxCNC HAL) before trying to understand how to connect Awlsim to LinuxCNC.
The interface between LinuxCNC and Awlsim is the LinuxCNC HAL configuration. All communication between Awlsim and LinuxCNC runs through HAL signals.
Awlsim includes a fully functional LinuxCNC simulation example.
from awlsim.
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.
The realtime behavior of tapping would only be directly controlled by the LinuxCNC motion controller.
Awlsim is not directly involved in the axis/joint movements.
That's similar to a commercial CNC controller. The motion controller of a commercial machine is separate from the machine's PLC. The PLC does not directly control the power stage (e.g. the servos).
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.
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.
from awlsim.
Related Issues (20)
- S5T immediates with underscores HOT 3
- Clock memory does not work after coreserver restart HOT 1
- gui: Online diagnosis does not work properly after go-online HOT 2
- The first transition from STOP to RUN shall not clear memory
- Incorrect handling of STW OR bit HOT 1
- Incorrect rounding of RND+ and RND- instructions HOT 2
- awlsimhw_linuxcnc: Error on launching linuxcnc example HOT 3
- awlsimhw_linuxcnc: Error on clicking "Add inspection: Online block" HOT 2
- awlsimhw_linuxcnc: Error on loading program to CPU HOT 2
- awlsimhw_linuxcnc: Changing linuxcnc I/O number cause error. HOT 8
- awlsimhw_linuxcnc: LinuxCNC E-Stop shall be triggered, if a fatal Awlsim exception occurs HOT 3
- Error message on client and server HOT 7
- Add tooltips and autocomplete when entering a field in GUI HOT 1
- Add localization support HOT 5
- GUI freeze and doesn't respond HOT 1
- Non-English names are not displayed in the compiler window HOT 1
- Add the ability to embed the application HOT 2
- RESOLVED! Error running setup.py from the unzipped folder, also error running linuxcnc demo may be related HOT 2
- AWL translation issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awlsim.