Configuring Properties

<< Click to Display Table of Contents >>

 

Configuring Properties

Configuration parameters to communicate with a device are available on this Driver's Properties Window. In addition to this Properties Window, these settings can also be defined at run time in E3 or Elipse Power applications. To do so, initialize this Driver in Offline mode, that is, execute an application with the Start driver OFFLINE option enabled, which is configured on the Setup tab of the Properties Window. The configuration options of this Driver are described on the next table.

Configuration options for Toledo BTR9091 Driver

Tab

Parameter

Offline String

Data Type

Description

BTR9091

Checksum

BTR9091.Checksum

Boolean

Protocol verification by checksum. Valid values are False: Disabled or True: Enabled. Use the same option set on the device

Setup

Physical Layer

IO.Type

Text

Physical layer. By default, use the Serial or Ethernet option

Serial

Port

IO.Serial.Port

Number

Communication port. Use the same value set on the device. Possible values are 1: COM1, 2: COM2, 3: COM3, …, 256: COM256. Default value is 1

Baud rate

IO.Serial.Baudrate

Number

Baud rate. Use the same value set on the device. Default value is 9600

Data bits

IO.Serial.DataBits

Number

Data bits. Use the same value set on the device. Possible values are 7: 7 bits or 8: 8 bits. Default value is 7

Parity

IO.Serial.Parity

Number

Parity bit. Use the same value set on the device. Possible values are 0: No Parity, 1: Odd Parity, 2: Even Parity, 3: Mark Parity, or 4: Space Parity. Default Value is 2

Stop bits

IO.Serial.StopBits

Number

Stop bits. Use the same value set on the device. Possible values are 0: 1 stop bit, 1: 1.5 stop bits, or 2: 2 stop bits. Default value is 2

Ethernet

Transport

IO.Ethernet.Transport

Text

Transport layer

Main IP

IO.Ethernet.MainIP

Text

IP address of a device, in the format "nnn.nnn.nnn.nnn"

Port

IO.Ethernet.MainPort

Number

TCP/IP addressing port

 

All properties can be configured via Tags in String format, by using the Item syntactic parameter with "IO.SetConfigurationParameters" or the N1 parameter equal to -1 (minus one), the N2 parameter equal to 0 (zero), the N3 parameter equal to 0 (zero), and the N4 parameter equal to 3 (three). For more details and examples, please check topic Documentation of I/O Interfaces.

Was this page useful?