Supported platforms: CODESYS 2.3, CODESYS 3.5, CODESYS 3.5 SAFETY

 

Removing PLCopen Application

Using CAN

To clear the application, use the following CANopen commands to CANopen interface for CODESYS runtime.

 

CODESYS 2.3CODESYS 2.3

General command (for 3000 series, 4000 series and 5050 units)

To remove PLCopen application:

 

1. Send a stop command to CODESYS runtime:

 

COB-ID

DLC

D0

D1

D2

D3

D4

D5

D6

D7

600h + node-ID

8

2Fh

25h

10h

1h

4h

0h

0h

0h

 

2. Wait until you get a response. If the control unit is booting continuously, it can take several attempts to get a response. If it is not possible to get this command through, there are some optional commands which can be used with some control unit platforms. See the following sections.

 

3. Send a reset original command to control unit command to CODESYS runtime.

 

 This command also clears the retain and persistent retain variables

 

 

COB-ID

DLC

D0

D1

D2

D3

D4

D5

D6

D7

600h + node-ID

8

2Fh

25h

10h

1h

13h

2h

0h

0h

 

4. Power boot the control unit.

 

 

 

Optional command for 5050 (to clear the application and not to reset persistent and retain persistent variables)

 This command does not clear the retain and persistent retain variables

 

 

To clear the application and to keep persistent and retain persistent variables:

 

1. Send a stop command to CODESYS:

 

COB-ID

DLC

D0

D1

D2

D3

D4

D5

D6

D7

600h + node-ID

8

2Fh

25h

10h

1h

4h

0h

0h

0h

 

2. Wait until you get a response.

 

3. Write 0 checksum to checksum index.

 

COB-ID

DLC

D0

D1

D2

D3

D4

D5

D6

D7

600h + node-ID

8

23h

50h

1Fh

4h

0h

0h

0h

0h

 

4. Give a power boot for the control unit.

 

 

 

Command for 2000 series units

Use RAC (remote access and control).

 

CODESYS 3.5CODESYS 3.5

5000 Series Control Units

To clear the application:

 

1. Send a following command to CODESYS node-ID:

 

COB-ID

DLC

D0

D1

D2

D3

D4

D5

D6

D7

600h + node-ID

8

23h

50h

1Fh

3h

0h

0h

0h

0h

 

Device remains in stopped state and the application is cleared from flash.

 

2. Power boot the control unit.

 

6000 Series Units

Use ApplicationLoader software, for more information see Clearing NVRAM / Files / Runtime (6107, 6112)

 

For 6505 Units, download runtime (or) from CODESYS IDE online, reset origin

 

S Series/ E Series Control Units

To clear the application:

 

1. Follow Unlocking SW protection guide to enable clearing the application

 

2. Send a following command to CODESYS node-ID:

 

COB-ID

DLC

D0

D1

D2

D3

D4

D5

D6

D7

600h + node-ID

8

23h

50h

1Fh

3h

0h

0h

0h

0h

 

Device remains in stopped state and the application is cleared from flash.

 

3. Give a power boot for the control unit.

 

Using BSL

Removing application using BSL pin is supported in following firmware versions

  • 3000/4000 series control units : FW version 1.170 or newer

  • EC44 CODESYS 3.5 control unit : FW version 1.1.0.0 or newer

  • 5050 CODESYS 3.5 control unit: FW version 1.2.0.0 or newer

    • Not supported in 5050 CODESYS 2.3 version

 

BSL pin locations:

Control unit

BSL pin number

3606, 3610

X1.13

3720, 3724

X3.15

4602

X1.13

5050

X1.13

EC44

X1.25

 

 

3000/4000 series units3000/4000 series units

In case a control unit is not responding to CAN messages, use the BSL pin to reset the control unit to factory settings:

 

1. Disconnect the power from the control unit.

2. Connect the BSL pin to ground

3. Power up the unit

4. The LED indicator flashes red and green alternatively (5 Hz frequency) for ten seconds after which it will flash only green (5 Hz)

    If the unit has no LED indicator, wait for 10 seconds

5. Reboot the control unit and disconnect the BSL pin from ground

6. The unit is now restored to factory settings

 

5000 series units5000 series units

In case a control unit is not responding to CAN messages, use the BSL pin to remove the PLCopen application.

 

1. Disconnect the power from the control unit.

2. Connect the BSL pin to ground

3. Power up the unit

4. The LED indicator flashes red and green in (5 Hz frequency) for about ten seconds after which it will flash only green (5 Hz).

5. Disconnect the BSL pin from ground, reboot the control unit

6. The default application is started

 

EC44 unitsEC44 units

In case a control unit is not responding to CAN messages, use the BSL pin to remove the PLCopen application.

 

1. Disconnect the power from the control unit.

2. Connect the BSL pin to ground

3. Power up the unit

4. The LED indicator flashes red and green in (5 Hz frequency) for about ten seconds after which it will flash only green (5 Hz).

5. Disconnect the BSL pin from ground, reboot the control unit

6. Unit starts without application

 

 

 

 

 

 

Source file Topic000651.htm

Last updated 21-Feb-2025