Show / Hide Table of Contents

Class ModbusMaster

Inheritance
System.Object
Connection
Connection
Connection
ModbusMaster
Implements
System.IComparable
IConnection
IConnection
Inherited Members
Connection.Ip
Connection.Server
Connection.OnInputDataReceived
Connection.OnBufferSourceAdded
Connection.OnInputReceived
Connection.OnValidate
Connection.EnableSource
Connection.InputForm
Connection.OutputForm
Connection.Symbols
Connection.UnusedImportedSymbols
Connection.ValidateUserInput(String)
Connection.Cleanup(Connection)
Connection.CreateS5Fetch(Boolean)
Connection.CreateS5Write(Boolean)
Connection.CreateS7Function(Boolean)
Connection.CreateXComTCP()
Connection.CreateXComUDP()
Connection.GetBuffer(IRegister)
Connection.Active(IRegister)
Connection.AddSource(IBufferInput)
Connection.AddSource(IBufferOutput)
Connection.AddSymbol(Symbol)
Connection.BeforeSerialization()
Connection.ClearInputSources()
Connection.ClearOutputSources()
Connection.ClearSymbols()
Connection.CloseInputForm()
Connection.CloseLog()
Connection.DataReceived(String, Byte[])
Connection.Output(Int32, Int16, String, Boolean)
Connection.OutputBuffer
Connection.InputBuffer
Connection.RemoveSource(Input)
Connection.RemoveSource(Output)
Connection.Send(Byte[], Int32)
Connection.Send(IRegister, Object)
Connection.TruncateLog()
Connection.AddAlarmEvent
Connection.InvokeAddAlarm(String, String)
Connection.AddSymbol(Symbol, Boolean)
Connection.ConnectionEstablished()
Connection.ConnectionLost()
Connection.CreateLog(Int32)
Connection.Export()
Connection.IODataReceived(UInt32, String, Byte[], Boolean)
Connection.ShowInputsDialog()
Connection.ShowOutputsDialog()
Connection.COMTEST
Connection.iolog
Connection.OnConnected
Connection.OnConnectionIdChanged
Connection.OnDisconnected
Connection.OnBeforeDisconnectManually
Connection.OnDisposed
Connection.OnMessageReceived
Connection.OnDiagnostic
Connection.OnNameChanged
Connection.Items
Connection.AutoConnect
Connection.AutoConnectDelay
Connection.Direction
Connection.Disposed
Connection.Error
Connection.HighLevel
Connection.Id
Connection.Name
Connection.Notification
Connection.ObjectType
Connection.Replayable
Connection.Warning
Connection.NumberOfDigits
Connection.Menu
Connection.Info
Connection.Add(Connection)
Connection.ConnectionIdUsed(Int32)
Connection.AutoConnectAll()
Connection.Count(Type)
Connection.Get(Int32)
Connection.GetValideConnectionId()
Connection.GetValideConnectionPortNumber()
Connection.GetValidName(String)
Connection.NameUsed(String)
Connection.Remove(Connection)
Connection.ValidDataLength(Int32, Int32, UInt32)
Connection.CompareTo(Object)
Connection.DataReceived(Byte[])
Connection.DataReceivedInvoked(Byte[], String)
Connection.Reset()
Connection.Send(Byte[])
Connection.ToString()
Connection.LowLevelProtocols
Connection.HighLevelProtocols
Connection.Diagnostic(String)
Connection.Information(String)
Connection.StateChanged()
Connection.StateChanged(States)
Connection.Context
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Communication.PLC.TCPIP.Modbus
Assembly: Experior.Core.dll
Syntax
public class ModbusMaster : Connection, IComparable, IConnection, IConnection

Constructors

ModbusMaster(ModbusMasterInfo)

Declaration
public ModbusMaster(ModbusMasterInfo info)
Parameters
Type Name Description
ModbusMasterInfo info

Fields

defaultimportsource

Declaration
protected readonly string defaultimportsource
Field Value
Type Description
System.String

