Type

class c104.Type

This enum contains all valid IEC60870 message types to interpret or create points.

__init__()
C_BO_NA_1 = <Type.C_BO_NA_1: 51>
C_BO_TA_1 = <Type.C_BO_TA_1: 64>
C_CD_NA_1 = <Type.C_CD_NA_1: 106>
C_CI_NA_1 = <Type.C_CI_NA_1: 101>
C_CS_NA_1 = <Type.C_CS_NA_1: 103>
C_DC_NA_1 = <Type.C_DC_NA_1: 46>
C_DC_TA_1 = <Type.C_DC_TA_1: 59>
C_IC_NA_1 = <Type.C_IC_NA_1: 100>
C_RC_NA_1 = <Type.C_RC_NA_1: 47>
C_RC_TA_1 = <Type.C_RC_TA_1: 60>
C_RD_NA_1 = <Type.C_RD_NA_1: 102>
C_RP_NA_1 = <Type.C_RP_NA_1: 105>
C_SC_NA_1 = <Type.C_SC_NA_1: 45>
C_SC_TA_1 = <Type.C_SC_TA_1: 58>
C_SE_NA_1 = <Type.C_SE_NA_1: 48>
C_SE_NB_1 = <Type.C_SE_NB_1: 49>
C_SE_NC_1 = <Type.C_SE_NC_1: 50>
C_SE_TA_1 = <Type.C_SE_TA_1: 61>
C_SE_TB_1 = <Type.C_SE_TB_1: 62>
C_SE_TC_1 = <Type.C_SE_TC_1: 63>
C_TS_NA_1 = <Type.C_TS_NA_1: 104>
C_TS_TA_1 = <Type.C_TS_TA_1: 107>
M_BO_NA_1 = <Type.M_BO_NA_1: 7>
M_BO_TA_1 = <Type.M_BO_TA_1: 8>
M_BO_TB_1 = <Type.M_BO_TB_1: 33>
M_DP_NA_1 = <Type.M_DP_NA_1: 3>
M_DP_TA_1 = <Type.M_DP_TA_1: 4>
M_DP_TB_1 = <Type.M_DP_TB_1: 31>
M_EI_NA_1 = <Type.M_EI_NA_1: 70>
M_EP_TA_1 = <Type.M_EP_TA_1: 17>
M_EP_TB_1 = <Type.M_EP_TB_1: 18>
M_EP_TC_1 = <Type.M_EP_TC_1: 19>
M_EP_TD_1 = <Type.M_EP_TD_1: 38>
M_EP_TE_1 = <Type.M_EP_TE_1: 39>
M_EP_TF_1 = <Type.M_EP_TF_1: 40>
M_IT_NA_1 = <Type.M_IT_NA_1: 15>
M_IT_TA_1 = <Type.M_IT_TA_1: 16>
M_IT_TB_1 = <Type.M_IT_TB_1: 37>
M_ME_NA_1 = <Type.M_ME_NA_1: 9>
M_ME_NB_1 = <Type.M_ME_NB_1: 11>
M_ME_NC_1 = <Type.M_ME_NC_1: 13>
M_ME_ND_1 = <Type.M_ME_ND_1: 21>
M_ME_TA_1 = <Type.M_ME_TA_1: 10>
M_ME_TB_1 = <Type.M_ME_TB_1: 12>
M_ME_TC_1 = <Type.M_ME_TC_1: 14>
M_ME_TD_1 = <Type.M_ME_TD_1: 34>
M_ME_TE_1 = <Type.M_ME_TE_1: 35>
M_ME_TF_1 = <Type.M_ME_TF_1: 36>
M_PS_NA_1 = <Type.M_PS_NA_1: 20>
M_SP_NA_1 = <Type.M_SP_NA_1: 1>
M_SP_TA_1 = <Type.M_SP_TA_1: 2>
M_SP_TB_1 = <Type.M_SP_TB_1: 30>
M_ST_NA_1 = <Type.M_ST_NA_1: 5>
M_ST_TA_1 = <Type.M_ST_TA_1: 6>
M_ST_TB_1 = <Type.M_ST_TB_1: 32>
property name
property value

Float, Short, NaN

M_ME_NC_1, M_ME_TF_1, C_SE_NC_1, C_SE_TC_1, P_ME_NC_1 use the IEEE 754 standard for floating point numbers with support for NaN (Not a Number). Note that you must test for NaN for point values of these types! Since this connector supports the protocol in its present form, it is possible to send an M_ME_NC_1 message with a quality of GOOD but with a value of NaN.