Click or drag to resize

ExampleNotifyMemoryServer Class

An extended Built-in Memory Server based on ExampleMemoryServer.
Inheritance Hierarchy
SystemObject
  Demo3D.PLC.Comms.BuiltinExampleMemoryServer
    Demo3D.PLC.Comms.BuiltinExampleNotifyMemoryServer

Namespace:  Demo3D.PLC.Comms.Builtin
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public class ExampleNotifyMemoryServer : ExampleMemoryServer

The ExampleNotifyMemoryServer type exposes the following members.

Constructors
  NameDescription
Public methodExampleNotifyMemoryServer
Initializes a new instance of the ExampleNotifyMemoryServer class
Top
Methods
  NameDescription
Public methodConnect
Connects to the server.
(Inherited from ExampleMemoryServer.)
Public methodDisconnect
Disconnects from the server.
(Inherited from ExampleMemoryServer.)
Public methodPublishChanges
Example of raising publication events.
Public methodRead
Read data from server memory.
(Inherited from ExampleMemoryServer.)
Public methodReadSymbolTable
Read the symbol table from the PLC.
(Inherited from ExampleMemoryServer.)
Public methodSubscribe
Put in here whatever is required to subscribe to memory changes.
Public methodUnsubscribe
Put in here whatever is required to unsubscribe from memory changes.
Public methodWrite
Write data into server memory.
(Inherited from ExampleMemoryServer.)
Top
Remarks

Normally, you'd replace this class entirely with whatever code is required to access your server.

This version of the example shows how to publish when memory changes.

See Also