根據(jù)EM277上的撥位開關(guān)設(shè)定以上EM277從站的站地址.
組態(tài)完系統(tǒng)的硬件配置后,將硬件信息下載到s7-300的PLC當(dāng)中.S7-300的硬件下載完成后,將EM277的撥位開關(guān)撥到與以上硬件組態(tài)的設(shè)定值一致,在S7- 200中編寫程序?qū)⑦M(jìn)行交換的數(shù)據(jù)存放在VB0 — VB15,對(duì)應(yīng)S7-300的PQB0-PQB7和PIB0- PIB7,打開STEP7中的變量表和STEP7 MicroWin32的狀態(tài)表進(jìn)行監(jiān)控.
注意:EM277上撥位開關(guān)的位置一定要和S7 — 300中組態(tài)的地址值一致。
3.S7-200和S7-300進(jìn)行以太網(wǎng)通信

Set the station address of the above EM277 slave station according to the dial switch on EM277
After configuring the hardware configuration of the system, download the hardware information to the S7-300 PLC After the hardware download of S7-300 is completed, turn the dial switch of EM277 to be consistent with the set value of the above hardware configuration, write a program in S7-200, store the exchanged data in vb0-vb15, corresponding to pqb0-pqb7 and pib0- pib7 of S7-300, and open the variable table in STEP7 and the status table of STEP7 microwin32 for monitoring
Note: the position of the dip switch on EM277 must be consistent with the address value configured in S7-300.
3. Ethernet communication between S7-200 and S7-300







客服1