Ethernet communication with MELSEC PLC must create TCP/IP ( or UDP/IP ) Ladder routime.
Note) This setting example mainly explains about AJ71E71/A1SJ71E71 communication module.
<Figure 1> is concept of Melsec ethernet communication.
At <Figure 1>, = fixed buffer, maximum connection of master( computer ) = 8.
<Figure 1> Concept of Melsec ethernet communication |
Setting of ethernet communication module are as follows :
2.1 DIP switch setting
<Figure 2> is DIP switch setting for AJ71E71 ethernet communication.
<Figure 2> DIP switch setting for AJ71E71 ethernet communication |
2.2 Operation mode setting
<Figure 3> is DIP switch setting of operation mode.
( operation mode = always set to ¡®0¡¯ )
<Figure 3> DIP switch setting of operation mode |
<Table 1> is I/O signal between CPU and ethernet module. ( when the ethernet module installed at '0' slot )
<Table 2> is buffer memory address.
<Table 1> I/O signal between CPU and ethernet module
<Table 2> Buffer memory address
Ladder setting for Melsec ethernet communication are as follows :
4.1 Inital setting( when installed '0' slot )
<Figure 4> is example of inital setting when the ethernet module installed at '0' slot.
<Figure 4> Example of inital setting |
4.2 Open setting for Port 1
<Figure 5> is example of open setting for Port 1 when the ethernet module installed at '0' slot.
<Figure 5> Example of open setting for Port 1 |
4.3 Close setting when an error occurs
<Figure 6> is example of close setting when an error occurs for the ethernet module installed at '0' slot.
<Figure 6> Example of close setting when an error occurs |
4.4 Open method of 2 or more Port
<Figure 7> is open method diagram of 2 or more Port. ( maximum port = 8 )
<Figure 7> Open method diagram of 2 or more Port |