본문으로 건너뛰기
버전: v5.x.y

Exercise

Exercise: Displaying Multiple Pages with Page Link

Please follow the below exercise to understand how to use the Page Link object.

Configuration

The following configuration is used to set up this exercise.

Page Configuration

  1. Create the following pages under the Project Tree:
    1. Overview
    2. Datalogger
    3. Information

Tag Configuration

  1. Create the following tags:
    1. Temperature
      • Data type: INT (INT16)
      • Initial value: 0
    2. Pressure
      • Data type: INT (INT16)
      • Initial value: 0
    3. Speed
      • Data type: INT (INT16)
      • Initial value: 0

Data Logger Model Configuration

  1. Create the following data logger model under Tools > Data Log Editor:
    1. Temperature Log
      • Logging Options: Periodic
        • Hours: 0
        • Minutes: 0
        • Seconds: 5
        • Milliseconds: 0
      • Tag List: Temperature

Datalogger Page Configuration

  1. On the Datalogger page, go to Insert > Data Log Table or click the Insert Data Log Table icon on the toolbar.

    Click and drag the Data Log Table to resize it, then set its data logger model to Temperature Log.

Information Page Configuration

  1. On the Information page, insert three Numeric Display objects.

    Bind each Numeric Display's Value property to a tag: Temperature, Pressure, and Speed.

  1. On the Overview page, go to Insert > Page Link, then click and drag to create the Page Link object.

    Set the object's Page Name property to Datalogger.

  2. Repeat the same steps for the Information page.

    Set the object's Page Name property to Information.

Project Deployment

  1. Click Tools > Launch Online Simulator to launch the Canvas Online Simulator.

  2. On the Overview page, confirm that the Datalogger page is displayed within the Page Link object, showing the logged Temperature values.

  3. Also verify that the Information page displays all three values: Temperature, Pressure, and Speed.