Function 2 saves the current position in result register 2 when triggered.
Subindex |
Type |
Access |
Description |
04h |
integer32 |
R/W |
Result register 2 : the current position when the event is reached |
Configuration examples
configuration |
Explanation |
3511h.01h = 0200h |
When a rising edge occurs (digital input 1), the current position is stored in result register 2 (subindex 4). |
3511h.01h = 0002h |
When a falling edge occurs (digital input 1), the current position is stored in result register 2 (sub-index 4). |
3511h.01h = 0102h |
If a rising edge occurs at digital input 1, the current position is stored in result register 1 (sub-index 3). If a falling edge occurs at digital input 1, the current position is stored in result register 2 (sub-index 4). |