12/17/2023 0 Comments Sourcetree svn![]() ![]() I program mostly in function function block with schneider unity. We can use the Trac plug-in to have a ticket system for feature requests/bugs/tasks. They store the base branch and only the changes for other branches, so storage space is kept to a minimum. Branches for each customer: for me, most projects are similar with just a handful of changed files. I don't even do on-site work and this is a huge benefit. Can get most recently committed code from ANY computer, as long as it has internet access. Here are my main pros (we use an online host as well as local): On the binary stuff, if you need specific code from another branch or version, you just have to load that file and copy the code into notepad to be able to switch back to the other version and compare. We use Opto 22 devices - their code is mostly stored as readable text, so it's easy to view file diffs. You just have to be rigorous about committing meaningful messages. It's definitely a challenge to use it for the binary file type stuff, but it's still a HUGE timesaver. I use Git for all my HMI and PLC code - and other miscellaneous stuff like installer scripts, database setup SQL files and configuration files etc. What platforms don't do this? I know B&R saves as a folder tree, and I think Galil and Trio both saved as a collection of text files. ![]() I know Rockwell and I think all Codesys based platforms save as big binary files (.pro or. You can kind of get around it with Rockwell by exporting the project as an L5X (or paying them the extortion fees to use AssetCenter), but a lot of other platforms also save the project as a big binary file. I think a big reason it is so rare in controls is that the most popular PLC platforms save the project as one big binary file, which kills a lot of the features of a version control system (viewing/merging code changes and the like). Anyone else out there using version control software? My current employer doesn't use version control software and I was kind of surprised reading this forum, I'm realizing that it isn't very common in controls. I thought this was standard practice in the world of modern programming, including PLC programming and it was an absolute requirement when working on Pharma machines to comply with CFR21-11. In my prior job, we used Git for version control (with SourceTree as the front end and BitBucket for central storage). A previous thread touched on something that I'm a little curious about. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |