codesys test with an usb2can v2 ixxat usb interface

2019-03-15
2019-03-16
  • mos89@yahoo.com - 2019-03-15

    hi

    i read the user manual:
    for Inserting a Ixxat USB Adapter
    ​
    The component CmpIxxatCANDrv is based on the Ixxat VCI V4 API, which supports the USB dongle and other hardware. Refer to the company homepage of "HMS Industrial Networks" for additional information.

    Support for the Ixxat VCI V4 API is implemented only for CODESYS Control Win V3 and CODESYS Gateway V3.

    .
    .To do this, follow the steps below:

    1. Download the driver from the manufacturer website and install it on the Windows operating system.
    2. 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.
    3. Add the following lines to the section [ComponentManager]: Component.X=CmpIxxatCANDrv.

    i wrote
    [ComponentManager]
    Component.1=CmpIxxatCANDrv

    1. Check that the component numbers X (X=1,2,3, …) are sequential without any missing numbers.
    2. Save the changes and close the editor.
    3. Start the runtime system.
      β‡’
      CODESYS shows the detected Ixxat hardware and the respective CAN network number in the PLC logger.

    where i can see that ?

    1. Type the CAN network number in Network of the CANbus General tab.
     
  • eschwellinger

    eschwellinger - 2019-03-16

    Hi,
    plcllogger here:
    If you add CANOPEN_DEBUG as compiler define, you have more information in this logger too.

    BR
    Edwin

    IMG: PLCLogger.png

     
  • mos89@yahoo.com - 2019-03-16

    Hi,

    i do ot see anything related to can:

    IMG: codesyscan.png

     
  • eschwellinger

    eschwellinger - 2019-03-16

    Hi,

    please scroll down in the logger the important parts are down.
    Guess the startup of the plc, you would see that the Ixxat driver component is not really loaded.

    Are you on current version of Control Win?

    c:\ProgramData\CODESYS\CODESYSControlWinV3x64\2DAFFB2B\CODESYSControl.cfg

    [ComponentManager]
    Component.1=CmpTargetVisuStub
    Component.2=CmpWebServer
    Component.3=CmpWebServerHandlerV3
    Component.4=SysCpuMultiCore
    Component.5=SysReadWriteLock
    Component.6=SysCpuBreakpoints
    Component.7=CmpIxxatCANDrv

    BR
    Edwin

     

Log in to post a comment.