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 common_address

common address (1-65534) (read-only)

Type:

int

property cot

cause of transmission (read-only)

Type:

c104.Cot

property info

value (read-only)

Type:

c104.Information

property io_address

information object address (0-16777215) (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 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:

c104.Type