DeviceBase Members

<< 点击显示目录 >>

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

DeviceBase Members

BR.AN.PviServices .NET


DeviceBase overview

Public Instance Constructors

pubmethod DeviceBase Constructor

Initializes a new instance of the DeviceBase class.

Public Instance Properties

pubpropertyCpuParameterString

Call this method to split all parameters into CPU and device parameters and get the CPU parameters.

pubpropertyDeviceParameterString

Call this method to split all parameters into CPU and device parameters and get the DEVICE parameters.

pubpropertyDeviceType

Gets the device type of the connection. You can use the following devices: Serial, Can, TcpIp, Modem

pubpropertyInterfaceName

Gets or sets the name of the communication interface. (e.g.: com1)

pubpropertyIntervalTimeout

Gets or sets the interval timeout. Defines the maximum time which is to pass between two CAN messages when receiving or sending an INA frame. This parameter is used together with the /RT parameter for the INA2000 CPU object to detect a broken connection. This parameter is not allowed to be less than the reaction time for the controller (5 msec for PLC) plus a reserve of at least 25 ms (accordingly higher for heavy interrupt loads on the PCs), but should be smaller than /RT. If quick detection of the broken connection is not required, monitoring interval timeouts does not need to be enabled (/IT=0). Example: "/IT=80"

pubpropertyResponseTimeout

Gets or sets the Response timeout in milliseconds. 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.

pubpropertyRoutingPath

Gets or sets the routing path.

Public Instance Methods

pubmethodFromXmlTextReader

Reads the configuration from xml configuration file and updates.

pubmethodSaveConnectionAttributes

Save the connection attributes to the export file.

See Also

DeviceBase Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]