NP5 EtherCAT 在线手册

3240h Digital Inputs Control

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 Number Of Entries
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:

  • 3240h:01h (Special Function Enable): This bit allows special functions of an input to be switched off (value "0") or on (value "1"). If input 1 is not used as, e.g., a negative limit switch, the special function must be switched off to prevent an erroneous response to the signal generator. The object has no effect on bits 16 to 31.

    The firmware evaluates the following bits:

    • Bit 0: Negative limit switch
    • Bit 1: Positive limit switch
    • Bit 2: Home switch
    • Bit 3: Interlock

    If, for example, two limit switches and one home switch are used, bits 0–2 in 3240h:01h must be set to "1".

  • 3240h:02h (Function Inverted): This subindex switches from normally open logic (a logical high level at the input yields the value "1" in object 60FDh) to normally closed logic (the logical high level at the input yields the value "0").

    This applies for the special functions (except for the clock and direction inputs) and for the normal inputs. If the bit has the value "0", normally open logic applies; for the value "1", normally closed logic applies. Bit 0 changes the logic of input 1, bit 1 changes the logic of input 2, etc.

  • 3240h:03h (Force Enable): This subindex switches on the software simulation of input values if the corresponding bit is set to "1".

    In this case, the actual values are no longer used in object 3240h:04h, but rather the set values for the respective input. Bit 0 corresponds to input 1 here, bit 1 to input 2, etc.

  • 3240h:04h (Force Value): This bit specifies the value that is to be read as the input value if the same bit was set in object 3240h:03h.

  • 3240h:05h (Raw Value): This object contains the unmodified input value.

  • 3240h:07h (Differential Select): With the inputs, this subindex switches between "single-ended input" (value "0" in the subindex) and "differential input" (value "1" in the subindex) if the input supports this function.
  • 3240h:08h (Routing Enable): The value "1" in this subindex activates Input Routing.
▶   下一个

目录