Cdaqdarwinchinfo::tostatus – Yokogawa PC-Based MX100 User Manual

Page 450

Advertising
background image

7-52

IM MX190-01E

CDAQDARWINChInfo::toStatus

Syntax

static int toStatus(char cStatus);
static int toStatus(int value);

Parameters

cStatus

Specify characters.

value

Specify 2 bytes of the data value as an integer.

Description

Converts the specified value into a data status value.

If a string is specified and is outside the range, the data status value ìUnknown”is
returned.

If a data value is specified and is outside the range, “Normal” is returned.
If a string is specified and an overrange is specified, the data status value “Positive

overrange”is returned. The data value of the data status for computation channels
has 4 bytes. This data consists of two same 2-byte data. Use this 2-byte data when

specifying a data value.
The character specified corresponds to the output format of S1.

For characters (spaces) that are read in for instantaneous value data, returns the
“instantaneous value data loading communication status.”

When specifying data values, values other than abnormal data values are set as out
of range, and ìcompleted normally”is returned.

Return value

Returns the data status value.

7.4 Details of the DARWIN Class

Advertising