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

Default PLCopen Application

Epec units have a software called Default application. The default application provides certain CANopen indexes for Epec devices that can be used to configure the control unit. The provided indexes may differ depending on the hardware product (see the table below).

 

 

 

202x, 203x and E/S series units do not have default application, but firmware responses to indexes listed in the table.

 

6000/X series and 2040 do not have a default application.

 

 

 

CANopen OD indexes

Index

Sub-index

Type

Description

Additional information

3000s

4602

5050

CODESYS 2.3

5050

CODESYS 3.5

E Series

S Series

202x, 203x

1000h

 

U32

Device type

Describes the type of device

and its functionality.

x

x

x

x

x

x

x

1008h

 

STRING

Manufacturer Device Name

Control unit name, e.g. SC52

 

 

in runtime

 

x

x

 

1009h

 

STRING

Manufacturer Hardware Version

 

 

 

 

 

 

 

100Ah

 

STRING

Manufacturer Software Version

 

x

x

x

x

x

x

x

1010h

 

ARRAY

Store parameters

 

x

x

x

x

x

x

x

 

0h

U8

Number of entries

 

x

x

x

x

x

x

x

 

1h

U32

Save all parameters

Store parameters to non-volatile memory. Write = 65766173h, where

(s = 73h, a = 61h, v = 76h, e = 65h)

x

x

x

x

x

x

x

1011h

 

ARRAY

Restore Parameters

 

x

x

x

x

x

x

x

 

0h

U8

Number of entries

 

x

x

x

x

x

x

x

 

1h

U32

Restore all default parameters

Restore default parameter values. Write = 64616F6Ch, where

(l = 6Ch, o = 6Fh, a = 61h, d = 64h)

x

x

x

x

x

x

x

1017h

 

U16

Heartbeat producer time

[ms]

 

 

x

x

 

 

 

1018h

 

RECORD

Identity Object

Identifies the control unit

x

x

x

x

x

x

x

 

0h

U8

Number of entries

 

x

x

x

x

x

x

x

 

1h

U32

Vendor-ID

Identifies the manufacturer of a device

x

x

x

x

x

x

x

 

2h

U32

Product Code

Product code, for example

- 7E8 = 2024

- E16 = 3606

- 22D4 = 8916

x

x

x

x

x

x

x

 

3h

U32

Revision Number

 

x

x

x

x

x

x

x

 

4h

U32

Serial Number

 

x

x

x

x

x

x

x

2003h

 

ARRAY

Communication parameters

for 202x and 203x units

2020, 2023, 2024, 2038, 2040

 

 

 

 

 

 

x

 

0x0h

U8

Number of entries

 

 

 

 

 

 

 

x

 

0x1h

U32

Node-ID for CAN1

 

 

 

 

 

 

 

x

 

0x4h

U32

Bit rate for CAN1

Bit rate in kbit/s

 

 

 

 

 

 

x

 

0xDh

U32

Node-ID for CAN2

 

 

 

 

 

 

 

x

 

0xEh

U32

Bit rate for CAN2

Bit rate in kbit/s

 

 

 

 

 

 

x

2030h

1h

U32

Supported CODESYS platform

Supported CODESYS version in format AABBCCFFh for example 03050000h --> CODESYS 3.5.0.0

 

 

 

x

x

x

 

2031h

 

ARRAY

Password

 

 

 

 

 

x

x

 

 

1h

STRING

Software download and parameter handling password enter

 

 

 

 

 

x

x

 

 

2h

STRING

Software download and parameter handling password change

 

 

 

 

 

x

x

 

 

3h

STRING

Software download and parameter handling password reset

 

 

 

 

 

x

x

 

2032h

1h

U8

Software download and parameter handling status (2031h)

 

 

 

 

 

x

x

 

2036h

0h

DOMAIN / RO

Version information

Data structure which describes version information for unit. Data is offered as one binary data. Byte aligment is always in platform native format.

 

Data structure is depicted in product specific Int libraries.

For example, SC52:

Libraries > S Series Specific Libraries > SafeSC52int > Data Types

 

 

 

 

x

x

 

2037h

0h

DOMAIN / RO

Production data

Data structure which describes production data for unit. Data is offered as one binary data. Byte aligment is always in platform native format.

 

Data structure is depicted in product specific Int libraries.

For example, SC52:  

Libraries > S Series Specific Libraries > SafeSC52int > Data Types

 

 

 

 

x

x

 

2072h

1h

Binary

Firmware status

               

2130h

 

ARRAY

Application version information

 

x

x

x

x

 

 

 

 

1h

STRING

Application version

Application software version

x

x

x

x

 

 

 

2140h

 

ARRAY

MAC Address

MAC address of the control unit

 

 

x

x

 

 

 

 

0h

U8

Number of entries

 

 

 

x

x

 

 

 

 

1h

U8

MAC address byte 1

 

 

 

x

x

 

 

 

 

2h

U8

MAC address byte 2

 

 

 

x

x

 

 

 

 

3h

U8

MAC address byte 3

 

 

 

x

x

 

 

 

 

4h

U8

MAC address byte 4

 

 

 

x

x

 

 

 

 

5h

U8

MAC address byte 5

 

 

 

x

x

 

 

 

 

6h

U8

MAC address byte 6

 

 

 

x

x

 

 

 

2141h

 

ARRAY

Ethernet Configuration

The new configurations are taken to use after the control unit is rebooted.

 

 

