190
FINS Communications
Section 6-5
IP Network Address
The network ID from the IP address in hexadecimal. The network ID part cor-
responding to the address class (determined by the leftmost 3 bits) set here,
is enabled.
Router IP Address
The IP address (in hexadecimal) of a router connected to a network specified
with IP addresses.
Precautions
If the IP router table contains fewer records than the number specified in the
number of records parameter, all the records contained in the IP router table
when the command is executed will be returned and the command execution
will end normally.
Response Codes
6-5-7
CMND/SEND/RECV Instructions
CMND/SEND/RECV is the instruction to send FINS commands to other units.
In CP1L-EL/EM system, there is a new port that can be specified as destina-
tion unit. It is built-in Ethernet port of CP1L-EL/EM.
Use the low byte (bit 00 to bit 07) of the third control word of CMND instruc-
tion, or the low byte (bit 00 to bit 07) of the second control word of SEND/
RECV instruction, to specify built-in Ethernet port of CP1L-EL/EM as the des-
tination unit.
The unit address of built-in Ethernet port is 0xFA.
If user want to send FINS frame by Ethernet, please set command control
word Channel C+2 bit 08 to bit 11 to “0”. (Serial port is not used.)
Sample Program
Issuing a FINS command to built-in Ethernet port of another CP1L-EM/EL on
the network.
The following program shows an example of sending a FINS command to
built-in Ethernet port of another CP1L-EL/EM on the network.
When CIO 0.00 and A202.07 (the Communications Port Enabled Flag for port
07) are ON, CMND(490) transmits FINS command 0501 (CONTROLLER
INFORMATION READ) to built-in Ethernet port of CP1L-EL/EM on node num-
ber 3. The response is stored in D200 to D230.
The CONTROLLER INFORMATION READ command reads built-in Ethernet
port information. The response contains the 2-byte command code (0501),
the 2-byte completion code, and then the 29 words of information, for a total of
31 words or 62 bytes.
The data will be retransmitted up to 3 times if a response is not received
within ten seconds.
Response code
Description
0000
Normal
1001
Command too large
1002
Command too small
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: ......