beautypg.com

1 command syntax – Yokogawa Button Operated MV2000 User Manual

Page 74

background image

4-1

M-4662

Commands

1

2

3

4

5

6

7

App

Index

Chapter 4

Commands

4.1

Command Syntax

Command Syntax

This section describes the MV setting, basic setting, and output command syntax (see
sections 4.4 to 4.10). ASCII codes (see appendix 1) are used for the character codes.
For the maintenance/test command syntax (see section 4.11) and instrument information
output command syntax (see section 4.12), see the corresponding sections or the
examples for each command.

Command name

Parameter

?

Terminator

Delimiter

Sub delimiter

SR002,SKIP;SR003,VOLT,2V,-1500,1800

Parameters
Delimiter (,)
Command name (SR)
Sub delimiter (;)

Command example

Command Name

A command name is defined using two alphabet characters.

Parameters

• Command parameters.
• Parameters are specified using alphabet characters or numeric values.
• Each parameter is separated by a delimiter (comma).
• A numeric value is specified using an integer.
• If the parameter is a numeric value, the valid range of the value varies depending on

the command.

• Spaces before and after a parameter are discarded. (However, spaces are significant

in a parameter (unit) specified using an ASCII character string.) In the examples given
in this manual, spaces are not used.

• You can omit parameters that do not need to be changed from their current settings.

However, delimiters cannot be omitted.

Example SR001,,2V

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

those delimiters can be omitted.

Example SR001,VOLT,,, → SR001,VOLT

• The number of digits is fixed for the parameters listed below. If you enter the wrong

number of digits, a syntax error will occur.
• Date YY/MM/DD (eight characters)

YY: Enter the lower two digits of the year.
MM: Month
DD: Day

• Time HH:MM:SS (eight characters)

HH: Hour
MM: Minute
SS: Second

• Channel number: Three characters
• Relay number: Three characters

This manual is related to the following products: