DNP3 Data Object Type Mapped to Control Expert EDT/DDT
Original instructions
Introduction
The RTU data object is mapped to a Control Expert variable with EDT/DDT while exporting data objects mapping a relationship to an *.XSY file. In addition to the variables you define, the .XSY file contains predefined DDT types for timestamp formats.
DNP3
Data object type
Data length (bits)
Control Expert EDT/DDT
Protocol
Binary Input
1
WORD
master/slave
Double Input
2
WORD
Binary Counter
32
DWORD
Analog Input
32
DINT/REAL
Analog Input Deadband
32
DINT/REAL
Binary Input + Time
1
WORD+CP56
Double Input + Time
2
WORD+CP56
Binary Counter + Time
32
DWORD+CP56
Analog Input + Time
32
DINT/REAL+CP56
Binary Input + Flag
1
WORD+WORD
Double Input + Flag
2
WORD+WORD
Binary Counter + Flag
32
DWORD+DWORD
Analog Input + Flag
32
DINT/REAL+DWORD
Binary Input + Flag + Time
1
WORD+WORD+CP56
Double Input + Flag + Time
2
WORD+WORD+CP56
Binary Counter + Flag + Time
32
DWORD+DWORD+CP56
Analog Input + Flag + Time
32
DINT/REAL+DWORD+CP56
Binary Output Status
1
WORD
Binary Output Status + Time
1
WORD+CP56
Binary Output Status + Flag
1
WORD+WORD
master
Binary Output Status + Flag + Time
1
WORD+WORD+CP56
Binary Output Status Flag
8
WORD
slave
Analog Output Status
32
DINT/REAL
Analog Output Status + Time
32
DINT/REAL+CP56
master/slave
Analog Output Status + Flag
32
DINT/REAL+DWORD
master
Analog Output Status + Time
32
DINT/REAL+DWORD+CP56
Analog Output Status Flag
8
WORD
slave
Binary Output + Status
1
WORD+WORD
master
Analog Output + Status
32
DINT/REAL+DWORD
Read_Class + Status
16
WORD+WORD
Read_Group + Status
16
WORD+WORD
Freeze_Counter + Status
16
WORD+WORD
Unsolicited_Class + Status
16
WORD+WORD
Time_Sync + Status
16
WORD+WORD
Restart + Status
16
WORD+WORD
Gen_Events
16
WORD+WORD
Clear_Events
16
WORD+WORD
Integrity_Poll + Status
16
WORD+WORD
Analog Input Dband + Status
32
DINT/REAL+DWORD
NOTE: The DNP type of analog I/O data objects can be converted to REAL according to your application requirements.
NOTE: The advanced RTU module only supports to send Integrity Poll command periodically. It can be realized by programming in PLC application. It is recommended that the period in PLC scan period be longer than 200 milliseconds.
CP56Time2a
CP56 Element
Type
Definition
ms (milliseconds)
WORD
2 bytes for milliseconds from 0 to 59999
minute
BYTE
Bit 0...5: Minutes from 0 to 59
Bit 6: Indicates Genuine Time or Substituted Time.
  • 0 = the time tag was added to the information object when it was acquired by the RTU (Genuine Time).
  • 1 = the time tag was substituted by intermediate equipment, such as concentrator stations, or the controlling station itself (Substituted Time).
Bit 7: Indicates the validity of the time stamp when time synchronization is lost.
  • 0 = Valid Time
  • 1 = Invalid Time
hour
BYTE
Bit 0...4: Hours from 0 to 23
Bit 5: Reserved (always 0)
Bit 6: Reserved (always 0)
Bit 7: Indicates the present valid time. The summer bit (SU) may be used as additional information.
  • 0 = Standard Time
  • 1 = Summer Time
monthday
BYTE
Bit 0...4: Day of month from 1 to 31
Bit 5...7: Day of week from 1 to 7
month
BYTE
Bit 0...3: Months from 1 to 12
Bit 4...7: Reserved (always 0)
year
BYTE
Bit 0...6: Years from 0 to 99 (1/1/xx00 to 31/12/xx99)
Bit 7: Reserved (always 0)
The Summer Bit parameter is supported in the timestamp IEC60870 and can be set in the CPU mapping register with the DDT CP56Time2a parameter.
NOTE: The advanced RTU module uses the summer bit to determine the time in the time zone. The SCADA must also set the summer bit for time synchronization.