Digital input
Notice | |
Wiring Digital input
|
The EL5072 has two digital inputs for voltages from 5 VDC to 24 VDC. One digital input per channel can be used as follows
- Set position value: The position can be set to a specified position value via an edge ("Set position on digital input", index 0x70n0:02)
- Save position value: The position value can be stored in a separate process data via an edge ("Enable latch on digital input", index 0x70n0:03)
Index 0x80n0:06 "Enable continuous digital input" can be used to parameterize whether the function is executed at every parameterized edge or only once after every activation.
Furthermore, it is possible to disable the digital input.
Set position value via digital input ("Set position on digital input", index 0x70n0:02)
- Index 0x80n1:1B "Digital input polarity" can be used to define the level at which the position value is to be set to a specified value:
- 0: Input disabled
- 10: positive edge
- 11: negative edge
- Position value specification via 0x70n0:11 "Set position value".
- Index 0x70n0:02 "Set position on digital input" = TRUE
- With the first parameterized edge (positive or negative) at the digital input the current position value (0x60n1:01) is set to the preset position value (0x70n0:11).
- For confirmation the "Set position done" bit in index 0x60n0:0B is set to TRUE.
- The position specification cannot be reactivated until index 0x70n0:02 has been set to FALSE.
- Index 0x80n0:06 "Enable continuous digital input" can be used to specify whether it is necessary to reactivate the command:
- FALSE: The following pulses at the digital input have no influence on the position value in index 0x60n1:01 "Position" if the bit in index 0x70n0:02 is set.
A new position value can only be written if index 0x60n0:0B "Set position done" is FALSE. - TRUE: The position value 0x60n1:01 "Position" is set to the preset position value (0x70n0:11) for each parameterized edge at the digital input.
The index 0x70n0:02 does not need to be reactivated.
The index 0x60n0:0B "Set position done" is set to TRUE for a PLC cycle with a registered edge. - The status of the digital input can be recorded via index 0x60n0:08 "Digital input".
Saving the offset value ("Set Position Offset", index 0x90n0:11
An inductive measuring probe provides an absolute measured value, i.e. the position value does not have to be referenced after a voltage interruption.
- If a position specification is carried out via the process data 0x70n0:01 "Set position" or 0x70n0:02 "Set position on digital input", the offset value is stored in index 0x90n0:11 "Set Position Offset".
- The offset value can be reset to zero in the FB command object 0xFB00 "Command" by the following commands.
Command | Description |
---|---|
0x8010 | Deleting the offset value for both position values |
0x8011 | Deleting the offset value for position value of channel 1 |
0x8012 | Deleting the offset value for position value of channel 2 |
Command entry via the System Manager If the command input is written via the System Manager, the value must be entered in the "Binary" field (LOWBYTE first). If the command is initiated via the PLC, then this takes place automatically. |
Save position value via digital input ("Enable latch on digital input", index 0x70n0:03
- Index 0x80n1:1B "Digital input latch polarity" can be used to specify the level at which the position value is to be stored in a separate process data.
- 0: input disabled
- 10: positive edge
- 11: negative edge
- Index 0x70n0:03 "Enable latch on digital input" = TRUE
- At the first parameterized edge at the digital input the current position value is stored in index 0x60n1:02 "Latch value".
- For confirmation the "Latch extern valid" bit in index 0x60n0:0A is set to TRUE.
- A renewed activation for saving the position value can only take place when index 0x70n0:03 has been set to FALSE.
- Index 0x80n0:06 "Enable continuous digital input" can be used to specify whether it is necessary to reactivate the command.
- FALSE:
The following pulses at the digital input have no influence on the latch value in index 0x60n1:02 "Latch value" if the bit in index 0x70n0:03 is set.
A new position value can only be written to index 0x60n1:02 "Latch value" when index 0x60n1:0A "Latch extern valid" is FALSE. - TRUE:
The position value 0x60n1:01 "Position" is written to index 0x60n1:02 "Latch value" for each parameterized edge at the digital input.
Renewed activation of the index 0x70n0:03 is not necessary. The index 0x60n0:0A "Latch extern valid" is set to TRUE on a registered edge for a PLC cycle. - The status of the digital input can be recorded via index 0x60n0:08 "Digital input".
Parameterization of the digital input The parameterization of the digital input via the indices 0x80n1:1B “Digital input latch polarity” and 0x80n0:06 “Enable continuous digital input” also applies to the functions “Set position on digital input” index 0x70n0:02 and “Enable latch on digital input” index 0x70n0:03. |