Introduction

The Device DDT instance name can be defined manually but, when adding a module, a default device DDT instance name is defined by Control Expert.

NOTE: These instructions assume that you have already added a drop to your Control Expert project.

Access the Device DDT Tab

In Control Expert:

Step

Action

Comment

1

Expand EIO Bus in the Control Expert Project Browser to display the Modicon M580 remote drop

Project Browser > Project > Configuration > EIO Bus > Modicon M580 remote drop

2

Double-click the installed drop adapter in the Modicon X80 Remote drop.

The X80 performance EIO adapter dialog appears.

3

Select the Device DDT tab.

 

The Implicit device DDT field contains a name and a type.

Drop Parameters

In the Control Expert Device DDT dialog, you can configure these parameters for the RIO drop:

Parameter

Description

Implicit device DDT

Name

A default device DDT instance name is defined by Control Expert.

Type

module type (read only)

Goto details

Click this link to the Device DDT Data Editor screen.

Diagnostic Parameters

Click the Goto details button on the Device DDT screen to view the Variables tab in the Data Editor . The bits indicates healthy (1) or unhealthy/unconfigured (0).

View the drop diagnostic parameters in T_M_CRA_EXT_IN for an RIO drop module:

Name

Type

Bit

Description

IO_HEALTH_RACK0

WORD

health bits of rack 0: slots 0...15

NOTE: Slot 0 is on the Least Significant bit of the Word.

IO_HEALTH_RACK1

WORD

health bits of rack 1: slots 0...15

NOTE: Slot 0 is on the Least Significant bit of the Word.

DEVICE_NAME

string[16]

device name of the RIO drop

VERSION

WORD

firmware version (Maj, Min) (4 digits coded in BCD)

ROTARY_SWITCHES

BYTE

rotary switch value at power up

CRA_STATE

BYTE

1: CRA module is idle.

2: CRA module is stopped.

3: CRA module is running.

CRA_DIAGNOSTIC [WORD]

GLOBAL_IO_HEALTH

BOOL

0

0: At least one I/O module in the drop reports bad health.

CCOTF_IN_PROGRESS

BOOL

1

CCOTF is in progress on the drop managed by the CRA.

CCOTF_INVALID_CONF

BOOL

2

CCOTF is not valid on the drop managed by the CRA.

IOPL_MISMATCH

BOOL

3

The I/O configuration in the drop differs from that expected by the CPU for the current application.

SWITCH_CHANGE

BOOL

4

The rotary switch settings have changed since the last power up.

This bit is reset if the rotary switch is returned to its original setting.

DROP_COM_HEALTH

BOOL

5

This bit shows the drop communication health (set to 1 when communication is established between the RIO drop and the I/O scanner).

REDUNDANT_POWER_SUPPLY_STATUS

BOOL

6

This bit shows that redundant power is present (1) or not present (0).

CYCLE_CURR_TIME

UINT

This word indicates the execution time of the last CRA cycle.

It has values between [0.65535] with a resolution of 0.01 ms, therefore, the last cycle time is between [0.655] ms.

CYCLE_MAX_TIME

UINT

This word indicates the longest CRA cycle execution time since the last start.

It has values between [0.65535] with a resolution of 0.01 ms, therefore, the longest cycle time is between [0,655] ms.

CYCLE_MIN_TIME

UINT

This word indicates the shortest CRA cycle execution time since the last start.

It has values between [0.65535] with a resolution of 0.01 ms, therefore, the shortest cycle time is between [0.655] ms.

TIME_STAMP_RECORDS

UINT

This word contains the number of records available in the local drop event buffer.

TS_DIAGNOSTIC_FLAGS (WORD)

TIME_VALID

BOOL

0

The time is valid and synchronized.

CLOCK_FAILURE

CLOCK_NOT_SYNC

BOOL

1

2

If

  • bit 1 = 1 & bit 2 = 1, since power- on CRA adapter has not received a response from NTP server.

  • bit 1 = 0 & bit 2 = 1, CRA adapter has received a response from NTP server in the past but is not currently receiving the time from the NTP server

  • bit 1 = 0 & bit 2 = 0, Time is valid, CRA adapter is receiving responses from the NTP server.

BUFF_FULL

BOOL

3

The local drop event buffer is full.

TS_BUF_FILLED_PCTAGE

