6-9
IM 04L57B01-01JA
GX/GP/GM Communication Commands
1
2
3
4
5
6
App
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.
FData,0,C001,C005
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
0001 to 9999, A001 to A200
A001
C500
A001 to A200, C001 to C500
C001
A200
Not allowed (will result in
error)
A001
0001
Not allowed (will result in
error)
•
For the ASCII output format, see section 6.6.2, “Most
Recent Channel Data (FData)” on page 6-13.
•
For the binary output format, see section 6.7.1, “Most
Recent Channel Data (FData)” on page 6-19.
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
6.4
Output Commands
FWUnitConf
Wireless input unit configuration output
Retrieves the wireless input unit configuration and
performs reconfiguration, maintenance, restore, and
activation.
Syntax
FWUnitConf,p1,p2
p1
Retrieve, reconfigure, maintenance,
restore, activate
0
Retrieve
• Sets the GX70SM assigned to
the coordinator to the connected
GX70SM.
1
Reconfigure
• Sets the connected GX70SM to the
recognized unit.
2
Maintenance (pause)
• Pauses time-out detection.
3
Maintenance (resume)
• Resumes time-out detection.
4
Restore
• Manual restores the disconnected
state.
5
Activate
• Aligns the content of the connected
GX70SMs with the recognized
GX70SMs.
p2
Wireless input unit number
GX20-1/GP20-1/GM10-1: 01 to 50
GX20-2/GP20-2/GM10-2: 01 to 96
Example
Output the unit configuration of wireless input
unit number 1.
FWUnitConf,0,01
Description
•
Omitting p2 is equivalent to specifying all GX70SMs.
•
p5 is valid when the advanced security function (/AS)
is enabled.
•
When recording, computing, controlling, or user
restricted state, reconfiguration (0) does not work.
•
For the ASCII output format, see section 6.6.1,
“Wireless Input Unit Configuration Output
Summary of Contents for GX70SM
Page 1: ...User s Manual IM 04L57B01 01EN 1st Edition Model GX70SM Wireless Input Unit User s Manual ...
Page 2: ......
Page 12: ...Blank ...
Page 148: ...Blank ...
Page 168: ...Blank ...