NP5 SPI Online Manual

3240h Digital Inputs Control

Function

With this object, digital inputs can be manipulated as described in chapter Digital inputs and outputs.

The following applies for all subindices:

  • Bits 0 to 15 control the special functions.
  • Bits 16 to 31 control the level of the outputs.

Object description


Index 3240h
Object name Digital Inputs Control
Object Code ARRAY
Data type UNSIGNED32
Savable yes, category: application
Firmware version FIR-v1426
Change history

Firmware version FIR-v1426: Subindex 01h: "Name" entry changed from "Special Function Disable" to "Special Function Enable"

Firmware version FIR-v1512: The number of entries was changed from 8 to 9.


Value description


Subindex 00h
Name Highest Sub-index Supported
Data type UNSIGNED8
Access read only
PDO mapping no
Allowed values  
Preset value 08h


Subindex 01h
Name Special Function Enable
Data type UNSIGNED32
Access read / write
PDO mapping RX-PDO
Allowed values  
Preset value 00000000h


Subindex 02h
Name Function Inverted
Data type UNSIGNED32
Access read / write
PDO mapping RX-PDO
Allowed values  
Preset value 00000000h


Subindex 03h
Name Force Enable
Data type UNSIGNED32
Access read / write
PDO mapping RX-PDO
Allowed values  
Preset value 00000000h


Subindex 04h
Name Force Value
Data type UNSIGNED32
Access read / write
PDO mapping RX-PDO
Allowed values  
Preset value 00000000h


Subindex 05h
Name Raw Value
Data type UNSIGNED32
Access read / write
PDO mapping RX-PDO
Allowed values  
Preset value 00000000h


Subindex 06h
Name Input Range Select
Data type UNSIGNED32
Access read / write
PDO mapping RX-PDO
Allowed values  
Preset value 00000000h


Subindex 07h
Name Differential Select
Data type UNSIGNED32
Access read / write
PDO mapping RX-PDO
Allowed values  
Preset value 00000000h


Subindex 08h
Name Routing Enable
Data type UNSIGNED32
Access read / write
PDO mapping RX-PDO
Allowed values  
Preset value 00000000h

Description

The subindices have the following function:

  • 01h: This subindex is used to switch on the special functions of the respective inputs if the bit has the value "1".
  • 02h: This subindex is used to invert the logic of the input if the bit of the respective input has the value "1".
  • 03h: This subindex is used to force an input value if the bit has the value "1". An input whose value is forced then always has the value that is entered in subindex 4h, independent of the applied voltage level.
  • 04h: This subindex is used to define the input value that is to be forced.
  • 05h: This subindex always contains the read, unmodified input value.
  • 08h: This subindex deactivates (value "0") or activates (value "1") the input routing.
▶   next

Contents