IncomingMessage

class c104.IncomingMessage

This class represents incoming messages and provides access to structured properties interpreted from incoming messages

first(self: c104.IncomingMessage) None

reset message information element pointer to first position

Return type:

None

next(self: c104.IncomingMessage) bool

move message information element pointer to next position, starting by first one

Returns:

True, if another information element exists, otherwise False

Return type:

bool

property command_qualifier

duration parameter, only for single, double and regulating step command messages (read-only)

Type:

Qoc (Qualifier of Command)

property common_address

common address (0-65535) (read-only)

Type:

int

property connection_string

connection string in format ip:port (read-only)

Type:

str

property cot

cause of transmission (read-only)

Type:

Cot (Cause of Transmission)

property io_address

information object address (read-only)

Type:

int

property is_negative

test if negative flag is set (read-only)

Type:

bool

property is_select_command

test if message is a point command and has select flag set (read-only)

Type:

bool

property is_sequence

test if sequence flag is set (read-only)

Type:

bool

property is_test

test if test flag is set (read-only)

Type:

bool

property number_of_object

number of information objects (read-only)

Type:

int

property originator_address

originator address (0-255) (read-only)

Type:

int

property quality

quality restrictions bitset object (read-only)

Type:

Quality

property raw

asdu message bytes (read-only)

Type:

bytes

property raw_explain

asdu message bytes explained (read-only)

Type:

str

property type

iec60870 type (read-only)

Type:

Type

property value

value (read-only)

Type:

float