- Posts: 333
- Thank you received: 0
Threadjack> Why did I get into CNC was ...What is hal?
- Dinuka_Shehan
- Topic Author
- Offline
- Platinum Member
-
how to create and modify hal file.
From where it came from.
How to find my hal file on linux cnc.
I can’t find it.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
linuxcnc.org/docs/html/hal/intro.html
You edit them with any text editing program. (Please do not try to use a word processor, the hidden characters added by them for text formatting will cause all sorts of problems.) Also be careful of editing in Windows because MS uses different control characters for line ending and returns than are used in Linux.
Please Log in to join the conversation.
අඩකින් ඔබට ලිනක්ස්ක්එන්සී වෙත සං als ා සම්බන්ධ කළ හැකිය. පාර්පෝට්, මේසා සහ ඊතර්කැට් මෙන්ම ජොයිස්ටික්, ඔබේම දෑ ආදිය.
I / o තිබේ නම් ඔබට අවශ්ය සියල්ල සම්බන්ධ කළ හැකිය.
හැල් සමඟ අත්දැකීම් ලබා ගැනීමට, එය කාලය ගත වේ.
=> සං s ා විනෝදය සඳහා වේ.
# අදහස් දැක්වීමේ ලකුණකි.
net යනු සම්බන්ධක ලකුණකි
loadrt යනු සංරචක පැටවීමේ කමාන්ඩෝ ය.
ඔබ linuxcnc ගැන ඉගෙන ගන්නේ නම්, දිනක් ඔබට ඔබේම සංරචක C හි ලිවිය හැකි අතර ඒවා සම්පාදනය කළ හැකිය.
එය පහසු කාලයක් යැයි මම නොකියමි. නමුත් ඔබට කාලය ගත කළ නොහැකි නම්, කවුළු වල ගෙවන ලද අනුවාදය සමඟ ඔබ වඩා හොඳය.
ස්වයංක්රීය යාවත්කාලීන කිරීමෙන් පසු එක් දින කවුළුවක් නැවත ආරම්භ නොවේ.
Please Log in to join the conversation.
- Dinuka_Shehan
- Topic Author
- Offline
- Platinum Member
-
- Posts: 333
- Thank you received: 0
Please Log in to join the conversation.
- Dinuka_Shehan
- Topic Author
- Offline
- Platinum Member
-
- Posts: 333
- Thank you received: 0
Any learning materials do you have?
Please Log in to join the conversation.
ඔබව සාදරයෙන් පිලිගන්නවා.
What is your goal with C++?
What kind of application do you want to build your own in the future, what is your interest?
Think about the general question. When you know it. I can give you a startup project in the path you want to follow..
Please Log in to join the conversation.
Here is a suggested list of things to do.
Start with a hello world program
Understand basic data types
Then learn about program control commands (eg. if, then, else, for, while, switch)
How to call procedures and functions.
Rewrite hello world so it uses a procedure
Then learn how to use pointers. You can't program in C efficiently without them. Very powerful.
Rewrite hello world to use a procedure that is passed a pointer to a string.
Then learn about structures and how to use them.
Read some code
Write a component for linuxcnc.
Please Log in to join the conversation.
- Dinuka_Shehan
- Topic Author
- Offline
- Platinum Member
-
- Posts: 333
- Thank you received: 0
First I want to know basic programming
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
That is nice!rodw wrote: There will be many tutorials online to learn C.
Here is a suggested list of things to do.
Start with a hello world program
Understand basic data types
Then learn about program control commands (eg. if, then, else, for, while, switch)
How to call procedures and functions.
Rewrite hello world so it uses a procedure
Then learn how to use pointers. You can't program in C efficiently without them. Very powerful.
Rewrite hello world to use a procedure that is passed a pointer to a string.
Then learn about structures and how to use them.
Read some code
Write a component for linuxcnc.
I might take a run at it if and only if i can manage some time.
Thank you.
Please Log in to join the conversation.
In fact Grotius is an excellent example. A few months a go he knew nothing about C but he has a problem to solve and is now quite advanced with his programming skills.
Really once you understand how to control program flow (What I called Program control commands earlier), you will be able to learn any new programming language fairly quickly.
Please Log in to join the conversation.
