Hi everyone,
earlier I was asking for interpreter config files and learned that one can request them from B&R.
Now that I received them (thanks again), I see that they still use what I would call ARNC0-style configuration (calling it such because so far I had only seen this in ARNC0 context). For example there is “mcipcfg.xml”:
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<!-- Include user configuration data for variables, functions and function blocks -->
<LANG_INCLUDE Name="*mcipmxd" LangName="IEC-ST" DataObject="Yes" OnlyIfLangExist="Yes" IfNotExist="Error" Silent="Yes" Scope="NC_GLOBAL" />
<XML_INCLUDE Name="mcipvar" IfNotExist="Ignore" />
<XML_INCLUDE Name="mcipfun" IfNotExist="Ignore" />
<XML_INCLUDE Name="mcipfub" IfNotExist="Ignore" />
<!-- ..... -->
</CONFIG>
So this looks like much of ARNC0 configuration can also be used with mappMotion. For example there still is the XML_INCLUDE instruction that I was asking for in another thread in the meantime.
Question: What is the status of this kind of configuration? Is it supposed to be used by users? If yes, where is it documented, or when will it get documented?
I think this is important information for users migrating from ARNC0 to mappMotion.
Regards
Lukas
Hello,
MappMotion does use the same AIL Language for Interpreter Definition like ARNC0. So most of the AIL Interpreter Configuration of ARNC0 can be used within MappMotion, but it should always be checked while migration, because we do sometimes internaly adapt or extend the interface.
There is a lot of Information about AIL in AS-Help.
AIL language definition
In General i try to use it as little as possible within my coustomers to stay in the default Functionality. But there are coustomers with as much as ~16000 lines of coustom Interpreter Configuration.
MappMotion itself does have the default includes for an easy migration, the names changed from “gmc” to “mc”. This may not be documented because MappMotion does have other configuration Interfaces with should be used in modern Projects. But it is still valid to use the old default includes. I still do so.
The mappMotion way of adding AIL Configuration would be via. the Interpreter Configuration Settings File from the Toolbox. This basicaly does the job of the previous gmcipsys.
If you have questions about AIL you can ask the Community or the local Support.
Greetings
Michael
Thanks for your comments Michael. However, I think they do not quite answer my question so let me clarify.
Yes, AIL language definition is still there in mappMotion and well documented, that is out of question. I can find documentation essentially in two places:
What is not clear to me from the mappMotion documentation is that “ARNC0-style configuration” as described in my initial posting is still possible. I do not see it documented in mappMotion, but apparently it is still there.
In my understanding “ARNC0-style configuration” is something different from “AIL language”. Both are XML but the elements are different.
AIL:
<?xml version="1.0" encoding="UTF-8"?>
<Root LangModule="ailgcode" Version="1.0">
<!--content-->
</Root>
“ARNC0-style configuration”:
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
</CONFIG>
or sometimes <LANG>, … I don’t see this documented for mappMotion. I don’t see “mcipsys” mentioned. I don’t find anything when searching for XML_INCLUDE etc. But apparently it is still effective.
So for me it seems:
- AIL: no (big) difference between mappMotion and ARNC0
- configuration: new style in mappMotion; ARNC0-style still possible but undocumented.
Using something that is undocumented always feels a bit fishy.
You say:
But it is still valid to use the old default includes.
So can I conclude, that it is safe to continue using “ARNC0-style config”? Will B&R keep on supporting this? If yes, a corresponding section in the official mappMotion documentation would be very justified IMHO.
Hello,
We like the coustomers to use the new method, using the configuration Files of MappMotion. But we keept the include mechanism to have a compatibility.
B&R could remove the default mechanism in future, but there are no known intentions to do so. If the feature is documented or not will not change anything.
There is no ARNC0-Style and MappMotion Style. It is both the same underlying system.
But you have to consider that in MappMotion the System-Part of the Files is hidden in the Library and not accessible by the user. This was also the intention in ARNCO that the users don’t change the Files in this Folder.
You were supposed to change/override Settings via the User-Part of the Files. This files can be added to mapp Motion via the Default Include mechanism.
Interpreter Configuration Files in ARNC0
gmcipvar and mcipvar comparison does not show any difference
gmcipubr and mcipubr comparison does not show any difference
Settings which where done in the gmcipsys should be done in the interpreter Configuration File which was introduced with mapp Motion.
Greetings
Michael
OK, thanks for these additional clarifications.