This video demonstrates how to configure the Modbus TCP IO Scanner for M221 and shows the different addresses we use to read and write from the remote devices. Similar concept can be used with the rest of the OEM controllers with miner different tweaks. In the Modbus TCP area to the right,
Tick the Modbus TCP IOScanner checkbox to Activate it then Enter the IP Address of your remote Ethernet server - in our example, we are using 192.168.0.100 afterwards click Add - this will create a Device Row representing your device and a set of addresses to read to, write from, or both. Click on the ellipses button under the "Channels" column. Clicking the ellipses button will bring up the Channel Assistant screen. In the Message Type dropdown, you can choose various Modbus function codes. Here are the supported Modbus function codes on the M221. We will use Function Code 23 0x17 Read and Write registers. In our example, we will keep it as Read/Write multiple words.
Let’s say we have a Remote I/O Device that has 10 Analog inputs at %MW0 to %MW9 and 10 Analog Outputs at %MW10 to %MW20, we would set up the offset and lengths accordingly. Now, go to the Programming Tab on the top bar. Under the Tools-- Network objects, select Input registers IOScanner In this screen, we can see the Input registers represented as %IWN300.0.0 to %IWN300.0.9. We can also assign a Symbol name a.k.a. Variable name or Tag name in the corresponding cell under the SYMBOL column to each 16-bit WORD address. Conversely, if you click on Tools-- Network objects, select Output registers IOScanner and we can see that the Output Words have addresses %QWN300.0.0 to %QWN300.0.9.
►Click here to subscribe to Schneider Electric: [ Ссылка ]
Connect with Schneider Electric:
►Global Website: [ Ссылка ]
►Discover our Services: [ Ссылка ]
►Visit our Blog: [ Ссылка ]
►Gain Insights: [ Ссылка ]
►Job Opportunities: [ Ссылка ]
►LinkedIn: [ Ссылка ]
►Facebook: [ Ссылка ]
►Twitter: [ Ссылка ]
►Instagram: [ Ссылка ]
![](https://s2.save4k.ru/pic/ebbjWj_zxS8/maxresdefault.jpg)