The multi-network addressing available on Modicon M340 PLCs is described below.
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:
-
A and B: communication between two Modicon M340 PLCs on an Ethernet network is possible.
-
A and C: communication between a Modicon M340 PLC and a Premium PLC is possible on an Ethernet network.
-
A or C, and D: communication between two Modicon M340 PLCs or between a Modicon M340 PLC and a Premium PLC on Ethernet multi-network is possible. An IP router is required.
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')