Technical FAQs

Ask a Question

Setting Up IO Scanning in a M340 BMXNOE0100.

Goals and Symptoms

BMX NOE 0100 & IO Scanning
IO Scanning from a BMX NOE 0100 to a BXM P34 2030 M340 PLC.

 

Causes and Fixes

Note: In M340 IO scanning can only be done through the NOE module. The embedded Ethernet port on the processors does not support IO scanning.

Open you Unity M340 project and in the Project Browser under Communications right Click on Networks and choose New Network...





For the List of available Networks pick Ethernet and give the network a name (default is Ethernet_1)
Note: If the NOE is not in the configuration or the chosen M340 PLC does not have and Ethernet port then Ethernet will not be and available network in the list.




Next open the Ethernet Network to configure it. Make sure the Model Family lists the NOE module not the PLC. Under Module Utilities choose YES for IO Scanning.
Configure the IP parameters according to your network topology.



Click on the IO Scanning tab to fill out the IO Scanning table. The M340 IO Scanner Table is modeled after Premium not Quantum therefore all read/write address need to be consecutive.

1) Under the Master %MW Zone choose the Read and Write Ref start points. These will be the starting register addresses (Master Objects) in the M340 to which data will be Read to or Written from.
2) Fill out the slave IP address, Unit ID, Health Timeout, and Rep rate according to your specifications.
3) Fill out the Slave Indexes and Read/Write length. Note that as you fill out the Length the To field of the Master %MW zones is automatically updated.

The Example below show that the NOE will be Reading 10 consecutive words from %MW0 in the slave to %MW0 in the M340 as well as Writing 10 consecutive words from %MW100 in the M340 to %MW55 in the slave. Note: Because the Read and Write are on the same line the NOE will perform a Function Code 23. If the slave device does not support function code 23 then the read and write will need to be on separate lines of the IO Scanner table.



Next the Network needs to be linked to the NOE. To do this first open the configuration and Double Click on the NOE module.



Finally in the NOE configuration click on Channel 0 chose ETH TCP IP as the function and Your Network Name (default Ethernet_1) as the Net Link.



Build and download the project to the PLC.

 


Legacy KB System (APS) Data: RESL187358 V1.0, Originally authored by MiMe on 08/02/2007, Last Edited by MiMe on 08/02/2007
Related ranges: Modicon M340
Was this helpful?
What can we do to improve the information ?