Chapter 1 commands, 1 command format, Command format – Yokogawa Standalone MW100 User Manual

Page 8: Command format -1 command format -1, App index

Advertising
background image

1-1

IM MW100-17E

Commands

1

2

3

App

App

Index

Chapter 1

Commands

1.1 Command Format

Command Format

The format for MW100 commands is described below. ASCII character codes (see
Appendix 5) are used.

?

SR 02,SKIP;SR 03,VOLT,2V,-1500,1800

Example command

Command

Parameter

Terminator

Delimiter
Sub-delimiter

Command name (SR)
Parameters

(

02 SKIP·····1800)

Delimiter ( , )
Sub-delimiter ( ; )

Command Name

Consists of two alphabetic characters.

Parameters

• The arguments of the command.
• Set using alphanumeric characters.
• A delimiter (comma) is inserted between parameters.
• If the parameter is a numerical value, the valid setting range varies depending on

the command.

• Spaces before, after, or inside of a parameter are ignored (except for parameters

(units) set as user-specified strings which allow spaces).

• Parameters can be omitted unless a change from a current setting is required.

However, the delimiter cannot be omitted.

Example

SR01,,2V<terminator>

If multiple parameters are omitted, and delimiters are continuous until the

terminator, those delimiters can be omitted.

Example

SR01,VOLT,,,<terminator> -> SR01,VOLT<terminator>

• The maximum length for a single parameter is 512 bytes.

Queries

• Question marks (?) are used for queries.
• You can place a query after a command or parameter to query the setting of that

command. There are commands for which queries cannot be made. See section 1.4
to 1.8 for the queries for each command.
Ex. 1

SR[p1]?

Execute

SR? or SRp1?.

Ex. 2

SA[p1[p2]]?

Execute

SA?, SAp1?, or SAp1,p2?.

Delimiters

• Commas ( , ) are used as delimiters.
• A delimiter is inserted between parameters.

Advertising