When creating the equipment connection, most of the settings can be left as the default values for this tutorial. Use the following instructions to configure the equipment connection.
- On the Equipment Connections page, click on Create new Equipment Connection...
- On the Add Equipment Connection Step 1: Choose Type page, select Ethernet/HSMS Connection, and click Next.
- On the Equipment Connection page:
- Equipment Name - enter the equipment name (i.e., Equip_MySim).
- Enabled - default set to 'true'. Enables communication to the target equipment.
- Active IP Address - use the default of localhost.
- Active Port - use the default port number of 5000. The Active Port number must match the port number used in the simulator configuration setup (i.e., 5000).
- Passive IP Address - use the default of localhost.
- Passive Port - use the default port number of 5000. The Passive Port number must match the port number used in the simulator configuration setup (i.e., 5000).
- Connection Mode - use the default Active mode.
- Device ID - the default ID is 0. Each equipment requires a unique identifier, and must be an integer.
- Database Connection - enter the database connection name (i.e., SecsGem). This is the database name that was configured in Configuring the Database Connection step.
- Database Table Prefix - enter a table prefix (i.e., Sim_). This is the prefix that will be prepended to each of the database table names that are automatically setup when the connection is made. If no prefix is specified, the table will still get created. The advantage of using a prefix is it helps keep database tables organized, and it is used to differentiate one equipment's tables from another equipment's tables. It also allows you to filter a project based on the prefix.
- SECS Definition Language (SDL) File - use the default file messages.sdl. Validates sent and recieved messages.

- Once all the configuration settings are entered, click on the Create new Equipment Connection button. The Equipment Connection will try to connect to the simulator that you setup in Configuring the Simulator section. The window will refresh showing a status of "Connecting" until the equipment connection is created.
More information connecting to a tool can be found on the SECS/GEM Equipment Connections page.
Equipment Connection Status
The status of the Equipment Connection is shown in the Status column on the Equipment Connections webpage. When the status changes to "Communicating", the Equipment Connection successfully connected to the simulator.
