CmpDNP3SocketConfiguration (STRUCT) ¶ TYPE CmpDNP3SocketConfiguration : STRUCT Socket configuration parameter InOut: Name Type Comment mode CmpDNP3Mode Define data types used to interface to the TCP target. role CmpDNP3Role The role as master or outstation ipAddress INADDR Master: Address to connect to. Outstation: Remote address of the peer to accept. localAddress INADDR IP of the local adapter to bind to. port UINT Port to connect to (Master) or Listen (Outstation). dualEndpointPort UINT destUDPPort UINT UDP Configuration port to destination. initUnsolUDPPort UINT UDP Configuration port for unsolicited messages.
CmpDNP3SessionEvent (ENUM) ¶ TYPE CmpDNP3SessionEvent : Attributes: qualified_only InOut: Name Error Online Offline
CmpDNP3StopBits (ENUM) ¶ TYPE CmpDNP3StopBits : Stopbits to COM interface Attributes: qualified_only InOut: Name Initial Comment onestopbit 1 Stopbit: 1 one5stopbits Stopbits: 1,5 twostopbits Stopbits: 2
GlobalConstants ¶ Constants (GVL) DNPDEFS (GVL) LogMask (GVL) SDNPDEFS (GVL) TMWDEFS (GVL) TMWDIAG (GVL)
Constants (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant CMPID_IEClibCmpDNP3 UDINT 16#A3
DNPDEFS (GVL) ¶ {attribute ‘qualified_only’} InOut: Scope Name Type Initial Comment Constant DNPDEFS_CROB_CTRL_NUL USINT 16#0 DNPDEFS_CROB_CTRL_PULSE_ON USINT 16#1 DNPDEFS_CROB_CTRL_PULSE_OFF USINT 16#2 DNPDEFS_CROB_CTRL_LATCH_ON USINT 16#3 DNPDEFS_CROB_CTRL_LATCH_OFF USINT 16#4 DNPDEFS_CROB_CTRL_MASK USINT 16#F DNPDEFS_CROB_CTRL_QUEUE USINT 16#10 DNPDEFS_CROB_CTRL_CLEAR USINT 16#20 DNPDEFS_CROB_CTRL_PAIRED_CLOSE USINT 16#40 DNPDEFS_CROB_CTRL_PAIRED_TRIP USINT 16#80 DNPDEFS_CROB_CTRL_PAIRED_OP USINT 16#C0 DNPDEFS_CROB_ST_SUCCESS USINT 0 DNPDEFS_CROB_ST_TIMEOUT USINT 1 DNPDEFS_CROB_ST_NO_SELECT USINT 2 DNPDEFS_CROB_ST_FORMAT_ERROR USINT 3 DNPDEFS_CROB_ST_NOT_SUPPORTED USINT 4 DNPDEFS_CROB_ST_ALREADY_ACTIVE USINT 5 DNPDEFS_CROB_ST_HARDWARE_ERROR USINT 6 DNPDEFS_CROB_ST_LOCAL USINT 7 DNPDEFS_CROB_ST_TOO_MANY_OPS USINT 8 DNPDEFS_CROB_ST_NOT_AUTHORIZED USINT 9 DNPDEFS_CROB_ST_AUTO_INHIBIT USINT 10 DNPDEFS_CROB_ST_PROC_LIMITED USINT 11 DNPDEFS_CROB_ST_OUT_OF_RANGE USINT 12 DNPDEFS_CROB_ST_DOWNSTRM_LOCAL USINT 13 DNPDEFS_CROB_ST_ALR_COMPLETE USINT 14 DNPDEFS_CROB_ST_BLOCKED USINT 15 DNPDEFS_CROB_ST_CANCELLED USINT 16 DNPDEFS_CROB_ST_BLOCKED_OM USINT 17 DNPDEFS_CROB_ST_DOWNSTRM_FAIL USINT 18 DNPDEFS_CROB_ST_NON_PARTICIP USINT 126 DNPDEFS_CROB_ST_RESERVED USINT 126 old name DNPDEFS_CROB_ST_UNDEFINED USINT 127 renamed by TB2014-002 DNPDEFS_CTLSTAT_SUCCESS USINT 0 DNPDEFS_CTLSTAT_TIMEOUT USINT 1 DNPDEFS_CTLSTAT_NO_SELECT USINT 2 DNPDEFS_CTLSTAT_FORMAT_ERROR USINT 3 DNPDEFS_CTLSTAT_NOT_SUPPORTED USINT 4 DNPDEFS_CTLSTAT_ALREADY_ACTIVE USINT 5 DNPDEFS_CTLSTAT_HARDWARE_ERROR USINT 6 DNPDEFS_CTLSTAT_LOCAL USINT 7 DNPDEFS_CTLSTAT_TOO_MANY_OPS USINT 8 DNPDEFS_CTLSTAT_NOT_AUTHORIZED USINT 9 DNPDEFS_CTLSTAT_AUTO_INHIBIT USINT 10 DNPDEFS_CTLSTAT_PROC_LIMITED USINT 11 DNPDEFS_CTLSTAT_OUT_OF_RANGE USINT 12 DNPDEFS_CTLSTAT_DOWNSTRM_LOCAL USINT 13 DNPDEFS_CTLSTAT_ALR_COMPLETE USINT 14 DNPDEFS_CTLSTAT_BLOCKED USINT 15 DNPDEFS_CTLSTAT_CANCELLED USINT 16 DNPDEFS_CTLSTAT_BLOCKED_OM USINT 17 DNPDEFS_CTLSTAT_DOWNSTRM_FAIL USINT 18 DNPDEFS_CTLSTAT_NON_PARTICIP USINT 126 DNPDEFS_CTLSTAT_RESERVED USINT 126 old name DNPDEFS_CTLSTAT_UNDEFINED USINT 127 renamed BY TB2014-002 DNPDEFS_DBAS_FLAG_OFF_LINE USINT 16#0 DNPDEFS_DBAS_FLAG_ON_LINE USINT 16#1 DNPDEFS_DBAS_FLAG_RESTART USINT 16#2 DNPDEFS_DBAS_FLAG_COMM_LOST USINT 16#4 DNPDEFS_DBAS_FLAG_REMOTE_FORCED USINT 16#8 DNPDEFS_DBAS_FLAG_LOCAL_FORCED USINT 16#10 DNPDEFS_DBAS_FLAG_CHATTER USINT 16#20 DNPDEFS_DBAS_FLAG_CNTR_ROLLOVER USINT 16#20 DNPDEFS_DBAS_FLAG_STAT_ROLLOVER USINT 16#20 DNPDEFS_DBAS_FLAG_OVER_RANGE USINT 16#20 DNPDEFS_DBAS_FLAG_OVERFLOW USINT 16#20 DNPDEFS_DBAS_FLAG_REFERENCE_CHK USINT 16#40 DNPDEFS_DBAS_FLAG_DISCONTINUITY USINT 16#40 DNPDEFS_DBAS_FLAG_BINARY_ON USINT 16#80 DNPDEFS_DBAS_FLAG_BINARY_OFF USINT 16#0 DNPDEFS_DBAS_FLAG_DOUBLE_INTER USINT 16#0 DNPDEFS_DBAS_FLAG_DOUBLE_OFF USINT 16#40 DNPDEFS_DBAS_FLAG_DOUBLE_ON USINT 16#80 DNPDEFS_DBAS_FLAG_DOUBLE_INDET USINT 16#C0
LogMask (GVL) ¶ <category>LogFilter masks</category> <description>Mask to filter debug outputs module or scope specific</description> InOut: Scope Name Type Initial Comment Constant LFM_DNP3_SYSLAYER UDINT 16#1 Enable logging of the syslayer LFM_DNP3_SOCKET UDINT 16#2 Enable logging of the socket portation LFM_DNP3_SERIAL UDINT 16#4 Enable logging of the serial portation LFM_DNP3_THREADS UDINT 16#8 Enable logging of the used threads LFM_DNP3_CALLBACKS UDINT 16#10 Enable logging of stack -> IEC callbacks LFM_DNP3_STACK_DIAG UDINT 16#20 Enable the Triangle stack logging
SDNPDEFS (GVL) ¶ {attribute ‘qualified_only’} InOut: Scope Name Type Initial Constant SDNPDATA_CROB_CTRL_PULSE_ON USINT 16#1 SDNPDATA_CROB_CTRL_PULSE_OFF USINT 16#2 SDNPDATA_CROB_CTRL_LATCH_ON USINT 16#4 SDNPDATA_CROB_CTRL_LATCH_OFF USINT 16#8 SDNPDATA_CROB_CTRL_PAIRED_CLOSE USINT 16#10 SDNPDATA_CROB_CTRL_PAIRED_TRIP USINT 16#20
TMWDEFS (GVL) ¶ {attribute ‘qualified_only’} InOut: Scope Name Type Initial Comment Constant TMWDEFS_FALSE USINT 0 TMWDEFS_TRUE USINT 1 TMWDEFS_CLASS_MASK_NONE USINT 16#0 TMWDEFS_CLASS_MASK_ONE USINT 16#1 TMWDEFS_CLASS_MASK_TWO USINT 16#2 TMWDEFS_CLASS_MASK_THREE USINT 16#4 TMWDEFS_CLASS_MASK_ALL USINT 16#7 This means all three event classes TMWDEFS_CLASS_MASK_NOTCLASS0 USINT 16#8 The following definition applies only TO DNP. It indicates that a point should not be included in a class 0 static data response even though other points in that data type are included. This point can still be read using the object group for that specific data type (ie not 60)
TMWDIAG (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant TMWDIAG_ID_PHYS UDINT 16#1 TMWDIAG_ID_LINK UDINT 16#2 TMWDIAG_ID_TPRT UDINT 16#4 TMWDIAG_ID_APPL UDINT 16#8 TMWDIAG_ID_USER UDINT 16#10 TMWDIAG_ID_MMI UDINT 16#20 TMWDIAG_ID_OPC UDINT 16#40 TMWDIAG_ID_OPC_DEEP UDINT 16#800000 TMWDIAG_ID_OPC_UA UDINT 16#40 same as TMWDIAG_ID_OPC for now TMWDIAG_ID_STATIC_DATA UDINT 16#80 TMWDIAG_ID_STATIC_HDRS UDINT 16#100 TMWDIAG_ID_EVENT_DATA UDINT 16#200 TMWDIAG_ID_EVENT_HDRS UDINT 16#400 TMWDIAG_ID_CYCLIC_DATA UDINT 16#800 TMWDIAG_ID_CYCLIC_HDRS UDINT 16#1000 TMWDIAG_ID_SECURITY_DATA UDINT 16#2000 TMWDIAG_ID_SECURITY_HDRS UDINT 16#4000 TMWDIAG_ID_TX UDINT 16#8000 TMWDIAG_ID_RX UDINT 16#10000 TMWDIAG_ID_TIMESTAMP UDINT 16#20000 TMWDIAG_ID_ERROR UDINT 16#40000 TMWDIAG_ID_TARGET UDINT 16#80000 TMWDIAG_ID_61850 UDINT 16#100000 TMWDIAG_ID_TASE2 UDINT 16#200000 TMWDIAG_ID_ODBC UDINT 16#400000