Digi IX40 User Manual page 836

Table of Contents

Advertisement

Digital Input/Output and Analog Input
9. Repeat for additional Digital I/0 pins.
10. Click Apply to save the configuration and apply the change.
Command line
1. Select the device in Remote Manager and click Actions > Open Console, or log into the IX40
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. (Optional) Set a label for Digital I/O pin 1:
(config)> io digital dio1 label label
(config)>
4. Enable active_low to configure the pin to be handled as active low.
(config)> io digital dio1 active_low true
(config)>
active_low is disabled by default, meaning that the pin will be handled active high.
5. bias is set to pullup by default. To configure the pin for pull-down:
(config)> io digital dio1 bias disable
(config)>
6. direction is set to input by default. To configure it for output:
(config)> io digital dio1 direction output
(config)>
If direction is set to output, set the default state:
n
(config)> io digital dio1 default_state value
(config)>
where value is either on or off. The default is on.
7. Repeat for additional Digital I/0 pins.
8. Save the configuration and apply the change
(config)> save
Configuration saved.
>
9. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.
IX40 User Guide
Configure digital Input/Output ports
836

Advertisement

Table of Contents
loading

Table of Contents