beautypg.com

Ff outputs fifo data, Fl outputs log, alarm summary, and message summary – Yokogawa Data Acquisition with PID Control CX2000 User Manual

Page 185

background image

6-56

IM 04L31A01-17E

FD

Outputs the newest measured/
computed/control data

Syntax

FD p1,p2,p3
p1: Output data type

0 Output the newest measured/computed/

control data in ASCII format

1 Output the newest measured/computed/

control data in BINARY format

4 Output the newest TLOG data in ASCII

format

5 Output the newest TLOG data in BINARY

format

p2: First channel number (01 to 20, 31 to 60,

101 to 118, 201 to 248) (01 to 06, 31 to 42,

101 to 106, 201 to 212 on the CX1000)

p3: Last channel number (01 to 20, 31 to 60,

101 to 118, 201 to 248) (01 to 06, 31 to 42,

101 to 106, 201 to 212 on the CX1000)

Example

Output the newest measured/computed/control

data of channels 1 to 5 from the CX in ASCII

format.

FD0,01,05

Description • The newest measured/computed/control data

means the newest measured/computed/

control data in the internal memory when the

CX receives the FD command.

• Set the first channel number and last channel

number parameters so that the last channel

number is greater than or equal to the first

channel number.

FF

Outputs FIFO data

Syntax

FF p1,p2,p3,p4
p1: Operation type

GET

Output from the next block

after the previous output

RESEND

Retransmit the previous

output

RESET

Set the newest data position

(block) to the read position of

the FIFO buffer (block)

GETNEW

Output the newest data

p2: First channel number (01 to 20, 31 to 60,

101 to 118, 201 to 248) (01 to 06, 31 to 42,

101 to 106, 201 to 212 on the CX1000)

p3: Last channel number (01 to 20, 31 to 60,

101 to 118, 201 to 248) (01 to 06, 31 to 42,

101 to 106, 201 to 212 on the CX1000)

p4: Upper limit of the number of blocks to be

read

1 to 60

If the measured/computed/control data is

less than the specified number of blocks,

the available amount of data is transmitted.

Example

Output 2 blocks of FIFO data of channels 1 to

10.

FFGET ,01,10,2

Description • The FIFO buffer is a cyclic buffer in which the

oldest data is overwritten. Use the FR

command to set the acquisition period.

• The following formats for outputting FIFO data

are available.

Logging output (GET)

Outputs the specified number of blocks (p4) of

data from the next block after the block that was

read previously.

Read the data within the following buffer period

to prevent dropouts from occurring.

FIFO buffer length: 60 intervals (scan interval)

Maximum buffer period: 60 × (acquisition period)
Newest value output (GETNEW)

Outputs the data from the newest data block

back to the specified number of blocks (p4).

• Parameters p2 to p4 are valid when p1 is set

to GET or GETNEW.

• If you omit p4, all blocks are specified.

• Set the first channel number and last channel

number parameters so that the last channel

number is greater than or equal to the first

channel number.

• For details on the output flow of the FIFO

data, see appendix 4.

FL

Outputs log, alarm summary,
and message summary

Syntax

FL p1,p2
p1: Log type

COM

Communications

FTPC

FTP client

ERR

Operation error

KEY

Key login

WEB

Web operation

EMAIL

E-mail

ALARM

Alarm summary

MSG

Message summary

p2: Maximum read length of the log

When p1 is COM

1 to 200

When p1 is ALARM

1 to 120

When p1 is MSG

1 to 100

When p1 is some type other than the above

1 to 50

Example

Output the ten newest operation error logs.

FLERR,10

Description • Outputs the log that is saved in the CX.

• If p2 is omitted, all written logs are output.

6.11 Output Commands (Setup, Measurement, and Computation Data Output)