|
<< Click to Display Table of Contents >>
Configuration by Syntactical Parameters |
Elipse E3 starting with version 2.0, Elipse Power, and Elipse Water allow configuring Tags by syntactic 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 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 |
Meaning |
Supported Data Types |
|---|---|---|
D |
Data register |
Word (default), Short, BCD, DWord, Long, LBCD, Float, Double, Date, and String |
R |
Extension register |
Word (default), Short, BCD, DWord, Long, LBCD, Float, Double, Date, and String |
TN |
Timer value |
Word (default), Short, and BCD |
TS |
Timer contact |
Bit (default), Word, Short, BCD, DWord, Long, and LBCD |
CN |
Counter value |
Word (default), Short, BCD, DWord, Long, and LBCD |
CS |
Counter contact |
Bit (default), Word, Short, BCD, DWord, Long, and LBCD |
X |
Input |
Bit (default), Word, Short, BCD, DWord, Long, and LBCD |
Y |
Output |
Bit (default), Word, Short, BCD, DWord, Long, and LBCD |
M |
Auxiliary relay |
Bit (default), Word, Short, BCD, DWord, Long, and LBCD |
S |
State |
Bit (default), Word, Short, BCD, DWord, Long, and LBCD |
Data Type |
Meaning |
|---|---|
W or WORD |
Word value (unsigned 16-bit) |
S, SH, or SHORT |
Short value (signed 16-bit) |
DW or DWORD |
Double Word value (unsigned 32-bit) |
L or LONG |
Long value (signed 32-bit) |
F or FLOAT |
Floating Point value (32-bit floating point, IEEE 754) |
D or DOUBLE |
Double Floating Point value (64-bit double precision floating point, IEEE 754) |
BCD |
BCD value (16-bit) |
LBCD |
Long BCD value (32-bit) |
DATE |
32-bit value |
STR or STRING |
Sequence of String characters |
The syntax for the Item field, if the 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 on the general syntax
•<Maximum length> is optional and informs the maximum size declared on the String. If not informed, considers the maximum default size of a String as declared on this Driver's configuration window
NOTE |
Any area whose default data type is Bit, when accessed with another data type, must be addressed with a value that is a multiple of 16. |
1.Reading or writing an Input with address 1 (one) and a basic Bit data type: The Item field is filled with "X1".
2.Reading or writing an Output with address 100 and data type configured as Word: The Item field is filled with "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 "CN50". Filling it with "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 "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 a String with a maximum size of 64: "D100:STR[64]".