Counter/Posi2 5V, Counter 2 5V
Kendrion Kuhnke Automation GmbH
32
17 May 2021
Digital I/Os
Counter 1 - Digital Inputs
These variables indicate the state of the digital inputs.
Variable
Data type Explanation
Input_0_0
BOOL
Digital input 0
Input_0_1
BOOL
Digital input 1
Input_0_2
BOOL
Digital input 2
Input_0_3
BOOL
Digital input 3
In_Output_0_0
BOOL
Digital output 0 value retrieved
Counter 1 - Time Stamp of Input Edge
These variables indicate the time at which the state of the digital inputs changed. The current mode defines
the point at which measuring the time starts.
(Refer to section Operation Synchronised with Frames
Variable
Data type Explanation
Input_0_0_TS
UINT
Time stamp of digital input 0 (hardware trigger)
Input_0_1_TS
UINT
Time stamp of digital input 1 (software polling)
Input_0_2_TS
UINT
Time stamp of digital input 2 (software polling)
Input_0_3_TS
UINT
Time stamp of digital input 3 (software polling)
Information
The time stamp is measured in µs between the frame or DC interrupt and the change of input
signal. The time stamp value turns 0xFFFF if the signal does not change between two frame or
DC interrupts.
If synchronised with frames:
The time stamp saves the time between the last frame interrupt and the change of input state and sends that
time to the EtherCAT master with the next frame.
Frame
Digital Input
Variable
Time stamp
n+1
TRUE
Time stamp (n)
n+2
FALSE
Time stamp (n+1)
If synchronised with DC:
The time stamp saves the time between the last DC interrupt and the change of input state and sends that
time to the EtherCAT master with the next frame.
t
D
i
g
i
t
a
l
I
n
p
u
t
F
r
a
m
e
i
n
t
e
r
r
u
p
t
s
T
i
m
e
s
t
a
m
p
(
n
)
n
O
f
f
O
n
n
+
1
n
+
2
T
i
m
e
s
t
a
m
p
(
n
+
1
)