182
FINS Communications
Section 6-5
RESET: 0403
Reset the Ethernet Unit.
Command Block
Response Block
Precautions
No response will be returned if the command ends normally. A response will
be returned only if an error occurs.
In some cases, send requests (SEND/RECV instructions) made from the PLC
to the built-in Ethernet port just before execution of the RESET command may
not be executed.
Except for the FINS communications service sockets, all open sockets (for
sockets services) are closed immediately before resetting.
Response Codes
ETHERNET PORT CONTROLLER DATA READ: 0501
Reads the following data from the Ethernet port, PLC model, PLC version, IP
address, subnet mask, FINS UDP port number, mode settings, Ethernet
address.
Command Block
Response Block
Parameters
Model, Version (Response)
The PLC model and version are returned as ASCII characters occupying 20
bytes each (i.e., 20 characters each). If all bytes are not used, the remaining
bytes will be all spaces (ASCII 20 Hex).
Example Model:
CP1L-ETN21
Version:
V1.00
IP Address, Subnet Mask (Response)
The built-in Ethernet port’s IP address and subnet mask are returned as 4
bytes each.
FINS UDP Port Number (Response)
The built-in Ethernet port’s UDP port number for FINS is returned as 2 bytes.
04 03
Command code
Response
code
04 03
Command
code
Response code
Description
1001
Command too large
05 01
Command code
05 01
20 byte
20 byte
4 byte
Subnet
mask
4 byte
FINS UDP
port number
Mode
setting
6 byte
Ethernet address
Response
code
Command
code
Model
Version
IP address
Summary of Contents for CP1L-EL20DR-D
Page 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Page 4: ...iv...
Page 10: ...x...
Page 22: ...xxii...
Page 34: ...xxxiv Software Licenses and Copyrights 7...
Page 192: ...158 Trial Operation and Debugging Section 5 3...
Page 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Page 666: ...632 Trouble Shooting Section 11 7...
Page 696: ...662 Standard Models Appendix A...
Page 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Page 836: ...802 PLC Setup Appendix G...
Page 838: ...804 TCP Status Transitions Appendix H...
Page 840: ...806 Ethernet Network Parameters Appendix I...
Page 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Page 844: ...810 Ethernet Specifications Appendix K...
Page 851: ...Index 817 work words 118 write protection 447...
Page 852: ...818 Index...
Page 854: ...820 Revision History...
Page 855: ......