Skip to content

Redundancy between two AXC F 3152 connected to an AXC F PN TPS

Hello, I am configuring a system with redundant PLCs, where PLC1 is connected to port X1 of the AXL F BK PN TPS and the PLC2 is connected to port X2 of the AXL F BK PN TPS, I am not using switches.

Function block ASR_ContrRed_3152 displays the following error:

wDiagCode=C401.

wAddDiagCode=C403.

The IP of the three devices were adjusted using NetName+, being PLC1: 192.168.2.10, PLC2: 192.168.2.11 and BK PN TPS: 192.168.2.12.

I used as a basis the application note "Applicative System Redundancy for PLCnext AXC F 3152", Revision 3, 07-02-2023, Author: Friedrich Hacki.

I am attaching my program.


Grateful for the attention.

Comments

  • At start-up, the function block “ASR_ContrRed” performs some PROFINET specific services on the PROFINET IO devices and therefore the function block needs to know the name of all configured IO devices. For this purpose, the “Name of Station” of all PROFINET IO devices must be stored at the “arrAR_DevList” InOut parameter.

    The error code, shown in your application program, tells you that a problem occurred executing these Profinet services.

    At your application program you have just configured one bus couplers, but in the “arrAR_DevList” InOut parameter there are many PROFINET IO devices listed. Since these IO devices are not configured at your Profinet bus configuration, this error message is shown.

    You always have to keep the names listed at the “arrAR_DevList” InOut Parameter identical to your Profinet bus configuration:


  • Hello,

    Thank you for your attention in resolving the previous problem with the ASR_ContrRed_3152 module, it was resolved, but another problem arose:

    In this same block the iSinkLink signal is = 2 and in the ASR_DataSynck_31 block, the xOperationState signal = 0.

    What could be the cause of this?

    Can you help me?

    Grateful for the attention.


  • The “iSyncLink” output parameter of the function block “ASR_ContrRed” tells you, whether the PLC has a valid communication link to the second PLC. In case of the value of this output parameter is “2”, there is no valid communication link.

    The are several reasons, why the communication between the PLCs does not work:

    Most probably the IP adjustment of the PLCs are not proper. So please check the IP-address adjustment of your PLCs. 

    As I can see from your screenshot on LAN2 and on LAN3 you are using the same Net IDs (192.168.2.X). This is not allowed! Each Ethernet interface shall have its own Net ID. Please have a look into the documentation:


  • Hello Friedrich,

    Thanks for your help.

    Redundancy is working correctly.

Sign In or Register to comment.