Working with Siemens IoT2000 series from Linux

The Siemens IoT2000 series has been a very interesting development from Siemens and it's really encouraging to see the use of Open Source in the Automation sector definitely on the increase. And that can only be a good thing for developer productivity. Seeing a different IDE for each manufacturer of a PLC invokes some nasty memories of last century web-application development... Siemens Simatic IoT2000 Unfortunately, all the documentation for these units still assumes a Windows PC. And since I have not really been using a physical Windows machine for 10+ years now, that is really slowing things down. For the last few I didn't really have to fall back to a VM, largely due to the fact that in web-development nobody cares about OS any longer. But I have a feeling that shifting my focus to the IIoT space this VM will get a bit more useful as some of these manufacturers don't even bother with anything but Windows and are challenged enough to keep up with Windows upgrades. Download existing image The image can be downloaded from the Siemens support site (if you don't have an account with Siemens you might have to sign up for a login first. https://support.industry.siemens.com/cs/document/109741799/simatic-iot2000-sd-card-example-image Create image from sources If you want to create your own image from source you can find the instructions here: https://github.com/siemensHowever for getting around the system the example image has some additional software making it easier to find your way around the system. Create SD card image sudo dd…

Continue Reading

Extracting your Windows Licence Key from Ubuntu

Turns out that working with PLC equipment you are still fully stuck to Windows. Which means I have to bite the bullet and get an up to date version of a Windows VM running on my machine. Since I have already paid for my Windows license with my laptop (even though I have never used it) this came in really handy. sudo apt install acpica-tools sudo acpidump -n MSDM This command should dump the Windows key in the bottom right of the output. You can download a recent Windows10 ISO image from Microsoft here: https://www.microsoft.com/en-us/software-download/windows10ISO/ and then install via you favourite virtualisation environment.

Continue Reading

Goodbye Twitter – you were useful for (quite) a while.

After getting rid of my Facebook account a long time ago, finally, I have decided to pull the plug on Twitter as well. I have become increasingly wary of the changes of the platform as it seeks for a way to monetise it's user-base. The timeline has increasingly become infested with annoying ads and no way of getting rid of them. Since Twitter effectively killed the whole app ecosystem with their changes to API rules and banning anything that became useful to a substantial number of people. Another major annoyance has been Twitter's insistence in seeing itself as a 'media platform'. The last thing I need is another media consumption time-sink. The changes I.M.O. is completely misunderstanding their initial user base. While most 'media' people always complained about 140 characters, it served a purpose. Since Twitter started messing with the timeline (letting some algorithm decide what I might find useful) I have been toying with the idea of letting go of my Twitter account. The last straw was the last Australian federal election which really hit home what a toxic echo chamber this platform has become. Even though I have never followed any serving politician it was hard not to get drawn into some of the 'discussions' being a person interested in Agriculture, Environment & Energy policies and following a few accounts in those interest areas. I have better (more productive) things to do than being sucked into hyper-polarised #auspol threads (and frankly - when reading some of the replies…

Continue Reading