App.g-17, App.g – Yokogawa GC8000 Process Gas Chromatograph User Manual

Page 516

Advertising
background image

<Appendix G User Program>

App.G-17

IM 11B08A01-01E

Format READ_GC_AI(GC_ID,

N)

GC_ID: Analyzer ID (1 to 240)

N: AI number (1 to 16)

Return value: Integer

Return 0.0 to 1.0 in case of single precision real number.

Return –1.0 × 1038 in case of invalid (failed acquisition due to communication

failures, unregistered, etc.)

Explanation Omitted

READ_GC_DI Command

Function

Acquires the DI ON/OFF specifi ed by the specifi ed analyzer ID.

Format

READ_GC_DI (GC_ID, N)

GC_ID: Analyzer ID (1 to 240)

N: Dl number (1 to 32)

Return value: Integer

Return 1 for ON, 0 for OFF.

Return –1 in case of invalid (failed acquisition due to communication irregularities,

unregistered, etc.)

Explanation Omitted

READ_NV_DBL Command

Function

Reads the data in double precision real number from the element number

specifi ed by the double precision real number-type nonvolatile memory.

Format READ_NV_DBL(N)

N: Element number to read out data (0 to 255)

Return value: Double precision real number type

Return double precision real number data read out from specifi ed address.

Explanation Omitted

READ_NV_INT Command

Function

Reads data in integer from the element number specifi ed by the integer nonvolatile

memory.

Format READ_NV_INT(N)

N: Element number to read out data (0 to 1023)

Return value: Integer

Return integer data read out from specifi ed address.

Explanation Omitted

READ_NV_SNG Command

Function

Reads the data in single precision real number from the element number specifi ed

by the single precision real number type nonvolatile memory.

Format READ_NV_SNG(N)

N: Element number to read data (0 to 511)

Return value: Single precision real number type

Return single precision real number-type data from specifi ed address.

Explanation Omitted

WAIT

Command

Function

Suspends script execution for N seconds.

Format WAIT(N)

N: WAIT time (1 to 864000, Unit: 0.1 sec)

WAIT time = in order to set to 1 second, set parameter to 10.

Return value: None

Explanation When the WAIT command is called in the script, it will remain in standby mode

until N elapses. After N elapses, the lines following the executed WAIT command

in the script will be executed.

2nd Edition : May 11, 2012-00

App.G

Advertising