Properties

Conversion

Declaration
public override Conversions Conversion { get; }
Property Value
Type Description
Conversions
Overrides
Connection.Conversion

Image

Declaration
public override ImageSource Image { get; }
Property Value
Type Description
System.Windows.Media.ImageSource
Overrides
Connection.Image

Mode

Declaration
[Browsable(false)]
public override string Mode { get; set; }
Property Value
Type Description
System.String
Overrides
Connection.Mode

Port

Declaration
[Browsable(false)]
public override int Port { get; set; }
Property Value
Type Description
System.Int32
Overrides
Connection.Port

Protocol

Declaration
public override string Protocol { get; }
Property Value
Type Description
System.String
Overrides
Connection.Protocol

Size

Declaration
[Browsable(false)]
public override Units Size { get; set; }
Property Value
Type Description
Units
Overrides
Connection.Size

Slave

Declaration
[Browsable(true)]
public byte Slave { get; set; }
Property Value
Type Description
System.Byte

SourceDescription

Declaration
[Browsable(false)]
public override string SourceDescription { get; }
Property Value
Type Description
System.String
Overrides
Connection.SourceDescription

SourceIdentification

Declaration
[Browsable(false)]
public override string SourceIdentification { get; }
Property Value
Type Description
System.String
Overrides
Connection.SourceIdentification

State

Declaration
public override State State { get; }
Property Value
Type Description
State
Overrides
Connection.State

Methods

CreateAlarm(UInt32, UInt32, String)

Declaration
protected AlarmInfo CreateAlarm(uint byteno, uint bitno, string description)
Parameters
Type Name Description
System.UInt32 byteno
System.UInt32 bitno
System.String description
Returns
Type Description
Experior.Core.Communication.PLC.AlarmInfo

CreateInputSymbol(String, Int32, Int16, Boolean, String, String, Registers)

Declaration
protected Symbol CreateInputSymbol(string name, int byteno, short bitno, bool nonc, string source, string type, Registers reg)
Parameters
Type Name Description
System.String name
System.Int32 byteno
System.Int16 bitno
System.Boolean nonc
System.String source
System.String type
Registers reg
Returns
Type Description
Symbol

DefaultSourceName(Registers)

Declaration
public override string DefaultSourceName(Registers type)
Parameters
Type Name Description
Registers type
Returns
Type Description
System.String
Overrides
Connection.DefaultSourceName(Registers)

Disconnect()

Declaration
public override void Disconnect()
Overrides
Connection.Disconnect()

Dispose(Boolean)

Declaration
public override bool Dispose(bool force)
Parameters
Type Name Description
System.Boolean force
Returns
Type Description
System.Boolean
Overrides
Connection.Dispose(Boolean)

EstablishConnection()

Declaration
public override void EstablishConnection()
Overrides
Connection.EstablishConnection()

Import()

Declaration
protected override void Import()
Overrides
Connection.Import()

ImportXmlFile(String)

Declaration
protected void ImportXmlFile(string filename)
Parameters
Type Name Description
System.String filename

ShowContextMenu(List<Environment.UI.Toolbar.BarItem>)

Declaration
public override void ShowContextMenu(List<Environment.UI.Toolbar.BarItem> menuitems)
Parameters
Type Name Description
System.Collections.Generic.List<Environment.UI.Toolbar.BarItem> menuitems
Overrides
Connection.ShowContextMenu(List<Environment.UI.Toolbar.BarItem>)

Sources(IRegister)

Declaration
public override List<string> Sources(IRegister io)
Parameters
Type Name Description
IRegister io
Returns
Type Description
System.Collections.Generic.List<System.String>
Overrides
Connection.Sources(IRegister)

UseBitNumber(String)

Declaration
public override bool UseBitNumber(string source)
Parameters
Type Name Description
System.String source
Returns
Type Description
System.Boolean
Overrides
Connection.UseBitNumber(String)

Implements

System.IComparable
IConnection
IConnection
Back to top Generated by DocFX