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 - xEnable- BOOL- Enables 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 - udiLogOptions- UDINT- LoggingOptions.None - LoggingOptions can be combined using OR - Output - xBusy- BOOL- The Outstation is operational. - xError- BOOL- An error occured. - eErrorID- The specific error. 
Properties:
Methods:
Structure:
