Digital Output Configuration (Release 3.3 and Prior)
For SmartServer 3.4 and higher, see Digital Output Configuration.
You can specify the output mode for each of the six IOX digital outputs and configure each output to operate in one of the following modes:
- Level – the output is either on or off. You can specify non-inverted or inverted logic. The default is non-inverted logic where a true value results in an output pull-down to ground, and a false value results in floating output that can have an external pull-up for a positive voltage output. You can specify non-inverted logic where a true value results in a floating output and a false value results in an output pull-down to ground. In practice, the level type digital output will drive an external DC relay coil where there is an external power supply, positive voltage connected to one side of the coil, and the digital output will complete the circuit to a common ground when the level is true.Â
- Pulse – the output pulses from off to on to off on request with a specified duration. This output type does not support inverting the pulse. Â
- Frequency – the output toggles at a specified frequency. This output type does not support inverting the signal.
- PWM – the output toggles at a specified frequency with a specified duty cycle. This output type does not support inverting the signal.
This section consists of the following:
Level Mode
You can configure a digital output as a level that can be on or off with non-inverted or inverted logic. To select level mode, set the do block mode datapoint type value for the digital output to level and select non-inverted or inverted logic by setting the invert value to false or true.
You can control the digital output level by creating a connection to another datapoint with a connection file, by updating the datapoint from a Sequencing widget data flow or web flow, or by writing to the digital output block using the CMS Datapoint Browser. (See Testing Devices and Managing Datapoints for more information about using the Datapoint Browser widget.) Â
To configure the digital output as a level output or to control the level output with the CMS Datapoint Browser, perform the following steps:
Open the Datapoint Browser.
Note:Â To best view all of the information on this widget, click the Expand button (Â
 ).Â- Set the filters to find and select the IOX digital output block:
- Device: iox[1-n] – the first installed IOX will be iox1, the second will be iox2, etc.
- Block Name: do
- Block Index: 1 – 6 for digital output (DO) 1 through 6Â
To configure the digital output as a level output, perform the following steps:
- Click the Action button () for the mode datapoint on the Datapoint Browser widget and select the Edit Value action.
- Set the mode datapoint type value to level.
- Set the mode datapoint invert value to false to select non-inverted logic with a true output specifying a low output, or set invert to true for inverted logic with a true output specifying a positive output.
- Click SAVE.
To set the output level using the CMS Datapoint Browser, perform the following steps:
- Click the Action button () for the output datapoint on the Datapoint Browser widget and select the Edit Value action.
- Set the output datapoint level value to true or false. The level value controls the specified digital output as follows:Â
- If the mode invert value is false, setting the level value to true will set the digital output to on and setting the level value to false will set the digital output to off.
- Click SAVE.
- The digital output also supports an input named switch, which provides a parallel control mechanism using SNVT_switch formatted data. This may simplify connecting the digital output control with LON devices that commonly use this format.
Pulse Mode
You can configure a digital output to send a pulse when it receives a pulse request. To select pulse mode, set the do block mode datapoint type value for the digital output to pulse. Â
You can control the digital output pulse by creating a connection to another datapoint with a connection file, by updating the datapoint from a Sequencing widget data flow or web flow, or by writing to the digital output block using the CMS Datapoint Browser.
To configure the digital output as a pulse output or to control the pulse output with the CMS Datapoint Browser, perform the following steps:
Open the Datapoint Browser.
Note:Â To best view all of the information on this widget, click the Expand button (Â
 ).Â- Set the filters to find and select the IOX digital output block:
- Device: iox[1-n] – the first installed IOX will be iox1, the second will be iox2, etc.
- Block Name: do
- Block Index: 1 – 6 for digital output (DO) 1 through 6
To configure the digital output as a pulse output, perform the following steps:
- Click the Action button () for the mode datapoint on the Datapoint Browser widget and select the Edit Value action.
- Set the mode datapoint type value to pulse. Invert set to false only applies to the pulse type.
- Click SAVE.
To set the output level using the CMS Datapoint Browser, perform the following steps:
- Click the Action button () for the output datapoint on the Datapoint Browser widget and select the Edit Value action.
- Set the output datapoint pulse value to the number of milliseconds for the pulse. For example, set the pulse value to 1000 for a 1 second pulse. The normal value for the pulse output is high; the pulse is always a transition to low for the pulse duration. The maximum pulse value is 2592000000 ms, which translates to 30 days of action.
- Click SAVE.
Frequency Mode
You can configure a digital output to toggle the output at a specified frequency. To select frequency mode, set the do block mode datapoint type value for the digital output to frequency.
You can control the digital output frequency by creating a connection to another datapoint with a connection file, by updating the datapoint from a Sequencing widget data flow or web flow, or by writing to the digital output block using the CMS Datapoint Browser.Â
To configure the digital output as a frequency output or to control the frequency output with the CMS Datapoint Browser, perform the following steps:
Open the Datapoint Browser.
Note:Â To best view all of the information on this widget, click the Expand button (Â
 ).Â- Set the filters to find and select the IOX digital output block:
- Device: iox[1-n] – the first installed IOX will be iox1, the second will be iox2, etc.
- Block Name: do
- Block Index: 1 – 6 for digital output (DO) 1 through 6
To configure the digital output as a frequency output, perform the following steps:
- Click the Action button () for the mode datapoint on the Datapoint Browser widget and select the Edit Value action.
- Set the mode datapoint type value to frequency. The invert field does not apply.
- Click SAVE.
To set the output frequency using the CMS Datapoint Browser, perform the following steps:
- Click the Action button () for the output datapoint on the Datapoint Browser widget and select the Edit Value action.
- Set the output datapoint frequency value to the number of cycles per second (Hz). You can enter a value from 1 to 10,000 for a frequency of 1Hz to 10,000Hz. For example, set the frequency value to 1000 for a 1000Hz output.
- Click SAVE.
PWM Mode
You can configure a digital output to toggle the output at a specified frequency and duty cycle (PWM). To select PWM mode, set the do block mode datapoint type value for the digital output to pwm. Â
You can control the PWM digital output frequency and duty cycle by creating a connection to another datapoint with a connection file, by updating the datapoint from a Sequencing widget data flow or web flow, or by writing to the digital output block using the CMS Datapoint Browser.Â
To configure the digital output as a PWM output or to control the PWM output with the CMS Datapoint Browser, follow these steps:
Open the Datapoint Browser.
Note:Â To best view all of the information on this widget, click the Expand button (Â
 ).Â- Set the filters to find and select the IOX digital output block:Â
- Device: iox[1-n] – the first installed IOX will be iox1, the second will be iox2, etc.
- Block Name: do
- Block Index: 1 – 6 for digital output (DO) 1 through 6
To configure the digital output as a PWM output, perform the following steps:
- Click the Action button () for the mode datapoint on the Datapoint Browser widget and select the Edit Value action.
- Set the mode datapoint type value to pwm. The invert field does not apply.
- Click SAVE.
To set the output frequency and duty cycle using the CMS Datapoint Browser, perform the following steps:
- Click the Action button () for the output datapoint on the Datapoint Browser widget and select the Edit Value action.
- Set the output datapoint pwm frequency value to the number of cycles per second (Hz) and set the output datapoint pwm duty_cycle value to the duty cycle specified as the percentage of each cycle where the output is active. The output for the active portion of the cycle will be low, and the output of the inactive portion of the cycle will be high. You can enter a value from 1 to 10,000 for a frequency of 1Hz to 10,000Hz and a value of 0 to 100 for a duty cycle of 0 to 100%. For example, set the frequency value to 1000 for a 1000Hz output, and set the duty_cycle value to 25 for a 25% duty cycle. You can enter fractional values such as 25.5 for a duty cycle of 25.5%.
- Click SAVE.