Configuring Properties

<< Click to Display Table of Contents >>

 

Configuring Properties

This topic contains information about the available properties on the Alfa32 tab, also informing the value of Strings for offline properties, which can be programmed by users when starting an application in Offline mode. These Strings can be listed on a table, according to the next example.

The configuration parameters to perform communication with a device are available on this Driver's Properties Window.

In addition to the Properties Window, these settings can be defined at run time in Elipse E3, Elipse Power, or Elipse Water applications. To do so, start this Driver in Offline mode, that is, execute the application with its Start driver OFFLINE option enabled, which is configurable on the Setup tab of the Properties Window. The configuration options of this Driver are described on the next table.

Configuration options for Alfa 310X Driver

Tab

Parameter

String

Data Type

Description

Setup

Physical Layer

IO.Type

Text

Physical layer. Possible values are None, Serial, Ethernet, Modem, or RAS

Timeout

IO.TimeoutMs

Number

A time limit, in milliseconds, to receive data from a device's response

Serial

Port

IO.Serial.Port

Number

By default, use the same value set on the device. Possible values are 1: COM1, 2: COM2, 3: COM3, or n: COMn

Baud rate

IO.Serial.Baudrate

Number

By default, use the same value set on the device. For example, the value 9600 defines a baud rate for serial communication

Data bits

IO.Serial.DataBits

Number

By default, use the same value set on the device. Possible values are 7: 7 bits or 8: 8 bits

Parity

IO.Serial.Parity

Number

By default, 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

Stop bits

IO.Serial.StopBits

Number

By default, use the same value set on the device. Possible values are 0: Stop Bit 1, 1: Stop Bit 1.5, or 2: Stop Bit 2

Ethernet

Transport

IO.Ethernet.Transport

Text

Transport layer. Possible values are None, Serial, Ethernet, Modem, or RAS

Main IP

IO.Ethernet.MainIP

Text

IP address of a device, in the format [0-255].[0-255].[0-255].[0-255]

Port

IO.Ethernet.MainPort

Number

TCP/IP port, in the format nnnn, in which n is a value between 0 (zero) and 65535

Alfa32

Use Default Master ID

Alfa32.UseDefaultMasterID

Number

Enables or disables a fixed address for a Master. Valid values are 0: Disabled or 1: Enabled

Default Master ID

Alfa32.DefaultMasterID

Number

Defines the address of the default Master for all Tags of an application

Use Default Slave ID

Alfa32.UseDefaultSlaveID

Number

Enables or disables a fixed address for a Slave. Valid values are 0: Disabled or 1: Enabled

Default Slave ID

Alfa32.DefaultSlaveID

Number

Defines the address of the default Slave for all Tags of an application

 

All offline properties must be configured via PLC Tags in String format, by using 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?