...
The address of a tag in Xpanel has the following format:
Tag Type | Format | Example |
Analog | [Symbol][DB Number,][Address] | DB1,1 |
Digital | [Symbol][DB Number,][Address].[Bit Number] | DB1,2.7 |
[DB Number,]: decimal number (0..65535) followed by a comma (,). It is used in the data block (DB) addressing only. For other types of memory, this field must be omitted.
[Address]: decimal number (0..65535).
[Bit Number]: decimal number (0..7).
The following table shows the list of devices that can be referenced in the Xpanel database.
Symbol | Description | Word Notation | Bit Notation | Type | Access |
PI | Peripheral Input | PI001 | PI001.7 | Analog/Digital | R/W |
I | Input | I002 | I002.7 | Analog/Digital | R/W |
Q | Output | Q003 | Q003.7 | Analog/Digital | R/W |
M | Memory | M004 | M004.7 | Analog/Digital | R/W |
DB | Data Block | DB01,01 | DB01,01.7 | Analog/Digital | R/W |
T | Timer | T005 | - | Analog | R |
C | Counter | C006 | - | Analog | R |
The device T and C (timer and counter) must be defined as the “UBCD16” data type for normal data manipulation. The following picture shows the data type configuration window of the Xpanel database.
...