The -PORT argument is required when starting RoboDK if you want to specify the port. However, when you start RoboDK from the API it is better to use the port argument so the client API and RoboDK are both using the same port.
If you change the port range settings it allows each instance of RoboDK to use a different port. This port will be used by Python scripts triggered from RoboDK.
If you change the port range settings it allows each instance of RoboDK to use a different port. This port will be used by Python scripts triggered from RoboDK.