====== Ethernet Module ====== The Ethernet module provides TCP/IP capabilities to the MOACON. {{ :moacon:dp-ether:dpether.png?nolink |}} ^LED Descriptions^^ |TX | Transmit| |RX | Receive| |ERR | Data/IP Conflict| |FULL | Full duplex| |100M | 100Mb Ethernet Enabled| |LINK | Connection Status| ===== Network Connectivity ===== Ethernet devices are usually connected to one another through a hub or switch. Each device must have a unique MAC and IP Address. The hub/switch connects all devices to each other forming a local network. {{ :moacon:dp-ether:dpether1.png?nolink |}} If connecting several devices to the Internet, typically they all must traverse a gateway and/or router. The gateway/router has two ports: one connected to the Internet, and one connected to the local network. The gateway/router must have one unique MAC and IP address for the Internet port, and a separate MAC and IP address for the local network port. The gateway/router then brokers data back and forth between the Internet and the local network. {{ :moacon:dp-ether:dpether2.png?nolink |}} ===== TCP Client-Server Communication ===== TCP Client-Server communication is the typical method in which two nodes on a network communicate with one another. A server listens for a connection from a client. When a client connects, the server confirms the connection from the client. Once the connection is established, they can transmit and receive data to and from one another. {{ :moacon:dp-ether:tcpserver_connection.png?nolink |}} The following diagram illustrates how a network might look with a PC as a server, and several MOACONs as clients. {{ :moacon:dp-ether:tcpip2.png?nolink |}} ====== Installing Ethernet Module ====== Only one of Ethernet Module can be installed at a time. {{ :moacon:dp-comm2:specialmodule_location.png?nolink |}} As shown in the image above, Ethernet Module can be installed in any vacant slot on the 10-slot main board. Ethernet Module cannot be installed in the expansion boards. **WARNING: Do not plug or unplug modules while the power is on.** [[moacon:index|MOACON - Modular Programmable Automation Controller (PAC)]]