FB_CoreStation - SetStationId (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Task

Setting the station ID.

Description

With the method SetStationId, you can specify the ID of the station.

Inputs

Input

Data type

Description

i_udiStationId

UDINT

Specifies the ID of the station.

Outputs

Output

Data type

Description

q_xError

BOOL

Indicates TRUE if an error has been detected. For details, refer to q_etResult and q_sResultMsg.

q_etResult

ET_Result

Provides diagnostic and status information as a numeric value.
If q_xError = FALSE, q_etResult provides status information.
If q_xError = TRUE, q_etResult provides diagnostic/error information.

q_sResultMsg

STRING [255]

Provides additional diagnostic and status information as a text message.

Access Specifier

The method SetStationId is assigned the access specifier FINAL. This helps to protect the method from being overwritten.

For more information, see Mandatory Access Specifiers.