Codesys Control for PLCnext (PLC - AXL F 2152)

cfam
2023-12-06
2025-09-09
  • cfam - 2023-12-06

    Good day All

    I would like to share some information on this site for the Codesys team as well for the future members using Codesys Control for PLCnext if it is allowed. I hope that i Post it in the correct spot.

    Subject:
    Codesys, Codesys Control for PLCnext

    Objective:
    Using the following Phoenix components to built a PLC Rack and run it on Codesys:

    Hardware and Software used
    1. 2404267, AXC F 2152 - Controller
    2. 1088136, AXL F BP SE6 - Module carrier
    3. 1088129, AXL SE DO16/1 - Digital module
    4. 1337224, AXL SE PD16 GND - Potential distributors
    5. 1088127, AXL SE DI16/1 - Digital module
    6. 1337223, AXL SE PD16 24V - Potential distributors
    7. 1088123, AXL SE AO4 I 4-20 - Analog module
    8. 1088134, AXL SE SC-A - Cover
    9. Codesys v3.5 SP19 Patch 4
    10. Codesys Control for PLCnext V4.10.0.0

    Process:

    Firstly I built the Rack according to the Phoenix Project+ Software tool. Where I rebuilt it onto my test bench .

    I used the PLCnext Engineer IDE from Phoenix and all Communications where up and running and my PLC program executed successfully.

    THEN

    I tried the same PLC Layout with Codesys and Codesys Control for PLCnext. It was not successful and gave me the "Error: Local Bus not Running".

    I searched the web for answers but was unsuccessful in finding a solution.

    So I tried to change my configuration and found that the following Modules COULD NOT be recognized by Codesys Control. The result was that the Local Bus Failed to run.

    1337224, AXL SE PD16 GND - Potential distributors
    1337223, AXL SE PD16 24V - Potential distributors

    Example 1, Resulted in "Error: Local Bus Not Running":

    Module carrier slot 1: 1088129, AXL SE DO16/1 - Digital module
    Module carrier slot 2: 1337224, AXL SE PD16 GND - Potential distributors
    Module carrier slot 3: 1088127, AXL SE DI16/1 - Digital module
    Module carrier slot 4: 1337223, AXL SE PD16 24V - Potential distributors
    Module carrier slot 5: 1088123, AXL SE AO4 I 4-20 - Analog module
    Module carrier slot 6: 1088134, AXL SE SC-A - Cover

    Example 2, Result "Successful":

    Module carrier slot 1: 1088129, AXL SE DO16/1 - Digital module
    Module carrier slot 2: 1088127, AXL SE DI16/1 - Digital module
    Module carrier slot 3: 1088123, AXL SE AO4 I 4-20 - Analog module
    Module carrier slot 4: 1088134, AXL SE SC-A - Cover
    Module carrier slot 5: 1088134, AXL SE SC-A - Cover
    Module carrier slot 6: 1088134, AXL SE SC-A - Cover

    Result:

    Codesys or Codesys Control for PLCnext, has a PROBLEM to identify the following Modules.
    1. AXL SE PD16 24V - Potential distributors
    2. AXL SE PD16 GND - Potential distributors

    Hope that this information could be useful in future.

    Best regards
    Jaco Pretorius

     
  • ranadheer - 2025-09-09

    Hello Jaco Pretorius,

    I came across your post regarding CodeSys control for PLCnext. I’m currently working on a similar setup and had a quick question.

    Here am using the CODESYS V3.5 SP21 PATCH2 ,VERSION 3.5.21.20 , and Downloaded extension package 4.16.0.0 (old versions are not available in the extension CodeSys installer)

    Devices used here are:
    BUS COUPLER : 2403869 BK PN TPS
    Module carrier slot 1 : 1088127 AXL SE DI16/1
    Module carrier slot 2 : 1088062 AXL SE AI4 | 4-20
    Module carrier slot 3 : 1088129 AXL SE DO16/1
    Module carrier slot 4 : 1088123 AXL SE AO4 | 4-20

    -->Start a New Project
    Type: Standard Project
    Device: CODESYS Control Win V3 x64
    Language: Structured Text

    -->Install GSDML File
    Navigate to: Tools > Device Repository > Install
    Select the GSDML file path (downloaded from Phoenix Contact for device coupler Part ID: BK PN TPS 2403869)
    Click Renew Device Repository
    Close the dialog
    -->Add Device to Project

    -->Right-click on Devices > Add Device
    Issue: Devices from the repository are not available to select or call into the project!

    I’d really appreciate any guidance or suggestions you can offer.

    Best Regards
    Ranadheer Reddy

     
  • ranadheer - 2025-09-09

    Hello Jaco Pretorius,

    I came across your post regarding CodeSys control for PLCnext. I’m currently working on a similar setup and had a quick question.

    Here am using the CODESYS V3.5 SP21 PATCH2 ,VERSION 3.5.21.20 , and Downloaded extension package 4.16.0.0 (old versions are not available in the extension CodeSys installer)

    Devices used here are:
    BUS COUPLER : 2403869 BK PN TPS
    Module carrier slot 1 : 1088127 AXL SE DI16/1
    Module carrier slot 2 : 1088062 AXL SE AI4 | 4-20
    Module carrier slot 3 : 1088129 AXL SE DO16/1
    Module carrier slot 4 : 1088123 AXL SE AO4 | 4-20

    -->Start a New Project
    Type: Standard Project
    Device: CODESYS Control Win V3 x64
    Language: Structured Text

    -->Install GSDML File
    Navigate to: Tools > Device Repository > Install
    Select the GSDML file path (downloaded from Phoenix Contact for device coupler Part ID: BK PN TPS 2403869)
    Click Renew Device Repository
    Close the dialog
    -->Add Device to Project

    -->Right-click on Devices > Add Device
    Issue: Devices from the repository are not available to select or call into the project!

    I’d really appreciate any guidance or suggestions you can offer.

    Best Regards
    Ranadheer Reddy

     
  • TimvH

    TimvH - 2025-09-09

    Do not filter on Phoenix devices.
    First add an Ethernet device (from CODESYS). Then add a Profinet Controller (from CODESYS). Then add your Phoenix devices to this CODESYS Profinet Controller.

     

Log in to post a comment.