Vai al contenuto

How to use a CANOpen module in Codesys 2

Home Forum Obsoleti SlimLine (CODESYS) How to use a CANOpen module in Codesys 2

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Autore
    Post
  • #35643
    Anonimo
    Inattivo

    Can you help me with CanOpen Configuration ? I found no FB about it.
    Do you have any example software with CanOpen to send me ?

    #38464
    Massimo
    Moderatore

    The procedure to use a CANOpen module in Codesys 2 is:

    – Obtain a .eds file from CANOpen module manufacturer. This file describe it about its CANOpen features.
    – Inside Codesys-Extras-AddConfigurationFile menù, select the .eds file.
    – Inside Codesys-PlcConfiguration, right click on ElsistSlimLine_CO_M item and select AppendSubElement selecting the CANOpen module name.
    – If ElsistSlimLine_CO_M is not present, add it right clicking on ElsistSlimLine-AppendSubElement
    – Right now you must configure the added CANOpen module setting its ID and communications parameters

    Screenshot of CANOpen I/O BeckHoff module added to Slimline PLC Configuration. We have set a mnemonic OutCan for its digital output and InpCan for its digital inputs, so inside program for example you can use OutCan.0 to set the first digital output of Beckhoff module or OutCan.7 to set the seventh digital output.

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Devi essere connesso per rispondere a questo topic.