#linuxcnc Logs
Sep 03 2023
#linuxcnc Calendar
01:33 PM nospark: interesting, reguarding the problem I was talking about earlier, with the automatic/manual tool changer, hsmworks (and fusion 360 presumably) seems to have a "force tool to use manual tool changer setting
01:48 PM solarwind: Tom_L JT-Shop if you guys need help with that kind of stuff, feel free to ask
01:49 PM solarwind: software engineering is my main thing
02:20 PM Unterhaus_ is now known as Unterhausen
02:32 PM JT-Shop: Tom_L, I'm looking to design a theme not use one that is already done so I know how it works
02:33 PM JT-Shop: solarwind, I'm trying to make from scratch a simple website for a club that has a login, registration, news, past events etc... rather simple I think
02:33 PM solarwind: Yeah wordpress is the quickest way to do that, but the theme design is not the simplest, unless you're familiar with HTML and CSS
02:34 PM JT-Shop: and php and I am
02:34 PM solarwind: then it should be pretty straightforward
02:34 PM JT-Shop: I found some boilerplate themes but they had way too much crap and uneeded stuff
02:35 PM solarwind: the styles are just HTML/CSS and ${variables} where it'll put the data
02:35 PM JT-Shop: yup, I just need a core understanding of how wordpress works I think
02:35 PM solarwind: fastest way to that is finding the simplest theme you can
02:35 PM JT-Shop: been looking...
02:36 PM JT-Shop: https://rockcontent.com/blog/develop-wordpress-theme/ places like this give you a hint
02:36 PM JT-Shop: lol
02:36 PM solarwind: Yeah that's pretty much it
02:37 PM JT-Shop: actually I've not seen that one yet so I'll give it atry
02:37 PM solarwind: use the Webstorm IDE
02:37 PM solarwind: sorry PHPStorm
02:37 PM solarwind: jetbrains IDEs are by far the best
02:37 PM JT-Shop: ok thanks
02:38 PM JT-Shop: $250 a year... this is for a simple site for a club...
02:38 PM solarwind: trail
02:38 PM * JT-Shop goes to start the wings
02:38 PM solarwind: trial*
02:39 PM solarwind: VScode is another option (free) but it's not an IDE
02:39 PM solarwind: it's just a glorified text editor
02:39 PM JT-Shop: I'd rather try and understand what I have so from scratch is best
02:39 PM CaptHindsight: VSCodium
02:40 PM solarwind: either one won't affect that, but IDEs understand your code and vastly speed up development
02:40 PM solarwind: VSCode and a PHP plugin will work fine though
02:40 PM solarwind: and you can install LAMP or something if you're on windows and install wordpress to test your changes immediately
02:40 PM CaptHindsight: https://vscodium.com/
02:41 PM solarwind: Yeah, same thing without the tracking
02:42 PM solarwind: the example in the tutorial you linked is using phpstorm, which is always a positive sign when someone is using a real IDE
02:42 PM solarwind: it shows they know what they're doing
02:52 PM JT-Cave: I don't see the need for an IDE, I just upload my changes and look
02:52 PM solarwind: That mentality goes out the window as soon as you do any kind of professional work
02:53 PM solarwind: but for this specific use case, it'll be fine
02:57 PM JT-Cave: yeah it's a simple web site and I don't do it for a living, if I did I'd own the best tools to work with
02:58 PM JT-Cave: just like programmers insist you have to do all your work in a virtual environment and that's a crock of shit in many cases
03:02 PM JT-Cave: https://developer.wordpress.org/themes/getting-started/your-first-theme/
03:03 PM JT-Cave: that looks like it has the info I need I think
03:11 PM solarwind: The virtual environment thing is more for repeatability and being able to easily initiate to a "known state"
03:12 PM solarwind: It's not a hard requirement, it just makes management easier in larger organizations
03:12 PM markgonz: hello friends
03:12 PM markgonz: anyone familiar with vfdmod?
03:13 PM markgonz: trying to get help to talk to the spindle vfd via rs485
03:14 PM solarwind: Yes, but just about to take a nap
03:14 PM solarwind: post your question
03:15 PM markgonz: so I wired the spindle to the vfd and set it up, I can turn on my spindel pushing bottons on the vfd and works great
03:16 PM solarwind: I can see where this is going
03:16 PM solarwind: what model VFD is it?
03:16 PM markgonz: next step is that linuxcnc can talk to the vfd trough rs485 dongle
03:16 PM markgonz: omron mx2
03:16 PM solarwind: reply quick enough and maybe I won't fall asleep
03:16 PM markgonz: same in theory to wj200 hitachi
03:16 PM solarwind: configure the VFD for operation via rs485
03:16 PM markgonz: yes i did
03:17 PM solarwind: I'm not familiar with that specific one, but many have a parameter you set which locks out one or the other
03:17 PM solarwind: ok so how far did you get with rs485?
03:17 PM markgonz: yes i have set it up to recieve modbus commands
03:17 PM solarwind: So where are you stuck?
03:17 PM markgonz: so my problem is that the config file needed to set up vfdmod ask for values in hex
03:18 PM markgonz: and I have no idea about this
03:18 PM solarwind: what values?
03:18 PM markgonz: adresses for spindle control
03:18 PM markgonz: spindle forward
03:18 PM markgonz: for example
03:18 PM solarwind: register addresses or the value itself?
03:19 PM markgonz: yes I think register adress has to be 1 in hex I think is 0x1000
03:19 PM solarwind: Ah I see the sample file
03:19 PM solarwind: that's very easy
03:19 PM solarwind: open the documentation for your VFD and all of that information is in there
03:19 PM markgonz: thanks a lot for you help
03:20 PM solarwind: there should be a whole section dedicated to parameters and their values
03:20 PM markgonz: I tried to look for them but is not clear to me
03:20 PM mc_chat: Quick question for those more fluent in Linux. Is there any benefit to forcing a UEFI install?
03:20 PM solarwind: no
03:21 PM solarwind: you're not missing out on anything by sticking with BIOS
03:21 PM mc_chat: thanks for that
03:21 PM markgonz: yesterday I started a thread on the hal forum and also posted a message in the vfdmod thread
03:22 PM solarwind: markgonz http://omrondoc.ru/I570-E2-01.pdf dude it's all right there
03:22 PM solarwind: start at page 264
03:23 PM solarwind: glance over the protocol reference to see their convention for mapping parameter names as they're described for keypad entry to addresses
03:23 PM markgonz: ok im taking a look now
03:24 PM solarwind: too sleepy to spell it out, but it's ALL right there
03:24 PM solarwind: I can see it
03:24 PM solarwind: pay attention to "register number" and "register data"
03:25 PM markgonz: ok I will look deeper but all this seems really hard for me
03:25 PM solarwind: page 281 has a table of addresses
03:25 PM solarwind: literally 0x0002 - rotation direction
03:25 PM solarwind: 1: reverse, 0: forward
03:25 PM solarwind: ok nap time
03:25 PM solarwind: don't disappoint me
03:25 PM solarwind: you got this
03:26 PM markgonz: so 0002h is 0x0002
03:27 PM solarwind: yes
03:27 PM markgonz: thanks for the help
03:27 PM markgonz: ok thats new for me
03:27 PM solarwind: whatever notation they use, I don'tknow
03:27 PM solarwind: it means the same thing
03:27 PM Scopeuk: h sugests it is in hex
03:27 PM markgonz: interesting
03:27 PM solarwind: 0xABCD = ABCDh
03:27 PM Scopeuk: yes
03:28 PM markgonz: ok thanks so much
03:28 PM markgonz: sending good nap vibes your way
03:28 PM solarwind: <3
04:47 PM rigid_: will linuxcnc automatically bind threads to separate, isolated CPUs?
06:03 PM -!- #linuxcnc mode set to +v by ChanServ
06:56 PM -!- #linuxcnc mode set to +v by ChanServ
10:25 PM CaptHindsight: rigid_ LCNC will detect and run on the highest CPU core