
2.6 Communications with a Mitsubishi PLC (A-compatible 1E Frame protocol)
Message Functions
2-119
Ethernet Communications
Status 1 (PARAM04)
This parameter gives status information.
Note: The status is updated when the function is executed in each scan.
Status 2 (PARAM05)
This parameter gives information on the most recent error.
Note: The status is updated when the function is executed in each scan.
Status 3 (PARAM06)
This parameter gives the value of the send pass counter.
Note: The status is updated when the function is executed in each scan.
Status 4 (PARAM07)
This parameter gives the value of the receive pass counter.
Note: The status is updated when the function is executed in each scan.
Status 1 Value
Meaning
Description
1
IDLE
The connection is idle.
2
WAIT
The connection is waiting to be made.
3
CONNECT
The connection is established.
−
−
−
Status 2 Value
Meaning
Description
0
No error
Normal
1
Socket Creation Error
A socket could not be created.
2
Local Port Number Error
Setting error in local station port number
3
Changing Socket Attribute Error
A system error occurred while setting the socket attri-
bute.
4
Connection Error
M-SND: The remote station rejected an attempt to
open a TCP connection.
5
Connection Error
M-RCV: An error occurred while passively opening a
TCP connection.
6
System Error
A socket polling error occurred while receiving data.
7
TCP Data Send Error
The remote station does not exist.
8
UDP Data Send Error
The data send request command was sent to a socket
that does not exist.
9
TCP Data Receive Error
A disconnection request was received from the remote
station.
10
UDP Data Receive Error
A data receive request was executed for a socket that
does not exist.
11
Changing Socket Option Error
A system error occurred while changing the socket
options.
12
Data Conversion Error
Error in protocol conversion
Status 3 Value
Meaning
Description
0 to 65535
Send Count
Counts the number of times a message was sent.
Status 4 Value
Meaning
Description
0 to 65535
Receive Count
Counts the number of times a message was received.