Reading tag names from the recorder, Importing tag strings from text files – Yokogawa DAQWORX User Manual

Page 48

Advertising
background image

2-28

IM WX101-01E

C. If necessary, click the “Channel” cell and select the channel that is to be assigned to

the tag from the list box.

The list box lists the channel numbers of the measurement channels, computation

channels, Int. Loop channels, Ext. Loop channels, and Extra channels which were
set using the Software Configurator.

Clicking the tool cell in the bottom sets the channel numbers for the tags in the
selected area. The channel connected to the first tag is used as a base and the
channel numbers of the following tags are incremented by 1.

When the channel number reaches the last channel of that recorder, it transfers to

the next recorder number. When the last recorder number is reached, it returns to

the smallest recorder number.

Note

A single channel can be assigned to multiple tags.

Reading Tag Names from the Recorder

The tag string can be read from the recorder and entered in the tag name.

Procedure

1. Select the tag for which to read the tag information.

2. In the “DAQLOGGER Tag Editor” window, select “Receive Tag Setting” from the

“Communication” menu.

A window appears indicating that the tag is being received, and the tag is received.
The tag names in the selected range are replaced with the tag string of the specified
channel of the recorder. After execution, the “Communication Message” dialog box

appears. Read the message and click “OK.” The “Communication Message” dialog

box closes.

If an error message appears, see Chapter 9, “Messages.”

Note

• The DA does not have tag settings, therefore tags cannot be received.

• If tags have more than 16 characters, only the first 16 characters are read. If this occurs, a

message appears indicating that characters in excess of 16 were deleted.

Importing Tag Strings from Text Files

You can import text data as tag names. If the text data includes control characters

(other than carriage returns and terminator symbols), those characters are replaced with

spaces.

Control characters:

Characters used to affect formatting, control data transfer,

or perform other control functions. (0x00 to 0x1F, and 0x0a)

Carriage returns/line feeds: LF(0x0a), CR(0x0d), CR+LF(0x0d+0x0a)

Terminator symbols:

One or more characters used to indicate the beginning or

ending of a character string. Tab (0x09), carriage return.

The file structure of importable text data is as follows.
• Tag information (first line is the tag number TAG0001), spaces are valid. However, a

character string may not end with a space.

• One line of tag information ends at a carriage return.

• Any more than 15 characters are deleted.

• If a tab is included in a string, the tab and subsequent characters are ignored.

• If a line that is read contains only a carriage return or only a tab and carriage return,

the tag name of that line is deleted.

2.7 Setting Tags

Advertising
This manual is related to the following products: