Ian Nicholson Posted August 8, 2022 Share Posted August 8, 2022 (edited) We support machines that have varying hardware, but otherwise operate mostly the same. In particular I'm thinking about servo motors/amplifiers (and even gear-drives with differing gear ratios). We've been supporting some of these machines for over 20 years, and others are only a couple years old or even newer. As products are phased out, we are forced to change to newer parts with different characteristics, and the software must adapt to this. We are now at the point where Turbo PMAC Clipper is not really available anymore, so we are working on moving over to CK3M. As some of the older machines have components fail, we must upgrade them with parts that are currently available. Also, as time passes we add capabilities to our machines; for instance our modern machine has an additional axis that the older machines do not have. The software needs to support What is the best way to dynamically assign/configure these motors depending on the machine type and component specs? When I add motors to the Project -> System -> Motors list, they are tied to specific hardware. If I want to use this project to control multiple machine types, I need those motors to be configured in PPMAC on the fly (my current plan is using fsaved variables to specify the current hardware configuration, and have the software assign motors based on those parameters). Can I delete the motors themselves and just set them up in code instead? For example my initialization PLC? With Turbo PMAC, we used the .CFG backup files to develop with and we kept separate a .CFG file for each machine type. Through the years we now have at least 30 different .CFG files for the different combinations of hardware, and if any fixes are made in these files, those fixes must be grafted into any other machine type .CFGs (we obviously only do this as needed since the workload would be massive to update all at once). I don't want to end up in this situation with PPMAC (esp. since PPMAC doesn't really have a single-file option) so I'm trying to develop a more universal approach so any machine type we retrofit with PPMAC can be run with the same software by setting a few config options. Edited August 8, 2022 by Ian Nicholson sp. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.