■
ET-LAN status information
Operand Data name Data to be stored
[D]
Connection status
summary
Lower word 0: Other than
connected
1: Connected
They are stored in the
corresponding bits as allocated
in the following table.
S1 to S4: System connection
U1 to U16: User connection
FTP-S: FTP server
[D+1] Higher word
[D+2]
OPEN status
summary
Lower word
0: Close
1: Open
[D+3] Higher word
[D+4]
OPEN abnormality
status summary
Lower word
0: No error
1: Error
[D+5] Higher word
[D+6]
Number of connections in-progress in
the FTP server
(Note 1) Correspondence between connections and bits for the connection status summary, OPEN status
summary, and OPEN abnormality status summary
Higher word Lower word
b15-
b9
b8
b7-
b4
b3 b2 b1 b0
b1
5
b1
4
b1
3
b1
2
b1
1
b1
0
b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
-
FTP-
S
-
U
16
U
15
U
14
U1
3
U
12
U
11
U
10
U
9
U
8
U
7
U
6
U
5
U
4
U
3
U
2
U
1
S
4
S
3
S
2
S
1
■
Program example
All the connection summaries for the built-in ET-LAN in the CPU unit are acquired and stored in
the 7-word area starting with DT10.
■
Flag operations
Name Description
SR7
SR8
(ER)
To be set in the case of out-of-range in indirect access (index modification).
To be set when the destination range is outside the accessible range.
The connection specified by UNITSEL does not exist, or the value is out of the range.
The parameter storage device specified by [D] is invalid.
17.1 RDET (ET-LAN Status Read)
17-4 WUME-FP7CPUPGR-12