Outstation (FB)ΒΆ
FUNCTION_BLOCK Outstation IMPLEMENTS IOutstation
Function block representing a DNP3 outstation.
An Outstation needs to be configured regarding its
data model (data points and there type/variation etc.)
communication (TCP vs. serial)
Outstation data points of same type are grouped in a data point group. Data point groups needed for a specific Outstation do specify the OutstationDataModel which is connected to Outstation input dataModel. A specific OutstationConfiguration (actually either OutstationConfigurationIP or OutstationConfigurationCOM) is also connected to Outstation input configuration. If the Outstation is enabled, the dataModel and the configuration is checked for consistency.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnableBOOLEnables the Outstation. The data model and the configuration is checked, in case of errors, xError / eErrorID is set accordingly, otherwise xBusy is set to TRUE
dataModel_nullDataModel
Outstation data model - configuration, no changes accepted if Outstation is enabled
configuration_nullConfiguration
Outstation configuration - no changes accepted if Outstation is enabled
udiLogOptionsUDINTLoggingOptions.None
LoggingOptions can be combined using OR
Output
xBusyBOOLThe Outstation is operational.
xErrorBOOLAn error occured.
eErrorIDThe specific error.
Properties:
Methods:
Structure: