Examples of Modicon M340 Communication EFs Addressing
(Original Document)
At a Glance
The multi-network addressing available on Modicon M340 PLCs is described below.
Example 1
The first example is a multi-network configuration as follows:
In the diagram above there are the following configurations:
All the configurations can communicate because of the following statements:
Example 2
The second example is a multi-network configuration as follows:
In the diagram above there are two Modicon M340 configurations which are called A and B. The configuration B is directly connected to the Modbus device 1 via Modbus communication channel.
Communication between the two Modicon M340 PLCs is possible because the configurations are linked to the same Ethernet network.
Communication between the configuration A and the Modbus device 2 is possible only if you use an Ethernet/Modbus gateway. In case of it is a CANopen device, an Ethernet/CANopen gateway is required.
NOTE: To address the CANopen device or the Modbus device 2 on the configuration A you must use the following syntax : ADDM('Netlink{hostAddr}node'), the gateway being identified with hostAddr field. For example, if the Netlink is set to Ethernet_1, the gateway address is 139.160.234.64 and the slave number of the device is set to 247, the syntax of the ADDM function is as follows: ADDM('Ethernet_1{139.160.230.64}247')