Chapter 7 Application Interface
7.7 Notes when changing from EN311
Please take note of the following when replacing the EN311 with the EN655 in case of a
communication application change.
The instruction words used by EN311 for socket communication are USEND_T/URCV_T while
・
EN655 uses USEND_N/URCV_N.
The module parameters of EN655 are set using the engineering tool. However, the parameter
・
setting commands and the router IP address setting request command supported by the EN311
cannot be used. Hence, when changing the application, these commands need to be deleted first.
Operation mode control of EN655 is done by the type1 light controller. The operation mode control
・
request supported by the EN311 cannot be used and thus need to be deleted.
The module reset request command supported by the EN311 is not supported. Instead, batch
・
close request command for sockets has been added for EN655. In case you want to reset all
user sockets, close all sockets with the batch close request command and then execute the socket
open process once more.
The command for reading RAS information supported by EN311 is already supported by the
・
"Read/clear system log" and "Read MIB information" function of the engineering tool and is thus
removed from EN655. When changing the application, these commands need to be deleted.
The IP address data byte in the instruction words for communication used by EN655 is stored in
・
little endian order. For instance, to assign an IP address of 192.168.0.16, 10H, 00H, A8H, C0H are
stored starting from the lower memory addresses.
The following is a comparison of the instruction word used by EN311 and EN655.
Table 7-4 EN311 USEND_T/EN655 USEND_N command comparison
Command details
Reset request
Parameter setting request
Operation mode control request
Station check request
Time setting request
Router IP address setting request
Sockets batch close request
PC link (register write request)
UDP open request
UDP send request/ send broadcast
UDP close request
TCP open request
TCP send request
TCP close request
6F8C1566
62
62
Command
EN311
EN655
(Reference)
○
16#0311
○
16#0312
○
16#0313
16#0314
○
16#0318
○
○
16#0319
16#031B
-
16#0321
○
16#0331
○
16#0332
○
16#0334
○
16#0335
○
16#0337
○
16#0339
○
Notes
-
There is no module reset
request. Sockets batch close
request was added instead.
-
Perform setting of the module
parameters using the
engineering tool.
-
Issued from the controller
F/W.
○
-
○
-
-
Perform setting of the module
parameters using the
engineering tool
○
Newly added
○
-
○
-
○
-
○
-
○
-
○
-
○
-