# Configuring Protocols Window in a Virtual Station

Under the tab Protocols, in the Virtual Station menu, you'll find a list of available communication protocols depending on the current license in use. The Open Protocol is available for all licenses.

To gain access to functionality through Open Protocol, a unique port for each Virtual Station needs to be defined.

1. Set the Open Protocol switch to On.

2. Enter the Server port number.

3. Enter the PLC Index value between 1 to 6.

   PLC Index is used to map where in the shared memory the Open Protocol commands are to be written. The default value is 1 but it is possible to enter values 1 to 6

4. Choose the action to be applied when the connection to the client is lost.

   The Disconnect setting controls the action applied when a connection error occurs:

   - None - The tightening program continues normally.

   - Lock tool - The tool is locked after finishing the current tightening normally.

   - Unassign task - The tightening is aborted after finishing the ongoing task. Except for plain tightening programs or Batch sequences where the task will be removed after finishing.

   - Always lock tool - The tool is locked after finishing the current tightening, regardless of result.

5. Use legacy counter

   The legacy counter setting counts all tightenings in a sequence and outputs that number to secondary systems. To enable this setting, set Use legacy counter to Yes.

6. MID2500 loosening program

   This setting allows for the selection of a MID2500 loosening program from the list.

7. Tap or select Apply when ready.