![Crestron C2ENET-1 Operations & Installation Manual Download Page 20](http://html.mh-extra.com/html/crestron/c2enet-1/c2enet-1_operations-and-installation-manual_2683638020.webp)
2-Series Ethernet Interface Expansion Cards
Crestron
C2ENET-1/-2
another control system. Here the IP table of the PRO2 must contain just one entry for
the master control system.
Refer to the “Creating an IP Table” section within the latest version of the Crestron
e-Control
®
Reference Guide (Doc. 6052) for more information.
Example Program
An example program for the C2ENET-1/2 is available from the Crestron website
(www.crestron.com). Select Downloads | Example Programs | Miscellaneous | e-
Control 2.
Uploading a Program
Refer to a 2-Series control system document for uploading information.
TCP/IP Client and TCP/IP Server Symbols
In typical TCP/IP Terminology, a client connects to a server. Our server symbol can
handle only one connection to it. Since the sockets are generic TCP/IP, the client can
connect to any server (Crestron's TCP/IP Server symbol or any non-Crestron server)
and the server can accept a connection from any client (Crestron's TCP/IP Client
symbol or any non-Crestron client).
The server symbol “listens” for a connection on a particular socket, and a client
symbol is capable of connecting or disconnecting a socket. A socket is comprised of
an IP address and a port number. The IP address is specified in the IP table on the IP
ID where the symbol resides and the port number is specified in the symbol. For
example, if the server symbol is dropped on IP ID 15, and the IP table entry for IP ID
15 is 192.168.1.1, the server will listen for a connection from a 192.168.1.1 on the
port number specified in the symbol.
NOTE:
An IP address entry of
0.0.0.0
allows connection from any IP address. If the
IP table contains valid IP addresses, connection will be allowed only from the
specified addresses.
The following diagrams show the TCP/IP Client and the TCP/IP Server symbols in
SIMPL Windows.
Detail View of the TCP/IP Client Symbol in SIMPL Windows’ Programming Manager
The TCP/IP Client symbol enables TCP/IP communication between the control
system and a device that has a TCP/IP port. The symbol must be assigned the IP
address of the device, while the port address of the device must be entered in the
<
Port
> parameter of the symbol. Both the IP address and port should be found in the
manufacturer's documentation.
The symbol initiates the connection on the rising edge of <
Connect
>; when
communication is established, <
Connect-F
> goes high. Serial data can then be
16
•
2-Series Ethernet Interface Expansion Cards: C2ENET-1 & C2ENET-2
Operations & Installation Guide – DOC. 5962B