40 Ethernet module User’s Manual
Chapter 4 Preparing for Operation (Software)
4
(2) Functions
• For the EN311, this is the function block to request module control, TCP/IP protocol,
and/or UDP/IP protocol communication.
• When an execution request(REQ) becomes TRUE(ON) from FALSE(OFF), the N
number of transmit data words will be routed from transmission data P with the
contents of the specified transmission command (CMD).
• The number of transmission data words, 1-1000 can be specified (It depends on the
socket service command).
• When the transmission completes, the completion output(DONE) becomes TRUE(ON)
for one scanning time and the corresponding socket number is displayed on the
STATUS.
• When the transmission ends with an error, the error(ERROR) becomes TRUE(ON) for
one scanning time and the error status(error description) is displayed on the STATUS.
The completion output (DONE) does not turn ON if an error occurs.
Socket Service Commands used by USED_T
Description Command
Reset request 16#0311
Parameter setup request 16#0312
Operating mode control request 16#0313
Remote station verification request 16#0314
Time set request 16#0318
Router IP address set request 16#0319
PC link (Register write request) 16#0321
UDP open request 16#0331
UDP send request/Broadcast transmission 16#0332
UDP close request 16#0334
TCP open request 16#0335
TCP send request 16#0337
TCP close request 16#0339