Equivalent data types, Rslinx enterprise tag syntax – Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 136

Advertising
background image

F

ACTORY

T

ALK

V

IEW

M

ACHINE

E

DITION

U

SER

S

G

UIDE

9-16

• •

Equivalent data types

Different processors and OPC servers use different terminology for tag data types. This
section provides information about equivalent data types that you can use for array tags,
with the associated number of bits for each.

PLC and SLC tags

When creating array tags, you can use PLC and SLC tags with this data type:

Data server tags with the Short Integer data type are shown in the Tag Browser with the
Item Canonical Data Type of Integer.

To view a tag’s Item Canonical Data Type

In the Tag Browser, right-click the tag, and then select Properties.

Logix5000 tags

When creating array tags, you can use Logix5000 tags with these data types:

Data server tags with the data types described in the previous table are shown in the Tag
Browser with the Item Canonical Data Types of Character, Short Integer, and Long
Integer, respectively.

RSLinx Enterprise tag syntax

To create an RSLinx Enterprise array tag, use this syntax to specify the length of the array:

{tagname,Larraylength}

For example, {::[PLC5]N7:0,L5}

The tag N7:0 uses the Short Integer data type (16 bits), so the array tag consists of 80 bits
(16 x 5).

When the tag name contains a colon (:), put two colons before the RSLinx Enterprise
device shortcut name.

Data type

Number of bits

Short Integer

16

Data type

Number of bits

SINT

8

INT

16

DINT

32

Advertising