Procedure for Modifying Hardware and Application Program

In order to modify hardware configuration or application program while HA-CS31 system is running, proceed as follows:

  1. Execute all necessary changes.

  2. Compile the project.

  3. Make sure that there is no error in the program.

  4. We recommend you, to carry out a ‘Clean All’ and ‘Rebuild All’.

  5. Select the communication channel of the primary CPU.

  6. Download the modified program.

    ⇒

    Now the CPU goes to STOP mode and there will be a changeover to secondary CPU.

  7. After a successful download, set the primary CPU to RUN mode and create a boot project.

    ⇒

    Now, the primary CPU is updated with the new program.

  8. Select the communication channel of the second CPU which is now the primary. Download the modified program.

    ⇒

    The CPU switches to STOP mode which results in a change over to the original CPU. The original CPU will start working as Primary.

  9. After a successful download, set the CPU to RUN mode and create a boot project.

    ⇒

    The complete system works in the same status as before modification.

Note

After adding or deleting the HA_CS31_DATA_SYNC function block or any HA-CS31 utility function block, restart the complete system.

Note

It is absolutely necessary that both CPUs have identically user programs.

Note

The replacement of CI590 is possible with a normal HA-CS31 system, which otherwise has no error: PLC A has to be the primary.

For replacement of CI590 when PLC B is the primary, the following pins of TU522-CS31 must be bridged before:

  • 2.2 to 2.5
  • 2.3 to 2.6
  • 2.4 to 2.7