# Configuring Protocols Window in a Virtual Station

Under the tab Protocols, in the Virtual Station menu, you will 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 ILM Protocol functionality, refer to the ILM Protocol User Guide.

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. Enter the Communication timeout value in seconds, between 15 and 60.

5. 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 ended 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.

6. 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.

7. MID0015 Echo selected identifier number

   This setting allows for responding the selected identifier number value in MID0015 PSET_SELECTED if MID0015 Echo selected identifier number set to Yes. Otherwise, the actual tightening program id is sent.

8. MID2500 loosening program

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

9. Tap or select Apply when ready.

As the default value for SoftPLC Index is always 1 and no checks are made to see if it is in use, there is a possibility that you may have configured the system so that the same index is configured several times when adding Virtual Stations. In this case, the Soft PLC will not be able to determine from which Virtual Station the incoming MID is originating from.