beautypg.com

Xr sets the remote action, Xq sets the timer, Ro sets the report type and generation time – Yokogawa Data Acquisition with PID Control CX2000 User Manual

Page 171

background image

6-42

IM 04L31A01-17E

6.7 Basic Setting Commands (Measurement)

XR

Sets the remote action

Syntax

XR p1,p2
p1: Remote number (1 to 8)

p2: Remote action

NONE

No action

ALARM ACK

Alarm acknowledge

MEMORY START/STOP

Start/stop measurement

MANUAL SAMPLE

Manual sample

TRIGGER

External trigger input

(event data)

MESSAGE1

Write message 1

MESSAGE2

Write message 2

MESSAGE3

Write message 3

MESSAGE4

Write message 4

MESSAGE5

Write message 5

MESSAGE6

Write message 6

MESSAGE7

Write message 7

MESSAGE8

Write message 8

PANEL1 LOAD

Load setting 1

PANEL2 LOAD

Load setting 2

PANEL3 LOAD

Load setting 3

MATH START/STOP

Start/Stop MATH

MATH RESET

Reset MATH

TIME ADJUST

Adjust time

SNAPSHOT

Snapshot

Query

XR[ p1]?

Example

Set the remote action of remote number 1 to

writing message 1.

XR1,MESSAGE1

XQ

Sets the timer

When not using the timer

Syntax

XQ p1,p2
p1: Timer number (1 to 3)

p2: Timer type (OFF)

Query

XQ[ p1]?

Example

Turn the number 1 timer OFF.

XQ1,OFF

Description This command can be used on models with the

computation function option /M1.

When using the absolute timer

Syntax

XQ p1,p2,p3,p4,p5,p6
p1: Timer number (1 to 3)

p2: Timer type (ABSOLUTE)

p3: Interval (1MIN, 2MIN, 3MIN, 4MIN, 5MIN,

6MIN, 10MIN, 12MIN, 15MIN, 20MIN,

30MIN, 1H, 2H, 3H, 4H, 6H, 8H, 12H, 24H)

p4: Reference Time (hh fixed form)

hh Hour (00 to 23)

p5: Reset/not reset the sum value when the

timer expires. (ON/OFF)

p6: Action to be taken when the timer expires

(OFF, DATA SAVE)

Query

XQ[ p1]?

Example

Set an absolute timer to timer number 1. Set the

sampling interval to 30 minutes, the reference

time to 7 O’clock, reset the integrated value

when the timer expires, and set no action when

the timer expires.

XQ1,ABSOLUTE,30MIN,07,ON,OFF

Description • This command can be used on models with

the computation function option /M1.

• The timer expires at the interval specified by

parameter 3 from the time specified by p4,

and performs the operation set with

parameters p5 and p6.

When using the relative timer

Syntax

XQ p1,p2,p3,p4,p5
p1: Timer number (1 to 3)

p2: Timer type (RELATIVE)

p3: Interval (hh:mm fixed format)

hh

Hour (00 to 24)

mm

Minute (00 to 59)

Set the interval in the range 00:01 to 24:00

p4: Reset/not reset the sum value when the

timer expires. (ON/OFF)

p5: Action to be taken when the timer expires

(OFF, DATA SAVE)

Query

XQ[ p1]?

Example

Set a relative timer to timer number 1. Set the

sampling interval to 1 hour 15 minutes, reset the

integrated value when the timer expires, and set

no action when the timer expires.

XQ1,RELATIVE,01:15,ON,OFF

Description • This command can be used on models with

the computation function option /M1.

• The timer expires at the interval specified by

parameter p3 from the time the CX is turned

ON, from the time the timer is reset, and from

the time when the timer is turned OFF. When

the timer expires, the operation set with

parameters p4 and p5 are carried out.

RO

Sets the report type and
generation time

When report type is set to none

Syntax

RO p1
p1: Report type (OFF)

Query

RO?

Example

Set report to none.

ROOFF

Description This command can be used on models with the

computation function option /M1.