BYTE

This byte reports the percentage of the local drop event buffer filled (0...100).

TS_EVENTS_STATE

BYTE

Refer to Main States.

ETH_STATUS (BYTE)

PORT1_LINK

BOOL

0

0 = Port 1 (ETH1) link is down.

1 = Port 1 (ETH1) link is up.

PORT2_LINK

BOOL

1

0 = Port 2 link is down.

1 = Port 2 link is up.

PORT3_LINK

BOOL

2

0 = Port 3 link is down.

1 = Port 3 link is up.

ETH_BKP_PORT_LINK

BOOL

3

0 = Ethernet backplane link is down.

1 = Ethernet backplane link is up.

RPI_CHANGE

BOOL

4

RPI change: EtherNet/IP RPI change is in progress (during CCOTF).

REDUNDANCY_OWNER

BOOL

6

1 = Redundant owner is present.

0 = Redundant owner is not present.

GLOBAL_STATUS

NOTE: Refer to the SERVICE_STATUS byte below.

BOOL

7

0 = At least 1 service is not operating normally.

1 = All services are operating normally.

SERVICE_STATUS (BYTE)

RSTP_SERVICE

BOOL

0

0 = RSTP service is not operating normally.

1 = RSTP service is operating normally or disabled.

SNTP_SERVICE (reserved)

BOOL

1

0 = SNTP service is not operating normally.

1 = SNTP service is operating normally or disabled.

PORT502_SERVICE

BOOL

2

0 = Port 502 service is not operating normally.

1 = Port 502 service is operating normally or disabled.

SNMP_SERVICE

BOOL

3

0 = SNMP service is not operating normally.

1 = SNMP service is operating normally or disabled.

ETH_BKP_FAILURE

BOOL

5

0 = Ethernet backplane hardware status is not OK.

1 = Ethernet backplane hardware status is OK.

ETH_BKP_ERROR

BOOL

6

0 = An error is detected on the Ethernet backplane.

1 = No errors are detected on the Ethernet backplane.

ETH_PORT_STATUS (BYTE)

These combined 2-bit values indicate the port conditions.

WORD

1/0

Ethernet backplane port 1 function

3/2

Ethernet port 1 RSTP role

5/4

Ethernet backplane port 2 function

7/6

Ethernet port 2 RSTP role

9/8

Ethernet backplane port 3 function

11/10

Ethernet port 3 RSTP role

12/13

Ethernet backplane port 4 function

14/15

Ethernet port 4 RSTP role

port function

0

disabled

1

access port

2

port mirror

3

RIO network port

RSTP role

0

alternate

1

backup

2

designated

3

root

NTP_UPDATE

UINT

elapsed time (100 ms) since last update from NTP server

MAX_PACKET_INTERVAL

UINT

maximum packet interval (ms) for output packets (from scanner to adapter)

IN_BYTES

UINT

number of bytes (octets) received on interface

IN_ERRORS

UINT

number of inbound packets that contain detected errors

OUT_BYTES

UINT

number of bytes (octets) sent on interface

OUT_ERRORS

UINT

number of outbound packets that contain detected errors

SOE_UNCERTAIN

BOOL

The sequence of events SOE in the local drop event buffer is not known. The SOE_UNCERTAIN is reset when the sequence of events is OK.

Main States of the Time Stamp Source

The TS_EVENTS_STATE byte reports the main state of the source of the time stamp events:

Byte Value (hex)

Description

20

wait for client

31

ValuesSynchro requested and waiting for buffer below the threshold

32

ValuesSynchro started

40

event Stamping

Device DDT Types for I/O Modules

Refer to the following user guides for specific I/O module device DDT types:

I/O Module

User Guide Reference

Modicon X80 discrete input/output

Modicon M340 Using Unity Pro Discrete Input/Output Modules User Manual

Modicon X80 analog input/output

Modicon M340 with Unity Pro Analog Input/Output Modules User Manual

BMXEHC0800

Modicon M340 with Unity Pro Counting Module BMXEHC0800 User Manual

BMXEHC0200

Modicon M340 with Unity Pro Counting Module BMXEHC0200 User Manual

BMXNOM0200

Modicon M340 with Unity Pro Serial Link User Manual

BMXERT1604T

BMXERT1604T M340 ERT Module User Manual