beautypg.com

13 output commands (control), Output commands (control) -59, Esc o opens the device – Yokogawa Data Acquisition with PID Control CX2000 User Manual

Page 188: Esc c closes the device, Fp outputs the sp number and pid number, Fm outputs the control mode, Fh outputs the program operation mode

background image

6-59

IM 04L31A01-17E

6

Command

6.12 Output Commands

(Measurement-RS-422/485
Dedicated Commands)

ESC O

Opens the device

ESC is the character 1BH expressed using

ASCII code. See appendix 1.

Syntax

ESC O p1
p1: Device address (01 to 32)

Example

Open the device at address 01, and enable all

commands.

ESC O01

Description • Specifies the address of the device with which

to communicate.

• Only one device can be opened at any given

time.

• When the ESC O command is executed, any

other device that is currently open is

automatically closed.

• When this command is received correctly, the

CX transmits the data “ESC 0 ”.

• Normally, either CR+LF or LF can be used as

a terminator for communication commands.

However, the terminator for this command

must be set to CR+LF.

ESC C

Closes the device

ESC is the character 1BH expressed using

ASCII code. See appendix 1.

Syntax

ESC C p1
p1: Device address (01 to 32)

Example

Close the device whose address is 01.

ESC C01

Description • Clears the current connection with the

connection.

• When this command is received correctly, the

CX transmits the data “ESC C

”.

• Normally, either CR+LF or LF can be used as

a terminator for communication commands.

However, the terminator for this command

must be set to CR+LF.

6.12 Output Commands (Measurement-RS-422/485 Dedicated Commands)/6.13 Output Commands (Control)

6.13 Output Commands

(Control)

FP

Outputs the SP number and PID
number.

Syntax

FP p1
p1: Loop number (1 to 6 (1or 2 on the CX1000))

Query

FP?

Example

Output the SP number and PID number of loop

number 2.

FP2

Description Outputs the SP number and PID number that is

currently used by the selected loop.

FM

Outputs the control mode.

Syntax

FM p1
p1: Loop number (1 to 6 (1or 2 on the CX1000))

Query

FM?

Example

Output the control mode of loop number 2.

FM2

Description Outputs the status of the control mode of the

selected loop. The status is indicated using 32

bits that are divided into 4 groups of 8 bits.

xxx.xxx.xxx.xxx

For details, see “Control Mode Output” in section

7.2, “ASCII Data Output Format.”

FH

Outputs the program operation
mode.

Syntax

FH p1
p1: Program parameter numbers (1–30)

1–30: pattern number 1 to pattern number

30

When omitted, assumes the pattern

numbers designated on the CX.

Example

Outputs the status of pattern number 2’s

program operation mode

FH2

Description The status of the operation mode of the selected

pattern is output. The status is indicated using

32 bits that are divided into 4 groups of 8 bits.

xxx.xxx.xxx.xxx

For details, see “Program Operation Mode

Output” in section 7.2, “ASCII Data Output

Format.”