Cpu Properties

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Cpu Class >

Cpu Properties

BR.AN.PviServices .NET


The properties of the Cpu class are listed below. For a complete list of Cpu class members, see the Cpu Members topic.

Public Instance Properties

pubpropertyAccu

Gets the state of the accu of the PLC

pubpropertyApplicationMemory

Obsolete. Gets the ApplicationMemory type of the cpu. Return an empty String if the Cpu has no ApplicationMemory

pubpropertyApplicationModuleFilter

Gets or sets the /AM (ApplicationModule) parameter for the communication to the PLC. If null the parameter will not be set at all. The communication instance will use the setting from "PviConfig.xml". null ... The application module name will not be used by PviServices. "::" ... The application module name can also be an empty string which is also called the "Default" application module. "*::" ... access to all application modules is allowed. "ApplicationModuleName::" ... the access is limited to application module "ApplicationModuleName" and to the empty application module name.

pubpropertyBattery

Gets the state of the battery of the PLC

pubpropertyBondInformationStruct

Gets the bond info received in BondInfoChanged.

pubpropertyBootMode

Gets the bootmode of this instance.

pubpropertyConnection

Gets the Connection object of this instance.

pubpropertyCpuUsage

Gets the percantage value (from 0 to 100) for the CPU usage. Can only be used for ANSL connections. Will return zero for INA2000 connections. Call UpdateCpuInfo to force a reread of the CPU info.

pubpropertyCurrentCyclicSystemUsage

Gets the performance of the cyclic CPU System. Value (0-100).

pubpropertyFullName

Gets the FullName of this instance.

pubpropertyHardwareInfo

Gets the Hardware info. Format is XML. Call ReadHardwareInfo if the string is empty.

pubpropertyHardwareInformationStruct

Gets the Hardware info. Call ReadHardwareInfo if null.

pubpropertyHardwareInfos

Gets the collection of hardware infos.

pubpropertyHasErrorLogBook

Gets if this CPU includes the oldstyle error logbook.

pubpropertyIODataPoints

A Collection of IODataPoints. Execute Method IODataPointCollection.Upload to get all IOs from the PLC.

pubpropertyIsConnected

Gets or sets the connection state of the PviServices object

pubpropertyIsSG4Target

Gets if it is an SG4 target.

pubpropertyLibraries

Gets the collection of the libraries.

pubpropertyLicenseStatusError

Returns the status error information extracted from the XML string .

pubpropertyLicenseStatusInfo

Returns the status information of PLC license as XML string

pubpropertyLoggers

Gets the collection fo logger modules.

pubpropertyMemories

Gets the actually uploaded memories of the device.

pubpropertyMemoryInfo

Gets the memory info. Format is XML. Call ReadMemoryInfo if the string is empty.

pubpropertyMemoryInformationStruct

Gets the memory info. Call ReadMemoryInfo if null.

pubpropertyModules

Gets the actually uploaded modules of the device.

pubpropertyNodeNumber

Gets the nodenumber of the cpu.

pubpropertyObjectsOnTarget

Gets the collection of objects listed on the target. This collection can only be used when using ANSL as communication protocol!

pubpropertyProfiler

Get the profiler.

pubpropertyPviPathName

Gets the PviPathName of this instance.

pubpropertyRedundancyCommMode

Gets or sets wheter to start a redundant communication to the PLC or not. If set to true the the PLC communication will be handled using cluster- primary- and secondary- Cpu connectrion settings. (/RED=1)

pubpropertyRedundancyInfo

Gets the redundancy info. Format is XML. Call ReadRedundancyInfo if the string is empty.

pubpropertyRedundancyInformationStruct

Gets the redundancy info. Call ReadRedundancyInfo if null.

pubpropertyResponseTimeout

Gets or sets the Response timeout in milliseconds. This parameter is part of the connection object! So when changing the connection object the ResponseTimout will change too although the parameter is a member of the CPU object!! If you want to change the ResponseTimeout, you will have to set the device object before!! If a response to a sent frame is not received with this time, then the frame is transferred again. After the third retry, the connection is deemed cancelled. The time in which an interrupted connection is detected is a result of the Response Timeout * 4.

pubpropertyRuntimeVersion

Gets the operating-system version of this cpu-instance.

pubpropertySavePath

Gets the SavePath property of the cpu.

pubpropertyState

Gets the state of this instance.

pubpropertyTaskClasses

Gets the actually uploaded taskclasses of the device.

pubpropertyTasks

Gets the actually uploaded tasks of the device.

pubpropertyTcpDestinationSettings

Gets the destination parameters for a tcp connection. The object has to be connected and a call to ReadTCPDestinationSettings has to be used to retrieve the settings. The settings will be valid as soon as TCPDestinationSettingsRead has been fired.

pubpropertyTextModules

The collection of TextModules

pubpropertyType

Gets the type of this cpu-instance.

pubpropertyVariables

Gets the actually uploaded global variables of the device.

See Also

Cpu Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]

Topics in this section:

Cpu.Accu Property

Cpu.ApplicationMemory Property

Cpu.Battery Property

Cpu.BootMode Property

Cpu.Connection Property

Cpu.FullName Property

Cpu.HardwareInfos Property

Cpu.HasErrorLogBook Property

Cpu.IODataPoints Property

Cpu.IsSG4Target Property

Cpu.Libraries Property

Cpu.Loggers Property

Cpu.Memories Property

Cpu.Modules Property

Cpu.NodeNumber Property

Cpu.Profiler Property

Cpu.PviPathName Property

Cpu.ResponseTimeout Property

Cpu.RuntimeVersion Property

Cpu.SavePath Property

Cpu.State Property

Cpu.TaskClasses Property

Cpu.Tasks Property

Cpu.TcpDestinationSettings Property

Cpu.Type Property

Cpu.Variables Property