The Import Tag Wizard facilitates importing Codesys PLC Handler tags into solutions developed on the software platform. Users configure Codesys PLC Handler connection parameters by specifying the IP address, port, version, and authentication parameters. To use it, go to Solution/Import Tags on the Designer workspace, double-click on the Codesys PLC Handler import wizard, or click to select the Codesys PLC Handler and press the Execute button to open the configuration dialog.
On this page:
Go to Solution → Import Tags on the Designer workspace and select "Import Codesys PLC Handler configuration." Double-click on the selected wizard or press the "Execute" button to open the initial configuration popup.
In the initial configuration dialog, enter the following information:
TCP/IP (Level 2 Route): Routes messages over TCP/IP using Level 2 protocol, allowing routing through intermediate devices. Used for complex network topologies.
TCP/IP (Level 2): Uses TCP/IP with Level 2 protocol, providing basic communication without routing through intermediate devices. Suited for direct connections.
TCP/IP (Level 4): Implements Level 4 protocol over TCP/IP, which offers more advanced error checking and control features. Used for robust connections with higher reliability.
Serial (RS232): Communicates over a serial RS232 connection, commonly used for direct, point-to-point communication between devices.
TCP/IP: Uses TCP/IP protocol for communication, suitable for network-based connections.
SharedMemory: Uses shared memory for communication, allowing direct memory access between processes on the same machine for high-speed data transfer.
NamedSharedMemory: Similar to SharedMemory, but uses named memory spaces, enabling multiple applications to access specific shared memory segments.
Logon Password: Stores the password associated with the username. Users enter this password to authenticate and gain access to the target PLC device.
The "Sync Device Node" dialog will appear. Here, you have the following import option:
Select "Add NodeName as Prefix" option to automatically add the PLC's name as a prefix to all imported tags. It improves organization, especially in solutions with multiple PLCs.
Click "Refresh" to display a preview of available tags.
Finally, press "Ok" to start the import process.
The tutorial in the image below shows how to import tags from Codesys PLC Handler.
In this section: