Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: CReese on December 17, 2013, 01:40:36 PM
-
Ok, so I know I need to rewrite a bunch o' code, but I would at bare minimum like to start with a skeleton of existing instructions from a DL260. What are the possibilities, limitations, and caveats (not to mention how-tos) of exporting old code and importing it into a DoMore? I did some hunting in this here forum but didn't find what I was looking for.
Thanks.
-
If you have mostly contacts, coils, MATH IBoxes and stages, those can come across with some minimal text editing (octal vs. decimal ID, MATHBCD vs. MATH) using the text-based import/export facilities in Designer and DirectSOFT. Just about everything else you must re-write, and more likely need to "Do-more-ify" it, e.g. how communication mastering instructions work is different (e.g. no "busy" bit), there is no accumulator or accumulator stack, BCD not natively supported (just a few conversion instructions), etc.
If it's a lot of simple stuff, try export Project from DirectSOFT and try to Import in Designer. You WILL get a bunch of errors, but the text editing should be minimal. However, if you have a bunch of "other" instructions, you are best off just re-writing it.
Here's an article on someone who "Do-more-ified" his 260 project. It was some effort, but it ended up cleaning up a LOT of code.
http://library.automationdirect.com/switching-to-do-more-saves-time-issue-27-2013/