Mitsumi electronic NZ2GF-ETB ユーザーズマニュアル

ページ / 246
203
APPENDICES
A
Appendix 1  Buffer Me
mory Details
Appendix 1.3  Ethern
et port o
peration ar
ea
Appendix 1.3
Ethernet port operation area
(1) Initial processing error code (buffer memory address: 768 (300
H
))
(2) Connection information area No.1 (buffer memory address: 784 to 799 (310
H
 to 
31F
H
))
The initial processing result is stored.
0: Completed
Other than 0: Failed
Refer to the troubleshooting page describing the case where the INIT. LED turned off, and take action.
Address
Name
Description
784
(310
H
)
Open system
The specified open system is stored.
0: TCP Unpassive
1: TCP Fullpassive
3: UDP
785
(311
H
)
Protocol
The specified protocol is stored.
0: TCP
1: UDP
786
(312
H
)
Communication data code
The specified communication data code is stored.
0: Binary code
1: ASCII code
787
(313
H
)
Own Station Port No.
The port number specified for the own station is stored.
0000
H
: No setting
0401
H
 to 1387
H
, 1393
H
 to FFFE
H
: Own station's port
788
(314
H
)
TCP connection system
The specified TCP connection system is stored.
Valid only when the protocol is TCP.
0: Unpassive
1: Fullpassive
789
(315
H
)
Connection status
The current status is stored.
• When the protocol is TCP:
0000
H
: Disconnected (Connection disrupted)
0001
H
: Communicating (Connection established)
• When the protocol is UDP:
0000
H
: Error
0001
H
: Normal
790 to 791
(316
H
 to 317
H
)
System area
792
(318
H
)
Latest error code
The latest error code is stored.
0: No error
Other than 0: Latest error code
793
(319
H
)
Destination port No.
The port number of the external device on the other end is stored.
• When the protocol is TCP:
0000
H
: No setting, or disconnected (Connection disrupted)
Other than 0000
H
: Port No. of the external device with which the 
module is currently communicating
• When the protocol is UDP:
0000
H
: No setting, or no communication log in the past
Other than 0000
H
: Port number of an external device, with which the 
latest communication was made