Configuration by Syntactical Parameters

<< Click to Display Table of Contents >>

 

Configuration by Syntactical Parameters

Reading and Writing

Elipse E3, starting with version 2.0, Elipse Power, and Elipse Water allow configuring Tags by syntactical parameters. Use the next syntax for each field:

The Device field is not used and it must be kept empty

The Item field must obey the syntax <Area name><Address>[:<Data type>], in which:

<Area name> must be filled with a String from table Area Names

<Address> must be filled with an address value in an Area, or an offset

<Data type> is optional and, if used, it must be separated by colons and filled with a String from table Data Types. If this data type is omitted, then the default data type for this Area is displayed

 

Area Names

Area

Meaning

X

Input

DX

Direct input

Y

Output

DY

Direct output

B

Link relay

SB

Special link relay

M

Internal relay

SM

Special internal relay

L

Latch relay

F

Annunciator relay

V

Edge relay

S

Step relay

TS

Timer contact

TC

Timer coil

SS

Integrating timer contact

SC

Integrating timer coil

CS

Counter contact

CC

Counter coil

TN

Timer value

SN

Integrating timer value

CN

Counter value

D

Data register

SD

Special data register

W

Link register

SW

Special link register

R

File register

ZR

File register

Z

Index register

LTS

Long Timer Contact

LTC

Long Timer Coil

LTN

Long Timer Current Value

LSTS

Long Retentive Timer Contact

LSTC

Long Retentive Timer Coil

LSTN

Long Retentive Timer Current Value

LCS

Long Counter Contact

LCC

Long Counter Coil

LCN

Long Counter Current Value

 

NOTES

The default data type of Areas TN, SN, CN, D, W, SW, R, ZR, Z, and LSTN is a Word (unsigned 16-bit) and does not accept being configured as a Bit data type.

The default data type of Areas LTN and LCN is a Double Word (unsigned 32-bit) and does not accept being configured as a Bit data type.

The default data type of all other Areas is a Bit.

 

Data Types

Type

Meaning

W or WORD

A Word value (unsigned 16-bit)

S, SH, or SHORT

A Short value (signed 16-bit)

DW or DWORD

A Double Word value (unsigned 32-bit)

L or LONG

A Long value (signed 32-bit)

F or FLOAT

A Floating Point value (32-bit floating point, IEEE 754)

D or DOUBLE

A Double Floating Point value (64-bit double precision floating point, IEEE 754)

BCD

A BCD value (16-bit)

LBCD

A Long BCD value (32-bit)

DATE

A 32-bit value

STR or STRING

A sequence of String characters

 

The syntax for the Item field, if a String data type is selected, is the following:

<Area name><Address>:STR[<Maximum length>], in which:

<Area name> and <Address> refer to the same items from general syntax

<Maximum length> is optional and informs the maximum size declared in a String. If this size is not informed, then considers the maximum default size of a String as declared on the configuration window of this Driver

 

NOTE

Only PLC Tags configured for the Data Register, Link Register, or File Register Areas support the String data type. Block Tags or Tags configured with different Areas do not support the String data type.

 

Examples

1.Reading or writing an Input with address 1 (one) and a basic Bit data type: The Item field is filled with the value "X1".

2.Reading or writing an Output with address 100 and data type configured as Word: The Item field is filled with the value "Y100:W". Values from 16 contiguous Outputs starting at address 100 are reinterpreted as a Word value.

3.Reading or writing a Counter Value with address 50 and a basic Word data type: The Item field is filled with the value "CN50". Filling it with the value "CN50:W" produces the same result.

4.Reading or writing a Data Register with address 1000 and data type configured as Double Word: The Item field is filled with the value "D1000:DW". Values from two contiguous Data Registers starting at address 1000 are reinterpreted as a Double Word value.

5.Reading or writing a Data Register with address 100 and data type configured as String with a maximum size of 64: The Item field is filled with the value "D100:STR[64]".

Was this page useful?