scapy.contrib.scada.iec104.iec104_information_objects

application service data units used by IEC 60870-5-101/104

description

This module provides the information object (IO) definitions used within the IEC 60870-5-101 and IEC 60870-5-104 protocol.

normative references:
  • IEC 60870-5-101:2003 (sec. 7.3)

  • IEC 60870-5-104:2006 (sec. 8))

NOTES
  • this file contains all IO definitions from 101 and 104 - even if an IO is not used within 104

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_BO_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

bitstring of 32 bit

EN 60870-5-101:2003, sec. 7.3.2.7 (p. 106)

aliastypes
fields_desc
IEC104_IO_C_BO_NA_1 fields

bsi

BitField (32 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_BO_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_BO_NA_1

extended version of IEC104_IO_C_BO_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_BO_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

bsi

BitField (32 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_BO_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

bitmask 32 bit with timestamp CP56Time2a

EN 60870-5-104:2006, sec. 8.7 (p. 43)

aliastypes
fields_desc
IEC104_IO_C_BO_TA_1 fields

bsi

BitField (32 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_BO_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_BO_TA_1

extended version of IEC104_IO_C_BO_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_BO_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

bsi

BitField (32 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CD_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

(telegram) delay acquisition command

EN 60870-5-101:2003, sec. 7.3.4.7 (p. 111)

aliastypes
fields_desc
IEC104_IO_C_CD_NA_1 fields

sec_milli

LEShortField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CD_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CD_NA_1

extended version of IEC104_IO_C_CD_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_CD_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

sec_milli

LEShortField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CI_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

counter interrogation command

EN 60870-5-101:2003, sec. 7.3.4.2 (p. 108)

aliastypes
fields_desc
IEC104_IO_C_CI_NA_1 fields

frz

BitEnumField (2 bits)

0

rqt

BitEnumField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CI_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CI_NA_1

extended version of IEC104_IO_C_CI_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_CI_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

frz

BitEnumField (2 bits)

0

rqt

BitEnumField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CS_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

clock synchronization command

EN 60870-5-101:2003, sec. 7.3.4.4 (p. 109)

aliastypes
fields_desc
IEC104_IO_C_CS_NA_1 fields

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CS_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_CS_NA_1

extended version of IEC104_IO_C_CS_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_CS_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_DC_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

double command

EN 60870-5-101:2003, sec. 7.3.2.2 (p. 102)

aliastypes
fields_desc
IEC104_IO_C_DC_NA_1 fields

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

dcs

BitEnumField (2 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_DC_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_DC_NA_1

extended version of IEC104_IO_C_DC_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_DC_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

dcs

BitEnumField (2 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_DC_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

double command with timestamp CP56Time2a

EN 60870-5-104:2006, sec. 8.2 (p. 38)

aliastypes
fields_desc
IEC104_IO_C_DC_TA_1 fields

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

dcs

BitEnumField (2 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_DC_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_DC_TA_1

extended version of IEC104_IO_C_DC_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_DC_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

dcs

BitEnumField (2 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_IC_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

interrogation command

EN 60870-5-101:2003, sec. 7.3.4.1 (p. 107)

aliastypes
fields_desc
IEC104_IO_C_IC_NA_1 fields

qoi

ByteEnumField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_IC_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_IC_NA_1

extended version of IEC104_IO_C_IC_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_IC_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

qoi

ByteEnumField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RC_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

regulating step command

EN 60870-5-101:2003, sec. 7.3.2.3 (p. 103)

aliastypes
fields_desc
IEC104_IO_C_RC_NA_1 fields

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

rcs

BitEnumField (2 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RC_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RC_NA_1

extended version of IEC104_IO_C_RC_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_RC_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

rcs

BitEnumField (2 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RC_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

step control command with timestamp CP56Time2a

EN 60870-5-104:2006, sec. 8.3 (p. 39)

aliastypes
fields_desc
IEC104_IO_C_RC_TA_1 fields

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

rcs

BitEnumField (2 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RC_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RC_TA_1

extended version of IEC104_IO_C_RC_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_RC_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

rcs

BitEnumField (2 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RD_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

read command

EN 60870-5-101:2003, sec. 7.3.4.3 (p. 108)

aliastypes
fields_desc
class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RD_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RD_NA_1

extended version of IEC104_IO_C_RD_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_RD_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RP_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

reset process command

EN 60870-5-101:2003, sec. 7.3.4.6 (p. 110)

aliastypes
fields_desc
IEC104_IO_C_RP_NA_1 fields

qrp

ByteEnumField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RP_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_RP_NA_1

extended version of IEC104_IO_C_RP_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_RP_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

qrp

ByteEnumField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SC_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

single command

EN 60870-5-101:2003, sec. 7.3.2.1 (p. 102)

aliastypes
fields_desc
IEC104_IO_C_SC_NA_1 fields

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

reserved

BitField (1 bit)

0

scs

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SC_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SC_NA_1

extended version of IEC104_IO_C_SC_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_SC_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

reserved

BitField (1 bit)

0

scs

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SC_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

single command with timestamp CP56Time2a

EN 60870-5-104:2006, sec. 8.1 (p. 37)

aliastypes
fields_desc
IEC104_IO_C_SC_TA_1 fields

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

reserved

BitField (1 bit)

0

scs

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SC_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SC_TA_1

extended version of IEC104_IO_C_SC_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_SC_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

s/e

BitEnumField (1 bit)

0

qu

BitEnumField (5 bits)

0

reserved

BitField (1 bit)

0

scs

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

set-point command, normalized value

EN 60870-5-101:2003, sec. 7.3.2.4 (p. 104)

aliastypes
fields_desc
IEC104_IO_C_SE_NA_1 fields

normed_value

IEC60870_5_4_NormalizedFixPoint

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NA_1

extended version of IEC104_IO_C_SE_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_SE_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

normed_value

IEC60870_5_4_NormalizedFixPoint

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

set-point command, scaled value

EN 60870-5-101:2003, sec. 7.3.2.5 (p. 104)

aliastypes
fields_desc
IEC104_IO_C_SE_NB_1 fields

scaled_value

LESignedShortField

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NB_1

extended version of IEC104_IO_C_SE_NB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_SE_NB_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LESignedShortField

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NC_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

set-point command, short floating point number

EN 60870-5-101:2003, sec. 7.3.2.6 (p. 105)

aliastypes
fields_desc
IEC104_IO_C_SE_NC_1 fields

scaled_value

LEIEEEFloatField

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NC_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_NC_1

extended version of IEC104_IO_C_SE_NC_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_SE_NC_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LEIEEEFloatField

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

set point command, normed value with timestamp CP56Time2a

EN 60870-5-104:2006, sec. 8.4 (p. 40)

aliastypes
fields_desc
IEC104_IO_C_SE_TA_1 fields

normed_value

IEC60870_5_4_NormalizedFixPoint

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TA_1

extended version of IEC104_IO_C_SE_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_SE_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

normed_value

IEC60870_5_4_NormalizedFixPoint

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

set point command, scaled value with timestamp CP56Time2a

EN 60870-5-104:2006, sec. 8.5 (p. 41)

aliastypes
fields_desc
IEC104_IO_C_SE_TB_1 fields

scaled_value

LESignedShortField

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TB_1

extended version of IEC104_IO_C_SE_TB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_SE_TB_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LESignedShortField

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TC_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

set point command, shortened floating point value with timestamp CP56Time2a

EN 60870-5-104:2006, sec. 8.6 (p. 42)

aliastypes
fields_desc
IEC104_IO_C_SE_TC_1 fields

scaled_value

LEIEEEFloatField

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TC_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_SE_TC_1

extended version of IEC104_IO_C_SE_TC_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_SE_TC_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LEIEEEFloatField

0

action

BitEnumField (1 bit)

0

ql

BitEnumField (7 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_TS_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

test command

EN 60870-5-101:2003, sec. 7.3.4.5 (p. 110)

aliastypes
fields_desc
IEC104_IO_C_TS_NA_1 fields

fbp

LEShortField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_TS_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_TS_NA_1

extended version of IEC104_IO_C_TS_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_TS_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

fbp

LEShortField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_TS_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

test command with timestamp CP56Time2a

EN 60870-5-104:2006, sec. 8.8 (p. 44)

aliastypes
fields_desc
IEC104_IO_C_TS_TA_1 fields

tsc

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_TS_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_C_TS_TA_1

extended version of IEC104_IO_C_TS_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_C_TS_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

tsc

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_AF_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

ack file, ack section

EN 60870-5-101:2003, sec. 7.3.6.5 (p. 119)

aliastypes
fields_desc
IEC104_IO_F_AF_NA_1 fields

file_name

LEShortField

0

section_name

ByteField

0

errors

BitEnumField (4 bits)

0

ack_file_or_sec

BitEnumField (4 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_AF_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_AF_NA_1

extended version of IEC104_IO_F_AF_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_F_AF_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

file_name

LEShortField

0

section_name

ByteField

0

errors

BitEnumField (4 bits)

0

ack_file_or_sec

BitEnumField (4 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_DR_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

directory

EN 60870-5-101:2003, sec. 7.3.6.7 (p. 121)

aliastypes
fields_desc
IEC104_IO_F_DR_TA_1 fields

file_name

LEShortField

0

file_length

ThreeBytesField

0

fa

BitEnumField (1 bit)

0

for

BitEnumField (1 bit)

0

lfd

BitEnumField (1 bit)

0

status

BitEnumField (5 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_DR_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_DR_TA_1

extended version of IEC104_IO_F_DR_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_F_DR_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

file_name

LEShortField

0

file_length

ThreeBytesField

0

fa

BitEnumField (1 bit)

0

for

BitEnumField (1 bit)

0

lfd

BitEnumField (1 bit)

0

status

BitEnumField (5 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_FR_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

file ready

EN 60870-5-101:2003, sec. 7.3.6.1 (p. 116)

aliastypes
fields_desc
IEC104_IO_F_FR_NA_1 fields

file_name

LEShortField

0

file_length

ThreeBytesField

0

fr_ack

BitEnumField (1 bit)

0

fr

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_FR_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_FR_NA_1

extended version of IEC104_IO_F_FR_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_F_FR_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

file_name

LEShortField

0

file_length

ThreeBytesField

0

fr_ack

BitEnumField (1 bit)

0

fr

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_LS_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

last section, last segment

EN 60870-5-101:2003, sec. 7.3.6.4 (p. 119)

aliastypes
fields_desc
IEC104_IO_F_LS_NA_1 fields

file_name

LEShortField

0

section_name

ByteField

0

lsq

ByteEnumField

0

checksum

ByteField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_LS_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_LS_NA_1

extended version of IEC104_IO_F_LS_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_F_LS_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

file_name

LEShortField

0

section_name

ByteField

0

lsq

ByteEnumField

0

checksum

ByteField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SC_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

call directory, select file, call file, call section

EN 60870-5-101:2003, sec. 7.3.6.3 (p. 118)

aliastypes
fields_desc
IEC104_IO_F_SC_NA_1 fields

file_name

LEShortField

0

section_name

ByteField

0

errors

BitEnumField (4 bits)

0

select_call

BitEnumField (4 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SC_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SC_NA_1

extended version of IEC104_IO_F_SC_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_F_SC_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

file_name

LEShortField

0

section_name

ByteField

0

errors

BitEnumField (4 bits)

0

select_call

BitEnumField (4 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SC_NB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

request archive file

EN 60870-5-104:2006, sec. 8.9 (p. 45)

aliastypes
fields_desc
IEC104_IO_F_SC_NB_1 fields

file_name

LEShortField

0

start_sec_milli

LEShortField

0

start_iv

BitEnumField (1 bit)

0

start_gen

BitEnumField (1 bit)

0

start_minutes

BitField (6 bits)

0

start_su

BitEnumField (1 bit)

0

start_reserved_2

BitField (2 bits)

0

start_hours

BitField (5 bits)

0

start_weekday

BitEnumField (3 bits)

0

start_day-of-month

BitField (5 bits)

0

start_reserved_3

BitField (4 bits)

0

start_month

BitField (4 bits)

0

start_reserved_4

BitField (1 bit)

0

start_year

BitField (7 bits)

0

stop_sec_milli

LEShortField

0

stop_iv

BitEnumField (1 bit)

0

stop_gen

BitEnumField (1 bit)

0

stop_minutes

BitField (6 bits)

0

stop_su

BitEnumField (1 bit)

0

stop_reserved_2

BitField (2 bits)

0

stop_hours

BitField (5 bits)

0

stop_weekday

BitEnumField (3 bits)

0

stop_day-of-month

BitField (5 bits)

0

stop_reserved_3

BitField (4 bits)

0

stop_month

BitField (4 bits)

0

stop_reserved_4

BitField (1 bit)

0

stop_year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SC_NB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SC_NB_1

extended version of IEC104_IO_F_SC_NB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_F_SC_NB_1_IOA fields

information_object_address

LEThreeBytesField

0

file_name

LEShortField

0

start_sec_milli

LEShortField

0

start_iv

BitEnumField (1 bit)

0

start_gen

BitEnumField (1 bit)

0

start_minutes

BitField (6 bits)

0

start_su

BitEnumField (1 bit)

0

start_reserved_2

BitField (2 bits)

0

start_hours

BitField (5 bits)

0

start_weekday

BitEnumField (3 bits)

0

start_day-of-month

BitField (5 bits)

0

start_reserved_3

BitField (4 bits)

0

start_month

BitField (4 bits)

0

start_reserved_4

BitField (1 bit)

0

start_year

BitField (7 bits)

0

stop_sec_milli

LEShortField

0

stop_iv

BitEnumField (1 bit)

0

stop_gen

BitEnumField (1 bit)

0

stop_minutes

BitField (6 bits)

0

stop_su

BitEnumField (1 bit)

0

stop_reserved_2

BitField (2 bits)

0

stop_hours

BitField (5 bits)

0

stop_weekday

BitEnumField (3 bits)

0

stop_day-of-month

BitField (5 bits)

0

stop_reserved_3

BitField (4 bits)

0

stop_month

BitField (4 bits)

0

stop_reserved_4

BitField (1 bit)

0

stop_year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SG_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

file / section data octets

EN 60870-5-101:2003, sec. 7.3.6.6 (p. 120)

aliastypes
fields_desc
IEC104_IO_F_SG_NA_1 fields

file_name

LEShortField

0

section_name

ByteField

0

segment_length

BitFieldLenField (8 bits)

None

data

XStrLenField

b''

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SG_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SG_NA_1

extended version of IEC104_IO_F_SG_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_F_SG_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

file_name

LEShortField

0

section_name

ByteField

0

segment_length

BitFieldLenField (8 bits)

None

data

XStrLenField

b''

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SR_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

section ready

EN 60870-5-101:2003, sec. 7.3.6.2 (p. 117)

aliastypes
fields_desc
IEC104_IO_F_SR_NA_1 fields

file_name

LEShortField

0

section_name

ByteField

0

file_length

ThreeBytesField

0

section_load_state

BitEnumField (1 bit)

0

sr

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SR_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_F_SR_NA_1

extended version of IEC104_IO_F_SR_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_F_SR_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

file_name

LEShortField

0

section_name

ByteField

0

file_length

ThreeBytesField

0

section_load_state

BitEnumField (1 bit)

0

sr

BitEnumField (7 bits)

0

exception scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_InvalidPayloadException

Bases: Exception

raised if payload is not of the same type, raw() or a child of IEC104_APDU

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

bitstring of 32 bit

EN 60870-5-101:2003, sec. 7.3.1.7 (p. 64)

aliastypes
fields_desc
IEC104_IO_M_BO_NA_1 fields

bsi

BitField (32 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_NA_1

extended version of IEC104_IO_M_BO_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_BO_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

bsi

BitField (32 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

bitstring of 32 bit with time tag

EN 60870-5-101:2003, sec. 7.3.1.8 (p. 66)

aliastypes
fields_desc
IEC104_IO_M_BO_TA_1 fields

bsi

BitField (32 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_TA_1

extended version of IEC104_IO_M_BO_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_BO_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

bsi

BitField (32 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_TB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

bitstring of 32 bits with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.25 (p. 89)

aliastypes
fields_desc
IEC104_IO_M_BO_TB_1 fields

bsi

BitField (32 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_TB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_BO_TB_1

extended version of IEC104_IO_M_BO_TB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_BO_TB_1_IOA fields

information_object_address

LEThreeBytesField

0

bsi

BitField (32 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

double-point information without time tag

EN 60870-5-101:2003, sec. 7.3.1.3 (p. 60)

aliastypes
fields_desc
IEC104_IO_M_DP_NA_1 fields

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (2 bits)

0

dpi_value

BitEnumField (2 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_NA_1

extended version of IEC104_IO_M_DP_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_DP_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (2 bits)

0

dpi_value

BitEnumField (2 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

double-point information with time tag

EN 60870-5-101:2003, sec. 7.3.1.4 (p. 61)

aliastypes
fields_desc
IEC104_IO_M_DP_TA_1 fields

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (2 bits)

0

dpi_value

BitEnumField (2 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_TA_1

extended version of IEC104_IO_M_DP_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_DP_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (2 bits)

0

dpi_value

BitEnumField (2 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_TB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

double-point information with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.23 (p. 85)

aliastypes
fields_desc
IEC104_IO_M_DP_TB_1 fields

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (2 bits)

0

dpi_value

BitEnumField (2 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_TB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_DP_TB_1

extended version of IEC104_IO_M_DP_TB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_DP_TB_1_IOA fields

information_object_address

LEThreeBytesField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (2 bits)

0

dpi_value

BitEnumField (2 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EI_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

end of initialization

EN 60870-5-101:2003, sec. 7.3.3.1 (p. 106)

aliastypes
fields_desc
IEC104_IO_M_EI_NA_1 fields

local_param_state

BitEnumField (1 bit)

0

coi

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EI_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EI_NA_1

extended version of IEC104_IO_M_EI_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_EI_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

local_param_state

BitEnumField (1 bit)

0

coi

BitEnumField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

event of protection equipment with time tag

EN 60870-5-101:2003, sec. 7.3.1.17 (p. 78)

aliastypes
fields_desc
IEC104_IO_M_EP_TA_1 fields

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (1 bit)

0

es

BitEnumField (2 bits)

0

elapsed_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TA_1

extended version of IEC104_IO_M_EP_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_EP_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (1 bit)

0

es

BitEnumField (2 bits)

0

elapsed_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

packed start events of protection equipment with time tag

EN 60870-5-101:2003, sec. 7.3.1.18 (p. 79)

aliastypes
fields_desc
IEC104_IO_M_EP_TB_1 fields

reserved

BitField (2 bits)

0

srd

BitEnumField (1 bit)

0

sie

BitEnumField (1 bit)

0

sl3

BitEnumField (1 bit)

0

sl2

BitEnumField (1 bit)

0

sl1

BitEnumField (1 bit)

0

gs

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

prot_act_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TB_1

extended version of IEC104_IO_M_EP_TB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_EP_TB_1_IOA fields

information_object_address

LEThreeBytesField

0

reserved

BitField (2 bits)

0

srd

BitEnumField (1 bit)

0

sie

BitEnumField (1 bit)

0

sl3

BitEnumField (1 bit)

0

sl2

BitEnumField (1 bit)

0

sl1

BitEnumField (1 bit)

0

gs

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

prot_act_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TC_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

packed output circuit information of protection equipment with time tag

EN 60870-5-101:2003, sec. 7.3.1.19 (p. 80)

aliastypes
fields_desc
IEC104_IO_M_EP_TC_1 fields

reserved

BitField (4 bits)

0

cl3

BitEnumField (1 bit)

0

cl2

BitEnumField (1 bit)

0

cl1

BitEnumField (1 bit)

0

gc

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

prot_cmd_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TC_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TC_1

extended version of IEC104_IO_M_EP_TC_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_EP_TC_1_IOA fields

information_object_address

LEThreeBytesField

0

reserved

BitField (4 bits)

0

cl3

BitEnumField (1 bit)

0

cl2

BitEnumField (1 bit)

0

cl1

BitEnumField (1 bit)

0

gc

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

prot_cmd_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TD_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

event of protection equipment with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.30 (p. 99)

aliastypes
fields_desc
IEC104_IO_M_EP_TD_1 fields

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (1 bit)

0

es

BitEnumField (2 bits)

0

elapsed_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TD_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TD_1

extended version of IEC104_IO_M_EP_TD_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_EP_TD_1_IOA fields

information_object_address

LEThreeBytesField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (1 bit)

0

es

BitEnumField (2 bits)

0

elapsed_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TE_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

packed start events of protection equipment with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.31 (p. 100)

aliastypes
fields_desc
IEC104_IO_M_EP_TE_1 fields

reserved

BitField (2 bits)

0

srd

BitEnumField (1 bit)

0

sie

BitEnumField (1 bit)

0

sl3

BitEnumField (1 bit)

0

sl2

BitEnumField (1 bit)

0

sl1

BitEnumField (1 bit)

0

gs

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

prot_act_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TE_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TE_1

extended version of IEC104_IO_M_EP_TE_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_EP_TE_1_IOA fields

information_object_address

LEThreeBytesField

0

reserved

BitField (2 bits)

0

srd

BitEnumField (1 bit)

0

sie

BitEnumField (1 bit)

0

sl3

BitEnumField (1 bit)

0

sl2

BitEnumField (1 bit)

0

sl1

BitEnumField (1 bit)

0

gs

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

prot_act_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TF_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

packed output circuit information of protection equipment with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.32 (p. 101)

aliastypes
fields_desc
IEC104_IO_M_EP_TF_1 fields

reserved

BitField (4 bits)

0

cl3

BitEnumField (1 bit)

0

cl2

BitEnumField (1 bit)

0

cl1

BitEnumField (1 bit)

0

gc

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

prot_cmd_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TF_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_EP_TF_1

extended version of IEC104_IO_M_EP_TF_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_EP_TF_1_IOA fields

information_object_address

LEThreeBytesField

0

reserved

BitField (4 bits)

0

cl3

BitEnumField (1 bit)

0

cl2

BitEnumField (1 bit)

0

cl1

BitEnumField (1 bit)

0

gc

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

ei

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

prot_cmd_sec_milli

LEShortField

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

integrated totals

EN 60870-5-101:2003, sec. 7.3.1.15 (p. 75)

aliastypes
fields_desc
IEC104_IO_M_IT_NA_1 fields

counter_value

LESignedIntField

0

iv

BitEnumField (1 bit)

0

ca

BitEnumField (1 bit)

0

cy

BitEnumField (1 bit)

0

sq

BitField (5 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_NA_1

extended version of IEC104_IO_M_IT_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_IT_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

counter_value

LESignedIntField

0

iv

BitEnumField (1 bit)

0

ca

BitEnumField (1 bit)

0

cy

BitEnumField (1 bit)

0

sq

BitField (5 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

integrated totals with time tag

EN 60870-5-101:2003, sec. 7.3.1.16 (p. 77)

aliastypes
fields_desc
IEC104_IO_M_IT_TA_1 fields

counter_value

LESignedIntField

0

iv

BitEnumField (1 bit)

0

ca

BitEnumField (1 bit)

0

cy

BitEnumField (1 bit)

0

sq

BitField (5 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_TA_1

extended version of IEC104_IO_M_IT_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_IT_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

counter_value

LESignedIntField

0

iv

BitEnumField (1 bit)

0

ca

BitEnumField (1 bit)

0

cy

BitEnumField (1 bit)

0

sq

BitField (5 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_TB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

integrated totals with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.29 (p. 97)

aliastypes
fields_desc
IEC104_IO_M_IT_TB_1 fields

counter_value

LESignedIntField

0

iv

BitEnumField (1 bit)

0

ca

BitEnumField (1 bit)

0

cy

BitEnumField (1 bit)

0

sq

BitField (5 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_TB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_IT_TB_1

extended version of IEC104_IO_M_IT_TB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_IT_TB_1_IOA fields

information_object_address

LEThreeBytesField

0

counter_value

LESignedIntField

0

iv

BitEnumField (1 bit)

0

ca

BitEnumField (1 bit)

0

cy

BitEnumField (1 bit)

0

sq

BitField (5 bits)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, normalized value

EN 60870-5-101:2003, sec. 7.3.1.9 (p. 67)

aliastypes
fields_desc
IEC104_IO_M_ME_NA_1 fields

normed_value

IEC60870_5_4_NormalizedFixPoint

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NA_1

extended version of IEC104_IO_M_ME_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

normed_value

IEC60870_5_4_NormalizedFixPoint

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, scaled value

EN 60870-5-101:2003, sec. 7.3.1.11 (p. 69)

aliastypes
fields_desc
IEC104_IO_M_ME_NB_1 fields

scaled_value

LESignedShortField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NB_1

extended version of IEC104_IO_M_ME_NB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_NB_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LESignedShortField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NC_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, short floating point number

EN 60870-5-101:2003, sec. 7.3.1.13 (p. 72)

aliastypes
fields_desc
IEC104_IO_M_ME_NC_1 fields

scaled_value

LEIEEEFloatField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NC_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_NC_1

extended version of IEC104_IO_M_ME_NC_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_NC_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LEIEEEFloatField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_ND_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, normalized value without quality descriptor

EN 60870-5-101:2003, sec. 7.3.1.21 (p. 83)

aliastypes
fields_desc
IEC104_IO_M_ME_ND_1 fields

normed_value

IEC60870_5_4_NormalizedFixPoint

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_ND_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_ND_1

extended version of IEC104_IO_M_ME_ND_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_ND_1_IOA fields

information_object_address

LEThreeBytesField

0

normed_value

IEC60870_5_4_NormalizedFixPoint

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, normalized value with time tag

EN 60870-5-101:2003, sec. 7.3.1.10 (p. 68)

aliastypes
fields_desc
IEC104_IO_M_ME_TA_1 fields

normed_value

IEC60870_5_4_NormalizedFixPoint

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TA_1

extended version of IEC104_IO_M_ME_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

normed_value

IEC60870_5_4_NormalizedFixPoint

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, scaled value with time tag

EN 60870-5-101:2003, sec. 7.3.1.12 (p. 71)

aliastypes
fields_desc
IEC104_IO_M_ME_TB_1 fields

scaled_value

LESignedShortField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TB_1

extended version of IEC104_IO_M_ME_TB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_TB_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LESignedShortField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TC_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, short floating point number with time tag

EN 60870-5-101:2003, sec. 7.3.1.14 (p. 74)

aliastypes
fields_desc
IEC104_IO_M_ME_TC_1 fields

scaled_value

LEIEEEFloatField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TC_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TC_1

extended version of IEC104_IO_M_ME_TC_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_TC_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LEIEEEFloatField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TD_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, normalized value with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.26 (p. 91)

aliastypes
fields_desc
IEC104_IO_M_ME_TD_1 fields

normed_value

IEC60870_5_4_NormalizedFixPoint

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TD_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TD_1

extended version of IEC104_IO_M_ME_TD_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_TD_1_IOA fields

information_object_address

LEThreeBytesField

0

normed_value

IEC60870_5_4_NormalizedFixPoint

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TE_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, scaled value with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.27 (p. 93)

aliastypes
fields_desc
IEC104_IO_M_ME_TE_1 fields

scaled_value

LESignedShortField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TE_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TE_1

extended version of IEC104_IO_M_ME_TE_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_TE_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LESignedShortField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TF_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

measured value, short floating point number with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.28 (p. 95)

aliastypes
fields_desc
IEC104_IO_M_ME_TF_1 fields

scaled_value

LEIEEEFloatField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TF_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ME_TF_1

extended version of IEC104_IO_M_ME_TF_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ME_TF_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LEIEEEFloatField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_PS_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

packed single-point information with status change detection

EN 60870-5-101:2003, sec. 7.3.1.20 (p. 81)

aliastypes
fields_desc
IEC104_IO_M_PS_NA_1 fields

cd_16

BitEnumField (1 bit)

0

cd_15

BitEnumField (1 bit)

0

cd_14

BitEnumField (1 bit)

0

cd_13

BitEnumField (1 bit)

0

cd_12

BitEnumField (1 bit)

0

cd_11

BitEnumField (1 bit)

0

cd_10

BitEnumField (1 bit)

0

cd_9

BitEnumField (1 bit)

0

cd_8

BitEnumField (1 bit)

0

cd_7

BitEnumField (1 bit)

0

cd_6

BitEnumField (1 bit)

0

cd_5

BitEnumField (1 bit)

0

cd_4

BitEnumField (1 bit)

0

cd_3

BitEnumField (1 bit)

0

cd_2

BitEnumField (1 bit)

0

cd_1

BitEnumField (1 bit)

0

st_16

BitEnumField (1 bit)

0

st_15

BitEnumField (1 bit)

0

st_14

BitEnumField (1 bit)

0

st_13

BitEnumField (1 bit)

0

st_12

BitEnumField (1 bit)

0

st_11

BitEnumField (1 bit)

0

st_10

BitEnumField (1 bit)

0

st_9

BitEnumField (1 bit)

0

st_8

BitEnumField (1 bit)

0

st_7

BitEnumField (1 bit)

0

st_6

BitEnumField (1 bit)

0

st_5

BitEnumField (1 bit)

0

st_4

BitEnumField (1 bit)

0

st_3

BitEnumField (1 bit)

0

st_2

BitEnumField (1 bit)

0

st_1

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_PS_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_PS_NA_1

extended version of IEC104_IO_M_PS_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_PS_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

cd_16

BitEnumField (1 bit)

0

cd_15

BitEnumField (1 bit)

0

cd_14

BitEnumField (1 bit)

0

cd_13

BitEnumField (1 bit)

0

cd_12

BitEnumField (1 bit)

0

cd_11

BitEnumField (1 bit)

0

cd_10

BitEnumField (1 bit)

0

cd_9

BitEnumField (1 bit)

0

cd_8

BitEnumField (1 bit)

0

cd_7

BitEnumField (1 bit)

0

cd_6

BitEnumField (1 bit)

0

cd_5

BitEnumField (1 bit)

0

cd_4

BitEnumField (1 bit)

0

cd_3

BitEnumField (1 bit)

0

cd_2

BitEnumField (1 bit)

0

cd_1

BitEnumField (1 bit)

0

st_16

BitEnumField (1 bit)

0

st_15

BitEnumField (1 bit)

0

st_14

BitEnumField (1 bit)

0

st_13

BitEnumField (1 bit)

0

st_12

BitEnumField (1 bit)

0

st_11

BitEnumField (1 bit)

0

st_10

BitEnumField (1 bit)

0

st_9

BitEnumField (1 bit)

0

st_8

BitEnumField (1 bit)

0

st_7

BitEnumField (1 bit)

0

st_6

BitEnumField (1 bit)

0

st_5

BitEnumField (1 bit)

0

st_4

BitEnumField (1 bit)

0

st_3

BitEnumField (1 bit)

0

st_2

BitEnumField (1 bit)

0

st_1

BitEnumField (1 bit)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

single-point information without time tag]

EN 60870-5-101:2003, sec. 7.3.1.1 (p. 58)

aliastypes
fields_desc
IEC104_IO_M_SP_NA_1 fields

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

spi_value

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_NA_1

extended version of IEC104_IO_M_SP_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_SP_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

spi_value

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

single-point information with time tag

EN 60870-5-101:2003, sec. 7.3.1.2 (p. 59)

aliastypes
fields_desc
IEC104_IO_M_SP_TA_1 fields

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

spi_value

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_TA_1

extended version of IEC104_IO_M_SP_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_SP_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

spi_value

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_TB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

single-point information with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.22 (p. 84)

aliastypes
fields_desc
IEC104_IO_M_SP_TB_1 fields

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

spi_value

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_TB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_SP_TB_1

extended version of IEC104_IO_M_SP_TB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_SP_TB_1_IOA fields

information_object_address

LEThreeBytesField

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

spi_value

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

step position information

EN 60870-5-101:2003, sec. 7.3.1.5 (p. 62)

aliastypes
fields_desc
IEC104_IO_M_ST_NA_1 fields

transient_state

BitEnumField (1 bit)

0

value

IEC104SignedSevenBitValue (7 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_NA_1

extended version of IEC104_IO_M_ST_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ST_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

transient_state

BitEnumField (1 bit)

0

value

IEC104SignedSevenBitValue (7 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_TA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

step position information with time tag

EN 60870-5-101:2003, sec. 7.3.1.6 (p. 63)

aliastypes
fields_desc
IEC104_IO_M_ST_TA_1 fields

transient_state

BitEnumField (1 bit)

0

value

IEC104SignedSevenBitValue (7 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_TA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_TA_1

extended version of IEC104_IO_M_ST_TA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ST_TA_1_IOA fields

information_object_address

LEThreeBytesField

0

transient_state

BitEnumField (1 bit)

0

value

IEC104SignedSevenBitValue (7 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_TB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

step position information with time tag cp56time2a

EN 60870-5-101:2003, sec. 7.3.1.24 (p. 87)

aliastypes
fields_desc
IEC104_IO_M_ST_TB_1 fields

transient_state

BitEnumField (1 bit)

0

value

IEC104SignedSevenBitValue (7 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_TB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_M_ST_TB_1

extended version of IEC104_IO_M_ST_TB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_M_ST_TB_1_IOA fields

information_object_address

LEThreeBytesField

0

transient_state

BitEnumField (1 bit)

0

value

IEC104SignedSevenBitValue (7 bits)

0

iv

BitEnumField (1 bit)

0

nt

BitEnumField (1 bit)

0

sb

BitEnumField (1 bit)

0

bl

BitEnumField (1 bit)

0

reserved

BitField (3 bits)

0

ov

BitEnumField (1 bit)

0

sec_milli

LEShortField

0

iv

BitEnumField (1 bit)

0

gen

BitEnumField (1 bit)

0

minutes

BitField (6 bits)

0

su

BitEnumField (1 bit)

0

reserved_2

BitField (2 bits)

0

hours

BitField (5 bits)

0

weekday

BitEnumField (3 bits)

0

day-of-month

BitField (5 bits)

0

reserved_3

BitField (4 bits)

0

month

BitField (4 bits)

0

reserved_4

BitField (1 bit)

0

year

BitField (7 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_AC_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

parameter activation

EN 60870-5-101:2003, sec. 7.3.5.4 (p. 115)

aliastypes
fields_desc
IEC104_IO_P_AC_NA_1 fields

qpa

ByteEnumField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_AC_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_AC_NA_1

extended version of IEC104_IO_P_AC_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_P_AC_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

qpa

ByteEnumField

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NA_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

parameter of measured values, normalized value

EN 60870-5-101:2003, sec. 7.3.5.1 (p. 112)

aliastypes
fields_desc
IEC104_IO_P_ME_NA_1 fields

normed_value

IEC60870_5_4_NormalizedFixPoint

0

pop

BitEnumField (1 bit)

0

lpc

BitEnumField (1 bit)

0

kpa

BitEnumField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NA_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NA_1

extended version of IEC104_IO_P_ME_NA_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_P_ME_NA_1_IOA fields

information_object_address

LEThreeBytesField

0

normed_value

IEC60870_5_4_NormalizedFixPoint

0

pop

BitEnumField (1 bit)

0

lpc

BitEnumField (1 bit)

0

kpa

BitEnumField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NB_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

parameter of measured values, scaled value

EN 60870-5-101:2003, sec. 7.3.5.2 (p. 113)

aliastypes
fields_desc
IEC104_IO_P_ME_NB_1 fields

scaled_value

LESignedShortField

0

pop

BitEnumField (1 bit)

0

lpc

BitEnumField (1 bit)

0

kpa

BitEnumField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NB_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NB_1

extended version of IEC104_IO_P_ME_NB_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_P_ME_NB_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LESignedShortField

0

pop

BitEnumField (1 bit)

0

lpc

BitEnumField (1 bit)

0

kpa

BitEnumField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NC_1

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

parameter of measured values, short floating point number

EN 60870-5-101:2003, sec. 7.3.5.3 (p. 114)

aliastypes
fields_desc
IEC104_IO_P_ME_NC_1 fields

scaled_value

LEIEEEFloatField

0

pop

BitEnumField (1 bit)

0

lpc

BitEnumField (1 bit)

0

kpa

BitEnumField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NC_1_IOA

Bases: scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_P_ME_NC_1

extended version of IEC104_IO_P_ME_NC_1 containing an individual information object address

aliastypes
fields_desc
IEC104_IO_P_ME_NC_1_IOA fields

information_object_address

LEThreeBytesField

0

scaled_value

LEIEEEFloatField

0

pop

BitEnumField (1 bit)

0

lpc

BitEnumField (1 bit)

0

kpa

BitEnumField (6 bits)

0

class scapy.contrib.scada.iec104.iec104_information_objects.IEC104_IO_Packet

Bases: scapy.packet.Packet

base class of all information object representations

DEFINED_IN_IEC_101 = 1
DEFINED_IN_IEC_104 = 2
aliastypes
defined_for_iec_101()

information object ASDU allowed for IEC 60870-5-101

Returns

True if the information object is defined within IEC 60870-5-101, else False

defined_for_iec_104()

information object ASDU allowed for IEC 60870-5-104

Returns

True if the information object is defined within IEC 60870-5-104, else False

guess_payload_class(payload)
iec104_io_type_id()

get individual type id of the information object instance

Returns

information object type id (IEC104_IO_ID_*)