Data Types - Panasonic HMWIN User Manual

Touch
Hide thumbs Also See for HMWIN:
Table of Contents

Advertisement

Scaling
Tag values are normally transferred "as they are" from the protocol to the real time tag database. You can
specifically apply scaling to the tag values before they are stored in the database. The available scaling
options are By formula and By range. Scaling can be specified in terms of linear relationship as a formula
or as range conversion.
The tag name must be always unique at the project level; often it may happen that the same tags, from the
same symbol file have to be used for two different controllers. Since having tags with the same name is not
supported, you can use the "Alias" feature to automatically add a prefix to the imported tag to make them
unique at the project level.
When importing tags for a Protocol, the tag names may be prefixed by the name given in the "Alias" item of
the protocol configuration dialog box. Please note that not all protocols support the "Alias" feature. See
protocol documentation for specific information.
PLC Tag Name
This is the original name of the tag when imported from PLC. This field is managed automatically by Tag
Importer and is available as R/W in advanced view just to allow users to change it if any problem during tag
import operation. For tags not imported from external files usually this field is empty and can be ignored.
PLC Tag Name are used so as link between tags used by HMI application (Tag Name) and tags exported
from PLC.
3.4.2

Data Types

When creating a tag, HMWIN Studio shows a dialog box in which you need to specify the tag properties. The
tag Memory Types are specific to the selected Protocol.
The tag Data Type must be selected from the list of available HMWIN Studio Data Types, according to the
internal representation you need for the selected controller address. HMWIN Studio Data Types are
summarized in the following table.
Data Type
string
boolean
float
double
binary
int
short
byte
unsignedInt
ACGM0195V1EN
HMWIN Studio User Manual
Description
Character strings. The characters are coded in UTF-8 format.
Boolean is one bit data (0..1)
Float corresponds to the IEEE single-precision 32-bit floating point type
(1.17e-38 ... 3.40e38)
Double corresponds to IEEE double-precision 64-bit floating point type
(2.2e-308 ... 1.79e308)
Binary represents arbitrary binary data
Int is signed 32 bit data (-2.1e9 ... 2.1e9)
Short is signed 16 bits data (-32768..32767)
Byte is signed 8 bits data (-128..127)
UnsignedInt is unsigned 32 bit data (0 ... 4.2e9)
29

Advertisement

Table of Contents
loading

Table of Contents