beautypg.com

5 output commands, Output commands -44, Fdata outputs the most recent channel data – Yokogawa Touch Screen GP20 User Manual

Page 58: Ffifocur outputs channel fifo data, Fsnap snapshot, Fuser outputs the user level

background image

2-44

IM 04L51B01-17EN

2.5 Output Commands

FData

Outputs the Most Recent Channel Data

Outputs the most recent I/O channel, math channel, and

communication channel data.

Syntax FData,p1,p2,p3

p1 Output format

0 The most recent data in ASCII format

1 The most recent data in binary format

p2 First channel

p3 Last channel

Example Output the most recent data of channels 0001

to 0020 in ASCII format.

FData,0,0001,0020

Description
If you omit p2 and p3, all channels will be output.
Channel ranges whose first channel and end channel

are different channel types are interpreted as follows:

First Channel Last Channel Setting

0001

A100

0001 to 9999, A001 to A100

A001

C300

A001 to A100, C001 to C300

C001

A100

Not allowed (will result in

error)

A001

0001

Not allowed (will result in

error)

For the ASCII output format, see

page 2-57

.

For the binary output format, see

page 2-83

.

FRelay

Outputs the Most Recent Relay (DO

Channel) and Internal Switch Status

Outputs the most recent relay (DO Channel) and internal

switch status.

Syntax FRelay,p1

p1 Output information

0 The most recent relay (DO channel)

status in ASCII format

1 The most recent internal switch status

in ASCII format

Example Output the relay (DO channel) status.

FRelay,0

Description
For the output format, see

page 2-58

or

page 2-59

.

FFifoCur

Outputs Channel FIFO Data

Outputs the I/O channel, math channel, and

communication channel FIFO data.

Acquire the FIFO Data

Syntax FFifoCur,p1,p2,p3,p4,p5,p6,p7

p1 FIFO data output (0)

p2 Scan group (1)

p3 First channel

P4 Last channel

p5 Read start position (-1, 0 to 99999999999)

-1 The most recent read position

p6 Read end position (-1, 0 to 99999999999)

-1 The most recent read position

p7 Maximum number of blocks to read (1 to

9999)

Example Read the measured data of channels 0001 to

0020. Set the read start position to 180 and the

read end position to the most recent position.

Set the maximum number of blocks to read to

9999.

FFifoCur,0,1,0001,0020,180,-1,9999

Acquire the FIFO Data Read Range

Syntax FFifoCur,p1,p2

p1 FIFO read range output (1)

p2 Scan group (1)

Example Acquire the current readable range.

FFifoCur,1,1

Description
For the binary output format, see

page 2-86

.

FSnap

Snapshot

Outputs a snapshot data (screen image data) file.

Syntax FSnap,p1

p1 Screen image data output (GET)

Example Acquire screen image data.

FSnap,GET

Description
A PNG image file will be stored in the data block of the

binary output file (see

page 2-55

).

FUser

Outputs the User Level

Outputs information about the users who are currently

logged in.

Syntax FUser,p1

p1 Information about the users who are

currently logged in

0 Refer to your own user information.

1 Refer to information about all users

who are currently logged in.

Example Refer to information about all users who are

currently logged in.
FUser,1

Description
For the ASCII output format, see

page 2-60

.

This manual is related to the following products: