UL for Linux
User library to access and control supported MCC hardware over the Linux platform
|
The E-DIO24 supports the following UL for Linux capabilities.
Unless otherwise indicated, the OEM version supports the same capabilities as the standard version.
Ports: | AUXPORT0, AUXPORT1, AUXPORT2 | |
Bits: | 0 to 7 | |
Functions: | ulDIn(), ulDInArray(), ulDOut(), ulDOutArray(), ulDBitIn(), ulDBitOut(), ulDConfigPort(), ulDIOGetConfig() | |
Configuration: | Config Item (Get): DIO_CFG_PORT_DIRECTION_MASK Config Item (Set): DIO_CFG_PORT_INITIAL_OUTPUT_VAL |
Counter argument: | 0 |
Functions: | ulCIn(), ulCRead(), ulCLoad(), ulCClear() |
Configuration: | none |
Functions: | ulFlashLed(), ulMemRead(), ulMemWrite(), ulDevSetConfig(), ulDevGetConfig(), ulDevGetConfigStr() |
Configuration: | Config Item (Get/Set): DEV_CFG_CONNECTION_CODE Config Item (Get): DEV_CFG_IP_ADDR_STR, DEV_CFG_NET_IFC_STR |
The settings memory map is provided for advanced applications which require device configuration.
Note that default device settings are acceptable for most applications. If you need to change a device setting, however, the preferred method to use is InstaCal.
Address | Value | DefauleValue |
0x000-0x001 | Network options: Bit 0: 0 = DHCP enabled, 1 = DHCP disabled Bit 1: 0 = Auto IP enabled, 1 = Auto IP disabled Bit 2-15: reserved | 0x0000 |
0x002-0x005 | Default IPv4 address | 192.168.0.101 |
0x006-0x009 | Default IPv4 subnet mask | 255.255.255.0 |
0x00A-0x00D | Default IPv4 gateway address | 192.168.0.1 |
0x00E-0x00F | Reserved | |
0x010-0x011 | Reserved | |
0x012-0x015 | Connection code, 4 bytes | 0x00000000 |
0x016 | DOut connection mode. This determines the DOut value when the connection status changes. 0 = no change 1 = apply specified tristate / latch values | 0 |
0x017 | Reserved | |
0x018 | DOut port 0 tristate mask for connection / disconnection (bits set to 0 are outputs, bits set to 1 are no change). | 0xFF |
0x019 | DOut port 1 tristate mask for connection / disconnection (bits set to 0 are outputs, bits set to 1 are no change). | 0xFF |
0x01A | DOut port 2 tristate mask for connection / disconnection (bits set to 0 are outputs, bits set to 1 are no change). | 0xFF |
0x01B | Reserved | |
0x01C | DOut port 0 latch value when host is connected. | 0x00 |
0x01D | DOut port 1 latch value when host is connected. | 0x00 |
0x01E | DOut port 2 latch value when host is connected. | 0x00 |
0x01F | Reserved | |
0x020 | DOut port 0 latch value when host is disconnected. | 0x00 |
0x021 | DOut port 1 latch value when host is disconnected. | 0x00 |
0x022 | DOut port 2 latch value when host is disconnected. | 0x00 |
0x023-0x0FF | Reserved |
Note: The settings do not take effect until after the device is reset or power cycled.
If you are unable to communicate with the device after changing the settings section of memory, refer to the Restoring factory default settings section of the device user's manual.