I/O mapping variables from datatypes with AC500 and Automation Builder
I have a question about I/O mapping for the AC500 with Automation Builder. I made a big struct data type with all my I/O variables in it. Now I want to connect these variables to the IO modules, but I can not find a way to do this. It looks like it is only possible to connect a normal global var, with the type BOOL for example, to an input. Are there any tips or tricks to connect variables from a datatype directly to an IO input or output?
IMHO, the best mode is to define your I/O module starting from the project and direct in the Automation Builder for any modules, define the variable inside. When you start Codesys, Automation Builder import directly the variables that you have defined.
AFAIK, no other system to link and connect I/O modules and your variable exist.
Let us know about the results
Did you create bool and byte/word data for I/O modules inside Codesys "Data Types" editor called structure and then trying to get it mapped against the I/O modules? In fact it is the other way round as already explained by Flaviomussolin. If you trying to map a lot of of I/O variables, perhaps you should use the CSV file option with Excel import/export. Easy way is, just configure the modules and export the format to excel and add the symbols there and re import it.
Also with Automation Builder Premium edition you have a feature called "Bulk data import/export of device and I/O lists and IEC 60870-5-104" to handle a large volume of I/O mappings including the module configuration itself.