Inserting a Sontheim USB Adapter
Note
The component CmpCANFoxDrv is based on the Sontheim MT API, which supports the USB dongle and other hardware. Refer to the company homepage of "Sontheim Industrie Elektronik GmbH" for additional information.
Support for the MT API is implemented only for CODESYS Control Win V3 and CODESYS Gateway V3.
To do this, follow the steps below:
Download the driver from the manufacturer website and install it on the Windows operating system.
Open the PLC configuration file CODESYSControl.cfg in a text editor. This file is located in the CODESYS installation directory \\GatewayPLC.
If you want to use the CODESYS Gateway V3, then open the Gateway.cfg.
Add the following lines to the section [ComponentManager]: Component.X=CmpCANFoxDrv.
Check that the component numbers X (X=1,2,3, …) are sequential without any missing numbers.
Save the changes and close the editor.
Start the runtime system.
⇒ CODESYS shows the detected MT API hardware (example: CANfox) and the respective CAN network number in the PLC logger.
Type the CAN network number in Network of the CANbus General tab.
See also