Configure the Controller

  1. In the Project Explorer, right-click the controller and click Properties.
    The Controller Properties dialog box opens. (Figure 1)
  2. Configure the Controller

    Figure 1: Controller Properties dialog box

  3. In the IP Address text box, enter the IP address.

      • For the KAS Runtime Simulator, the IP address is fixed at 127.0.0.1 and cannot be changed.
      • The KAS-IDE supports accessing controllers configured using Fully Qualified Domain Names (FQDN) (e.g., 10.8.45.212.ip.net, kas-pcmm2g-01.lap.company.com), instead of raw IP addresses.
        • This enables seamless connectivity in environments where hostname-based access is required.
        • This capability is particularly beneficial in enterprise environments with remote or secure access configurations and for customers utilizing similar DNS-based setups.
  4. In the Project section:
    1. Optional: In the Version text box, specify a version number.

        • The version number string can be composed of any character.
        • Versioning is useful to make improvements to the application and if a version control system is needed.
        • The version is saved in the project file.
        • See Use a Version Control System.
    2. Optional: Select the Download project source to the controller check box to designate that the project's source code should be downloaded to the controller.
      • Clearing this check box means a comparison of source on the controller and in the KAS-IDE is not available.
      • By default, the check box is selected.
      • Your selection is saved with the project.
    3. Optional: Select the Enable PLC variable remote access check box to choose whether PLC variables are read and/or written using an HTTP connection.

        • This requires that the source be downloaded to the controller.
        • By default, this option is disabled so unauthorized changes cannot be made.

      • Recompile the project before downloading it to the controller.

  5. In the Modbus Configuration section:
    1. Select the Modbus option that matches the devices used in the application:
      • Dictionary (Kollmorgen Web HMI Panel) option button
        • Select this option when the controller exchanges Modbus data with a Kollmorgen Web HMI Panel.
          1. In the KAS-IDE Dictionary’s Variables tab, select the Web HMI check box for each PLC variable that must be available to the Web HMI panel. (Figure 5)
      • Fieldbus Editor (Other Modbus Devices) option button
        • Select this option when the controller communicates with Modbus devices other than Kollmorgen Web HMI Panels.
          1. Add a Modbus Slave in the Fieldbus Editor.
          2. Configure its communications settings.
          3. Assign the PLC variables that the controller exchanges with the connected Modbus devices.
        • The Web HMI check box is not active in the Dictionary when the Fieldbus Editor (Other Modbus Devices) option is selected. (Figure 4)

        • When the Dictionary (Web HMI Panel) text box is selected, the Modbus Slave configuration node is not available in the Fieldbus Editor. (Figure 2)
        • Figure 2: Example: Without Modbus

          Figure 3: Example: With Modbus

        • When the Fieldbus Editor (Other Modbus Devices) text box is selected, the Web HMI check box is not active in the Dictionary. (Figure 4)
        • Figure 4: Example: Dictionary Variables tab without the Web HMI check boxes

          Figure 5: Example: Dictionary Variables tab with the Web HMI check boxes

    2. In the Cycle Time (20 ms - 1000 ms) text box. define how often Modbus data is updated.
      • Use a shorter cycle time when the application requires faster data updates.
      • Use a longer cycle time to reduce communication and controller processing load.
      • Select a value appropriate for the response-time requirements of the connected device and application.
        See Modbus Slave.
  6. Click OK to save the changes or selections and close the dialog box.