Output Commands - YOKOGAWA GX10 User Manual

Gx series; gp series; gm series; smartdac+ communication command
Hide thumbs Also See for GX10:
Table of Contents

Advertisement

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
A200
A001
C500
C001
A200
A001
0001
For the ASCII output format, see
For the binary output format, see
FRelay
Outputs the Most Recent Relay and
Internal Switch Status
Outputs the most recent relay (DO Channel) and internal
switch status.
Syntax
FRelay,p1
p1 Output information
The most recent relay (DO channel)
0
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
2-94
0001 to 9999, A001 to A200
A001 to A200, C001 to C500
Not allowed (will result in
error)
Not allowed (will result in
error)
page
2-121.
page
2-177.
page 2-122
page
2-124.
or
FTransStatAO
Latest Re-transmission State Output
Outputs the latest re-transmission (AO channel) state
Syntax
FTransStatAO,p1
p1 Fixed to 0
Example Output the re-transmission state.
FTransStatAO,0
Description
For the output format, see
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 or 2)
p3 First channel
P4 Last channel
p5 Read start position (-1, 0 to
999999999999)
-1 The most recent read position
p6 Read end position (-1, 0 to
999999999999)
-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 or 2)
Example Acquire the current readable range.
FFifoCur,1,1
Description
For the binary output format, see
p2 = 2 is valid when the measurement mode is set to
dual interval.
page
2-124.
page
2-180.
IM 04L51B01-17EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm10Gx20Gp20Gp10

Table of Contents