Function: The command opens the default dialog for opening a file in the local file system.
The filter is set to the CSV
file format in order to import the I/O mapping configuration of a device from the file which was exported previously by
means of the “Export mappings to CSV” command. CODESYS writes the configuration to the selected device.
Call: Context menu of a device object in the “Devices” view
Requirement: A project is open with a device and an I/O mapping configuration. The device matches the exported CSV
file.




NOTICE

I/O mapping configurations are saved in CSV
files with delimiting semicolons. These files can be edited manually. When the files
are edited manually, it is imperative that this format is retained in order to import
successfully.
Note: The entries of the file to the I/O mapping of the device are assigned by the device name and the parameter name. Parameter
names which are not unique are numbered incrementally @<n>
in this file.
Fields without contents in the CSV
file are ignored at import. To remove an existing entry in the I/O mapping by importing, you have to add a space in the respective field in the CSV
file.
For more information, see: ⮫ “Configuring Devices and I/O Mapping ”, ⮫ “Linking a device input with an existing project variable ("mapping") ”, ⮫ “Mapping a device input to a recently created project variable ”, ⮫ “Linking a device with a function block instance ”, ⮫ “Changing and fixing an address value in the I/O map ”, ⮫ “Configuration of the I/O variable update ”, ⮫ “Monitoring of variables in the I/O map in online mode ”, ⮫ “Generating implicit variables for the forcing of I/Os ”, ⮫ “I/O mapping in one dialog for multiple devices ”