Device DDT Parameters
Original instructions
Introduction
This topic describes the Control Expert Device DDT tab for a X80 remote drop that includes a 140CRA31908 adapter module.
A derived data type (DDT) is a set of elements with the same type (ARRAY) or with different types (structure).
This is the I/O structure type when an X80 remote drop with a 140CRA31908 module is installed in an M580 system (where QSA represents the 140CRA31908 module): T_Q_QSA_DROP_EXT_IN
In the default DDT name, the drop number is represented by d#. For example, the second drop has the default DDT name EIO2_d2_DROP.
Access the Device DDT Tab
Access the Device DDT parameters in Control Expert:
Step
Action
1
Expand (+) EIO Bus in Control Expert (Project Browser → EIO Bus → Quantum S908 remote Drop).
NOTE: QSA represents the 140CRA31908 module.
2
Double-click Quantum S908 remote drop to view the parameter tabs for the drop.
3
Select the Device DDT tab to see the DDDT parameters for the Quantum S908 remote drop.
Implicit Device DDT
On the Device DDT tab you can view the default Name and Type of the implicit device DDT instance for the Quantum S908 remote drop
Parameter
Name
Comment
Name
EIO2_d1_DROP
You can edit this name for the first drop (d1) on the EIO Bus.
Type
T_Q_QSA_DROP_EXT_IN
This is the name for the Quantum S908 remote drop that contains a 140CRA31908 module. (You cannot edit this name.)
Diagnostic Parameters
Click the Goto details button on the Device DDT tab to see the list of diagnostic parameters of the T_Q_QSA_DROP_EXT_IN DDT for the Quantum S908 remote drop:
Name
Type
Description
IO_HEALTH_RACK1
WORD
Health bits of rack 1: slot 1 (rightmost) to 16 (leftmost)
IO_HEALTH_RACK2
WORD
Health bits of rack 2: slot 1 (rightmost) to 16 (leftmost)
DEVICE_NAME
string[16]
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)
bit 0: GLOBAL_IO_HEALTH
BOOL
0: At least one I/O module in the remote drop reports bad health.
bit 1: CCOTF_IN_PROGRESS
BOOL
CCOTF is in progress.
bit 2:CCOTF_INVALID_CONF
BOOL
CCOTF configuration is not valid.
bit 3: IOPL_MISMATCH
BOOL
There is an output data mismatch. The modules in the rack are not the same as the modules configured in the PLC.
bit 4: SWITCH_CHANGE
BOOL
The rotary switches settings have changed since the last power up.
bit 5: DROP_COM_HEALTH
BOOL
This bit shows the remote drop communication health (set to 1 in the remote drop).
bits 6...7
(reserved)
bit 8: REMOTE_IO_ERROR
BOOL
1 = One of these conditions is met:
  • The 140CRP93•00 is missing.
  • The 140CRP93•00 has a detected error.
  • Communications with one or more remote drops lost.
NOTE: Refer to RIO_ERROR_CODE values for details on the detected IO error (see below).
0 = The 140CRP93•00 is operating normally and it sees Quantum S908 remote drops.
bit 9: MASTER_STATE
BOOL
1 = 140CRP93•00 is the S908 bus master of the remote drop.
0 = 140CRP93•00 is not the S908 bus master.
bit 10: INPUT_READY
BOOL
1 = S908 inputs are ready.
0 = S908 inputs are not ready.
bit 11: CCOTF_ALLOWED
BOOL
1 = CCOTF is allowed on the RIO bus.
0 = CCOTF is not allowed on the RIO bus.
bits 12...15
(reserved)
CYCLE_CURR_TIME
UINT
This word indicates the execution time of the last CRA cycle. Its values (0...65535) have a resolution of 0.01 ms. Therefore, the last cycle time is between 0 and 655 ms.
CYCLE_MAX_TIME
UINT
This word indicates the longest CRA cycle execution time since the last start. Its values (0...65535) have a resolution of 0.01 ms. Therefore, the last cycle time is between 0 and 655 ms.
CYCLE_MIN_TIME
UINT
This word indicates the shortest CRA cycle execution time since the last start. Its values (0...65535) have a resolution of 0.01 ms. Therefore, the last cycle time is between 0 and 655 ms.
TIME_STAMP_RECORDS
UINT
number of time stamp records available in the remote drop local buffer
CRP_VERSION
WORD
firmware version of the 140CRP93•00
RIO_ERROR_CODE
WORD
Error code values (Hex):
  • 10: Incorrect CRP initialization
  • 20: The CRP is hot swapped or connected in a wrong slot
  • 30: Incorrect CRP diagnostic sequence
  • 40: Quantum S908 Adapter internal state error
  • 50: The CRP version is not compliant with CCOTF
  • 60: Incorrect CRP configuration
  • 70: Communication interruption with CRP
  • 80: CRP in Kernel mode
ETH_STATUS (BYTE)
PORT1_LINK
BOOL
0 = Port 1 link is down.
1 = Port 1 link is up.
PORT2_LINK
BOOL
0 = Port 2 link is down.
1 = Port 2 link is up.
PORT3_LINK
BOOL
0 = Port 3 link is down.
1 = Port 3 link is up.
RPI_CHANGE
BOOL
RPI change: EtherNet/IP RPI change is in progress (during CCOTF).
REDUNDANCY_OWNER
BOOL
0 = Redundant owner is not present.
1 = Redundant owner is present.
GLOBAL_STATUS
BOOL
0 = At least one service is not operating normally.
1 = All services are operating normally.
SERVICE_STATUS (BYTE)
RSTP_SERVICE
BOOL
0 = RSTP service is not operating normally.
1 = RSTP service is operating normally or disabled.
SNTP_SERVICE (reserved)
BOOL
0 = SNTP service is not operating normally.
1 = SNTP service is operating normally or disabled.
PORT502_SERVICE
BOOL
0 = Port 502 service is not operating normally.
1 = Port 502 service is operating normally or disabled.
SNMP_SERVICE
BOOL
0 = SNMP service is not operating normally.
1 = SNMP service is operating normally or disabled.
ETH_PORT_STATUS (WORD)
These combined two-bit values indicate the port conditions.
bits: 0, 1
Ethernet port 1 function
bits: 2, 3
Ethernet port 1 RSTP role
bits: 4, 5
Ethernet port 2 function
bits: 6, 7
Ethernet port 2 RSTP role
bits: 8, 9
Ethernet port 3 function
bits: 10, 11
Ethernet port 3 RSTP role
bits: 12, 13
Ethernet port 4 function
bits: 14, 15
Ethernet port 4 RSTP role
Ethernet port function (binary value)
00
disabled
01
access port
10
port mirror
11
RIO network port
Ethernet port RSTP role
00
alternate
01
backup
10
designated
11
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
IN_BYTES
UINT
number of bytes (octets) received on interface
IN_ERRORS
UINT
number of inbound packets that contain detected errors (In Errors)
OUT_BYTES
UINT
number of bytes (octets) sent on interface
OUT_ERRORS
UINT
number of outbound packets that contain detected errors (In Errors)