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