Configure a digital output pin on a Z45 Controller

You can configure an output pin for digital data.

  1. Log into the Z45 Controller's web UI.

  2. In the Output Type column, click on a Disabled button.

    Note An output pin with an output type other than Disabled has already been configured and can be updated.

  3. At the top of the page, click Digital.

  4. Configure the settings as described in the tables below.

    Digital Output Destination

    Item Description

    Destination

    Select a destination option for the calculated output value.

    • Digital Output x: Virtual output pin. The number in the option corresponds to the output pin number. this is the default.

    • Onboard Digital 1: Physical output pin.

    • Onboard Digital 2: Physical output pin

    • Set Low Power: Sets the Z45 Controller in low power mode.

    • TWIG Protocol: Select if you are using this protocol.

    General Pin Options

    Item Description

    Initial Value

    Select an initial value for the output pin. This value is used until an output value has been calculated.

    • Last: The last calculated output value.

    • Off: Set the initial value to 0 (Off).

    • On: Set the initial value to 1 (On).

    • Actual Value: Recalculate the output value given the updated settings.

    State

    Select the status for the output pin. The selected status displays until the output value has been calculated.

    • On: Set the output pin status on.

    • Off: Set the output pin status off. This is the default.

    Shutoff Timer

    This is used in conjunction with the State list box if the On option is selected.

    Enter a time interval in the Shutoff Timer field that determines when the option in the State list box changes from On to Off.

    Options:

    • 0: No change occurs.

    • Number greater than 0: Enter a time interval greater than 0. When the time interval is met the State list box changes from On to Off. The time is measured in seconds.

    On Program

    When the output pin is in the On state, the selected program runs.

    Click the Add Program icon next to the field to add a program.

    Off Program

    When the output pin is in the Off state, the selected program runs.

    Click the Add Program icon next to the field to add a program.

    Logging Options

    Item Description

    Log

    Determine whether you want to log change events the occurred on the output pin. The changes are logged to the device.

    • Disable: Changes are not logged. This is the default.

    • Enable: Changes are logged.

    MQTT Publish

    Determine whether you want to publish the messages when the device connects to the broker.

    • Off: The current input does not publish an MQTT message.

    • Auto: The MQTT message is delivered using the topic structure defined by the device. For example, the device may use the MAC address to define the device:

      <MAC Address>/input/1

    where <MAC Address> is the MAC address for the device

    • Defined Topic: The MQTT message is delivered with a user-defined topic. When you choose this option, the Topic field displays, in which you can enter a topic name. The topic Off is entered by default.

    MQTT Subscribe

    Determine whether you want to subscribe to MQTT messages.

    • Off: The current input does not subscribe to an MQTT message.

    • Auto: The MQTT message is delivered using the topic structure defined by the device. This uses MAC address to define the device. For example, the device may use the MAC address to define the device:

      <MAC Address>/input/1

    where <MAC Address> is the MAC address for the device

    • Defined Topic: The MQTT message is delivered with a user-defined topic. When you choose this option, the Topic field displays, in which you can enter a topic name. The topic Off is entered by default.

    Display Options

    Item Description

    Output Name

    Enter a descriptive name for the output source. The name should be unique.

    [ON Label]

    Enter a label that describes the "on" state of the output pin. This label displays on the Digi Axess pages and graphs. This label works with the [OFF] Label.

    For example, the [ON] and [OFF] labels could say HIGH and LOW, or ON and OFF.

    [OFF Label]

    Enter a label that describes the "off" state of the output pin. This label displays on the Digi Axess pages and graphs. This label works with the [ON] Label.

    For example, the [ON] and [OFF] labels could say HIGH and LOW, or ON and OFF.

    [ON] Indicator

    Specify whether an indicator for the [ON] status of the output should display. The status displays as a colored dot on the Device Summary page and the Automation Dashboard.

    • No color: A colored indicator does not display.

    • Red, Green, Yellow, or Blue: Choose a color that is meaningful to your organization to represent the [ON] status.

    [OFF] Indicator

    Specify whether an indicator for the [OFF] status of the output should display. The status displays as a colored dot on the Device Summary page and the Automation Dashboard.

    • No color: A colored indicator does not display.

    • Red, Green, Yellow, or Blue: Choose a color that is meaningful to your organization to represent the [OFF] status.

    Scheduler

    Determines the status of the Scheduler.

    • Disabled: The scheduler is disabled. This is the default.

    • Enabled: The scheduler is enabled.

    Local Display Group

    From the Local Display Group list box, select a local display group in which the data from this output pin should be included. The group displays on the Automation Dashboard. The group displays locally and is in addition to what displays from the web UI.

    Options:

    • 00 - Off: No local display group is selected to display.

    • 01 - {name} to 24 - {name}: Select a local display group in which the data from this pin should be displayed. See Configure the local and remote dashboard groups for information about naming and displaying the local display groups.

    Remote Access Options

    Item Description

    Remote Display Group

    Select the name of the group that displays the result of a calculated formula on the Automation Dashboard.

    • 00 - Disabled: A remote display group does not display.

    • 01 - {name} through 24 - {name}: Select a remote display group in which the data from this pin should be displayed. See Configure the local and remote dashboard groups for information about naming and displaying the remote display groups.

    Remote Display Sources

    Specify the platform(s) on which the user can view the group on the Automation Dashboard.

    • Cloud Only: The Z45 Controller web UI or Digi Axess. This is the default.

    • Phone Only: The Digi Axess Mobile app.

    • Cloud/Phone: The Z45 Controller web UI, Digi Axess, or the Digi Mobile application.

    Remote Control

    Specify whether users can change the value of an output from Digi Axess or the Digi Mobile app.

    • Disabled: Do not allow changes. This is the default.

    • Enabled: Changes are allowed.

  5. Click Enable. A confirmation dialog displays.

  6. Click OK. Click Back to return to the Output Configuration page.