94
3.3.6 How to establish the communication between new Ethernet CPUs?
We can make the Ethernet connection based on the TCP connection or UDP connection. We can see the
communication with 2 steps operation.
Step 1: Configure and create the connection(TCP pr UDP)
Each CPU has 8 TCP connections, it can be work both tcp server and tcp client, so a lot of CPUs can be
connected in a network. Regarding to how to configure the connection, we will explain in following chapter.
Step2 : Programming and make the data transmission
We need use the function block “Modbus read and write” function block is the master CPU. The TCP server or
the TCP client CPU can work as master or slave. It totally decide by yourself. Following chapters we will use
examples to explain how to create the communication between 2 Ethernet CPUs.
Example1: One master CPU(TCP server) connect with 3 slave CPUs(TCP Clients)
The connection sketch:
Содержание EXM-12DC-DA-R-HMI
Страница 15: ...15 Application 2 Home Security Application 3 Remote monitoring of product level in a tank...
Страница 32: ...32 Note This command is only for 2G version unit it is unavailable for 4G version unit MsgI01 MsgI02...
Страница 35: ...35 How to change the phone book include phone number and Email address Only for 4G version...
Страница 38: ...38...
Страница 49: ...49 Step C Download voice section Click menu Tool Record Click Hardware Detect button...
Страница 66: ...66 You can read the parameters from the PLC...
Страница 68: ...68...
Страница 75: ...75 Modbus Poll works as TCP client...
Страница 78: ...78 TCP Sever 192 168 0 227 port 8004 is ok TCP Sever 192 168 0 227 port 8005 is ok...
Страница 79: ...79 TCP Sever 192 168 0 227 port 8006 is ok TCP Sever 192 168 0 227 port 8007 is ok...
Страница 80: ...80 TCP Sever 192 168 0 227 port 8008 is ok TCP Sever 192 168 0 227 port 8009 is ok...
Страница 84: ...84 3 Click Read button to read web server configure The default configuration is as follows...
Страница 102: ...102 Slave1 IP 192 168 0 101 TCP server port 8001 Slave2 IP 192 168 0 102 TCP server port 8002...
Страница 103: ...103 Slave3 IP 192 168 0 103 TCP server port 8003 Step 2 Program in master and slave...
Страница 115: ...115 Slave1 IP 192 168 0 101 UDP Server port 8001 Slave2 IP 192 168 0 102 UDP Server port 8002...
Страница 116: ...116 Slave3 IP 192 168 0 103 UDP Server port 8003 Step 2 Program in master and slave Master program...
Страница 128: ...128 Network settings You can view the network parameters in such table...
Страница 135: ...135 3 Select Ethernet option 4 To search PLC s IP by clicking Search button...
Страница 143: ...143 B001 Transfer the I1 I4 status from the master to the Q1 Q4 of the slave1 Setting as follows...
Страница 144: ...144 B002 Transfer the I1 IA status from the master to the Q1 QA of the slave2 Setting as follows...
Страница 145: ...145 B005 Read the I1 I4 status from the slave1 to the F11 F14 of the master Setting as follows...
Страница 146: ...146 B006 Read the I1 IA status from the slave2 to the F21 F24 of the master Setting as follows...
Страница 147: ...147 B009 Read the AF1 value from the slave1 to the AF1 of the master Setting as follows...
Страница 148: ...148 B010 Read the AF1 value from the slave2 to the AF2 of the master Setting as follows...
Страница 156: ...156 Manual programming menu How to program via keypad Please refer to the chapter 5 for more detail...
Страница 259: ...259 C Analog input value of ELC 12 CPU and extensions D Analog output value of CPU and extensions...
Страница 260: ...260 E F digital flag status F AF analog flag value...
Страница 261: ...261 G M status H AM value...
Страница 263: ...263 C Press ok for 3 seconds and enter into edit mode D Modify value by pressing arrow keys and confirm with OK key...
Страница 332: ...332 For example If the Memory Read block had been triggered the Q1 of ELC 12 CPU will be set 1...
Страница 359: ...359 6 5 52 Comparison of 2 values Short Description The COMPARE function is used to compare two analog values...
Страница 395: ...395 Right click Q2 and then click Set Output State Click OK button and the Q2 of x Messenger will be turned off...
Страница 398: ...398 4 Click to transfer data into one excel file it contains AI1 AQ number value and the corresponding time...
Страница 411: ...411 Establish the communication between eSmsConfig and EXM WIFI Unit...
Страница 412: ...412 Two communication modes available A EXM WIFI unit works as server eSmsConfig works as client...
Страница 413: ...413 B EXM WIFI unit works as client eSmsConfig works as server eSmsConfig com settings Web page settings of wifi module...
Страница 422: ...422 The default settings of HF A11 is closed if you want to use the LAN port please select open AP setting item STA item...
Страница 426: ...426 7 6 How to configure WIFI connection TCP protocol among EXM WIFI CPUs...
Страница 430: ...430 B001 Transfer the I1 I4 status from the master to the Q1 Q4 of the slave1 Setting as follows...
Страница 431: ...431 B002 Transfer the I1 IA status from the master to the Q1 QA of the slave2 Setting as follows...
Страница 432: ...432 B005 Read the I1 I4 status from the slave1 to the F11 F13 of the master Setting as follows...
Страница 433: ...433 B006 Read the I1 I4 status from the slave2 to the F21 F23 of the master Setting as follows...
Страница 434: ...434 B009 Read the AF1 value from the slave1 to the AF1 of the master Setting as follows...
Страница 435: ...435 B010 Read the AF1 value from the slave2 to the AF2 of the master Setting as follows...
Страница 436: ...436...