NP5 SPI Online Manual

3231h Flex IO Configuration

Function

Defines how the pins (inputs/outputs 1 … 4) of the device are used.

  • Subindex 01h Output Mask: This bit mask defines whether the pin is used as input or output:
    • Bit = "0": Pin is input (default)
    • Bit = "1": Pin is output
  • Subindex 02h Pullup Mask: This bit mask defines whether the pin is a pullup or pulldown:
    • Bit = "0": Pin is pulldown (default)
    • Bit = "1": Pin is pullup
Tip: Subindex 02h is only active for the pin if it is defined as an input via subindex 01h.

Example for subindex 01h: Pin 2 and pin 3 are to be outputs, value = "6" (=0110 b)

Object description

Index 3231h
Object name Flex IO Configuration
Object Code ARRAY
Data type UNSIGNED16
Savable yes, category: application
Access read only
PDO mapping no
Allowed values
Preset value
Firmware version FIR-v1650-B472161
Change history

Value description

Subindex 00h
Name Highest Sub-index Supported
Data type UNSIGNED8
Access read only
PDO mapping no
Allowed values
Preset value 02h
Subindex 01h
Name Output Mask
Data type UNSIGNED16
Access read / write
PDO mapping no
Allowed values
Preset value 0000h
Subindex 02h
Name Pullup Mask
Data type UNSIGNED16
Access read / write
PDO mapping no
Allowed values
Preset value 0000h

Description

▶   next

Contents