x

x

 

 

 

 

0h

U8

Number of entries

 

 

 

x

x

 

 

 

 

1h

U8

Ethernet enabled/disabled

 

 

 

x

x

 

 

 

 

2h

U8

DHCP on/off

To disable/enable the DHCP, write 0/1 to index 2141h sub-index 1h.

Disabling DHCP requires that the IP address, net mask and gateway are manually defined.

To save the new settings, write save command to index 1010h.

 

 

x

x

 

 

 

 

12h

U8

Netstatus

Valid values
0
  - OFF
1 - Unknown
10 - 10Mb
100 - 100Mb
255 - Query failed

 

 

x

x

 

 

 

 

13h

U8

IP address highest byte

When DHCP is ON

- write access is prohibited.

- reading this index updates the IP address and net mask

 

 

x

x

 

 

 

 

14h

U8

IP address 3rd byte

When DHCP is ON, write access is prohibited.

 

 

x

x

 

 

 

 

15h

U8

IP address 2nd byte

When DHCP is ON, write access is prohibited.

 

 

x

x

 

 

 

 

16h

U8

IP address lowest byte

When DHCP is ON, write access is prohibited.

 

 

x

x

 

 

 

 

17h

U8

Gateway highest byte

 

 

 

x

x

 

 

 

 

18h

U8

Gateway 3rd byte

 

 

 

x

x

 

 

 

 

19h

U8

Gateway 2nd byte

 

 

 

x

x

 

 

 

 

1Ah

U8

Gateway lowest byte

 

 

 

x

x

 

 

 

 

1Bh

U8

Netmask highest byte

 

 

 

x

x

 

 

 

 

1Ch

U8

Netmask 3rd byte

 

 

 

x

x

 

 

 

 

1Dh

U8

Netmask 2nd byte

 

 

 

x

x

 

 

 

 

1Eh

U8

Netmask first byte

 

 

 

x

x

 

 

 

2150h

 

ARRAY

CAN1 Configuration

 

x

x

x

x

x

x

 

 

0h

U8

Number of entries

 

x

x

x

x

x

x

 

 

1h

U16

CODESYS communication enabled

This does not have any effect since CODESYS communication is enabled always for CAN1

x

x

x

x

x

x

 

 

2h

U16

CODESYS communication node-ID

 

x

x

x

x

x

x

 

 

3h

U16

Bit rate

Bit rate in kbit/s

x

x

x

x

x

x

 

 

4h

U16

Cable detection offset for CODESYS node-ID

 

x

x

x

x

 

 

 

 

5h

U16

Cable detection offset for PLCopen node-ID

For information about cable detection calculation, see hardware specific sections for cable detection (for example Programming 3606 > 3606 Cable Detection).

x

x

x

x

 

 

 

 

6h

U16

Mask for cable detection pins

Mask is used to define pins which are used to configure node-ID for CODESYS and PLCopen application based on the pin state for cable detection.


For information about cable detection calculation, see hardware specific sections for cable detection
(for example Programming 3606 > 3606 Cable Detection).

x

x

x

x

 

 

 

 

Ah

U16

PLCopen application node-ID in CAN1

 

x

x

x

x

x

x

 

2151h

 

ARRAY

CAN2 Configuration

 

x*

x

x

x

 

 

 

 

0h

U8

Number of entries

 

x*

x

x

x

 

 

 

 

1h

U16

CODESYS communication enabled

This setting is valid only for CAN1

x*

x

x

x

 

 

 

 

2h

U16

CODESYS communication node-ID

This setting is valid only for CAN1

x*

x

x

x

 

 

 

 

3h

U16

Bit rate

Bit rate in kbit/s

x*

x

x

x

 

 

 

 

4-9h

U16

Reserved for future use

 

x*

x

x

x

 

 

 

 

Ah

U16

PLCopen application node-ID in CAN2

 

x*

x

x

x

 

 

 

2152h

 

ARRAY

CAN3 Configuration

 

 

 

x

x

 

 

 

 

0h

U8

Number of entries

 

 

 

x

x

 

 

 

 

1h

U16

CODESYS communication enabled

This setting is valid only for CAN1

 

 

x

x

 

 

 

 

2h

U16

CODESYS communication node-ID

This setting is valid only for CAN1

 

 

x

x

 

 

 

 

3h

U16

Bit rate

Bit rate in kbit/s

 

 

x

x

 

 

 

 

4-9h

U16

Reserved for future use

 

 

 

x

x

 

 

 

 

Ah

U16

PLCopen application node-ID in CAN3

 

 

 

x

x

 

 

 

2153h

 

ARRAY

CAN4 Configuration

 

 

 

x

x

 

 

 

 

0h

U8

Number of entries

 

 

 

x

x

 

 

 

 

1h

U16

CODESYS communication enabled

This setting is valid only for CAN1

 

 

x

x

 

 

 

 

2h

U16

CODESYS communication node-ID

This setting is valid only for CAN1

 

 

x

x

 

 

 

 

3h

U16

Bit rate

Bit rate in kbit/s

 

 

x

x

 

 

 

 

4-9h

U16

Reserved for future use

 

 

 

x

x

 

 

 

 

Ah

U16

PLCopen application node-ID in CAN4

 

 

 

x

x

 

 

 

x* depends on the hardware version

 

 

 

 

Source file topic000800.htm

Last updated 21-Feb-2025