Weintek’s QA team has validated certain device drivers within the Codesys IDE. When possible we recommend using these drivers to prevent compilation errors and issues related to device communication. Within this post we advise the recommend driver instance(s) and explain how to update a device driver to the recommended version.
In order to ensure device communication, it is recommended that the correct device drivers are installed within the CODESYS development environment.
Note: If you using Codesys version 22.214.171.124 and have installed our Codesys package, you may skip this section.
Open the CODESYS IDE and navigate to the “Tools” tab. Within the drop-down menu, select “Device Repository…” and the following window will be displayed:
Select the plus (+) marks next to ”Fieldbuses” and expand out the following categories until each driver category is shown:
• CANopen > CANopen Manager
• Ethernet Adapter
• EtherNet/IP > EtherNet/IP Scanner
• EtherNet/IP > EtherNet/IP Remote Adapter
• Modbus > Modbus TCP Master
• Modbus > Modbus TCP Slave
• EtherCAT > Master
Check the “version” column and ensure that you have the following version of each driver shown below (It is okay if you have multiple drivers for one device, as long as one of them matches):
|CANopen manager||126.96.36.199 [Download]|
|Ethernet adapter||188.8.131.52 [Download]|
|Ethernet IP Scanner||184.108.40.206 [Download]|
|Generic Ethernet IP device||220.127.116.11 [Download]|
|Modbus TCP master||18.104.22.168 [Download]|
|Modbus TCP slave||22.214.171.124 [Download]|
|EtherCAT master||126.96.36.199 [Download]|
In order to install the missing drivers, return to the device repository in CODESYS and click “Install…” on the right-hand side. This will open a file browser:
Navigate to the folder in which each driver was saved (you will need to extract the .zip file first). Each driver should consist of an XML document with “devdesc” as the extension.
Select the file and click “Open” and you should see that the driver is now installed. Note: This process will need to be repeated for each missing driver.
After the correct drivers have been installed, it is important to ensure that each driver within the device tree utilizes a version compatible with Weintek’s built-in CODESYS.
If you have already added a driver within the device tree or if one is dispaying the symbol, right-click on the driver and select “Update device…”:
Within the “Update Device” menu, check the “Display all versions (for experts only)” check-box. Each driver that is installed within the device repository will now be visible. To ensure that each device utilizes an appropriate driver, select the driver version recommended within this post and click “Update Device”: