FB_GseSvApduClass

Object instances of FB_GseSvApduClass implement functionalities of an SV-APDU.
Namespace: Tc3_Gse
Library: Tc3_Gse (Tc3_Gse.compiled-library)
Inheritance hierarchy
FB_CltsByteOrderConverterClass -> FB_GseByteOrderConverterClass -> FB_GseSvApduClass
FUNCTION_BLOCK FB_GseSvApduClass EXTENDS FB_GseByteOrderConverterClass IMPLEMENTS I_GseSvApduClass, I_GseSvPublisherEventSink, I_GseSvSubscriberEventSink
Interfaces
Type | Description |
|---|---|
Interface of the SV-APDU implementation. | |
Interface of the SV publisher event routine. | |
Interface of the SV subscriber event routine. |
Methods
Name | Description |
|---|---|
Adds an ASDU object to the container of ASDU objects. | |
Compares itself and another object for equality. |
Methods of event handling (callback methods)
Name | Description |
|---|---|
A custom event handling routine that converts SV Publisher data from host-byte order to network-byte order for transmission. | |
A user-defined event handling routine that converts the received SV subscriber data from network byte order to host byte order. |
Properties
Name | Type | Access | Definition location | Initial value | Description |
|---|---|---|---|---|---|
APPID | WORD | Get | Local | 0 | APPID in the GSE header of the SV message. |
bSimulation | BOOL | Get, Set | -//- | FALSE | Simulation bit in the Ethernet frame header of the SV message. If the “bSimulation” adapter setting is set to FALSE, the simulation bit can be set individually for each APDU that is sent. |
srcAddr | Get | -//- | [0,0,0,0,0,0] | Source address in the Ethernet frame header of the SV message. | |
ipUpdate | Set | -//- | 0 | Used only by SV subscribers. Interface pointer of an object with a user-defined implementation of the event handling routine: OnSvUpdate. |