12 app, Parameters, Delimiters – Yokogawa Touch Screen GP20 User Manual

Page 17: Sub delimiters, Terminators

Advertising
background image

2-3

IM 04L51B01-17EN

Commands and Responses

1

2

App

Parameters

Parameters are characteristic values that are attached to commands.

Notes on Writing Parameters

• Write parameters in their appropriate order.

• Spaces around and in the middle of parameters are ignored. Exception is the character

strings that users specify.

• You can omit the setting command parameters that do not need to be changed from their

current settings. If you omit parameters, write only the delimiters.

Example:

SRangeAI,0001,,,,,1800,0 terminator

• If parameters are omitted and there are multiple delimiters at the end of the command,

those delimiters can be omitted.

Example:

SRangeAI,0001,VOLT,2V,,,,terminator -> SRangeAI,0001,VOLT,

2Vterminator

There are two types of parameters: predefined expressions and user-defined character

strings.

How to Write User-Defined Character Strings (Parameters)

• Enclose user-defined character strings in single quotation marks.

Example

The command for setting the channel 0001 tag to “SYSTEM1” is shown

below.

STagIO,0001,'SYSTEM1'

• There are two types of user-defined character strings depending on the type of characters

that can be used.

Character Strings Consisting Only of Characters in the ASCII Code Range (0x00 to

0x7f)

In this manual, applicable parameters are indicated with “ASCII.”

Example

p3

Tag number (up to 16 characters, ASCII)

You can use alphanumeric characters and some of the symbols. For the ASCII characters

that you can use, see appendix 1.

Character Strings Consisting of Characters in the UTF-8 Code Range
In this manual, applicable parameters are indicated with “UTF-8.”

Example

p2

Tag (up to 32 characters, UTF-8)

UTF-8 codes include ASCII codes. You can use UTF-8 characters, including the ASCII

characters above. For the ASCII characters that you can use, see appendix 1.

Delimiters

Commas are used as delimiters.

Sub delimiters

Semicolons are used as sub delimiters.

Terminators

“CR+LF” is used as a terminator, meaning “CR” followed by “LF.” Expressed in ASCII code, it

is 0x0d0x0a.

2.1 Command Transmission and GX20 Responses

Advertising
This manual is related to the following products: