Chapter 5 command format, 1 command format – Yokogawa DA100 User Manual

Page 43

Advertising
background image

IM DA100-11E

5-1

Command Format

5

5.1

Command Format

Commands are configured with ASCII codes and the content is divided into a command, parameters,
delimiters and a terminator.
(Example) SR001, VOLT, 20 mV <terminator>

Command

This is defined with two upper-case letters.

Parameter

• A delimiter (comma) is used to separate two parameters.
• Numerical values are all set using integers.
• If a parameter is a numeric value, the effective setting range varies with the command.
• Spaces before and after a parameter and embedded spaces in a parameter are ignored. (However,

for parameters (unit) specified with ASCII character strings, these spaces are effective.)

• Parameters which do not need to be changed from the current setting can be omitted. However,

delimiters cannot be omitted.
(Example) SR001,, 2 V <terminator>
If delimiters continue at the end due to the omission of more than one parameter, they can be
omitted.
(Example) SR001, VOLT,,, <terminator> -> SR001, VOLT<terminator>

• The number of digits of the following parameters is fixed. If an erroneous number of digits is

input, a syntax error occurs.
• Date and time

Date YY/MM/DD (8 characters)

YY: Year (enter the last two digits)
MM: Month
DD: Day

Time HH:MM:SS (8 characters)

HH: Hour
MM: Minute
SS: Second

• Channel number

A channel number ..................... 3 characters
Range of channel numbers ....... 6 characters AAA-BB
For details of channel numbers, see page 5-4.

Note

• If the same setting is to be done for subsequent channels, it can be achieved by connecting channels with a “-” (minus sign).

However, channels that can be set subsequently are effective only in the same unit.

(Example) Setting channels from 1 to 60 in subunit 0 to VOLT, 2 V:

SR001-60, VOLT, 2V

• Do not specify the channels of a module which the DA100 has not recognized. Otherwise, an error occurs. Modules that

cannot be recognized by the DA100 are those which have been newly added or whose slots have been changed. In order for

the DA100 to recognize them, reconstruct the system using the RS command.

• For specifying subsequent channels, the channels must all be in a module that can be recognized by the DA100.

• Relay number

Relay numbers are expressed with 3 characters.
For details on the relay numbers, see page 5-4.

Advertising