Page 20
Appendix | ASCII Communication with Sensor
IF2008 ETH
A 2.4.1.5 Encoder Detection Source
ENCLATCHSRCn NONE|TIMER1|TIMER2|TIMER3|SENSOR1|SENSOR2|SENSOR3|S
ENSOR4|SENSOR5|SENSOR6|SENSOR7|SENSOR8|INPUT1|INPUT2|INPUT3|INPU
T4|SECONDREF|ANYREF
n = 1 ... 8 for the encoder channels 1 to 8.
Selects the source with which the encoder value is written in the IF2008/ETH FIFO (for
continuous recording).
-
NONE: No automatic encoder record.
-
TIMER1 ... 3: Encoder is recorded using a timer.
-
SENSOR1 ... 8: Synchronous encoder record along with data frames of a sensor.
-
INPUT1 ... 4: Encoder record with rising edge of a digital input.
-
SECONDREF: Encoder record when second reference mark is reached.
-
ANYREF: Encoder record with each reference mark.
A 2.4.2 Functions
A 2.4.2.1 Set Encoder Value
ENCSET 1|2|3|4|5|6|7|8
Setting the encoder preset values (see ENCVALUEn) in the indicated encoder.
A 2.4.2.2 Reset Reference Marks
ENCRESET 1|2|3|4|5|6|7|8
Reset the Detection of the First Mark Position (see ENCREFn).
A 2.4.2.3 Reset Encoder
ENCCLEAR 1|2|3|4|5|6|7|8
Resetting the encoder value to 0 in the indicated encoder.
A 2.4.2.4 Query Encoder Value
GETENCVALUEn
n = 1 ... 8 for the encoder channels 1 to 8.
Asynchronous read-out of current encoder value. The return value can be between 0 and
4294967295 (UINT_MAX).
A 2.4.2.5 Query Reference Counter
GETENCREFn
n = 1 ... 8 for the encoder channels 1 to 8.
Request reference counter state.
-
NONE: Reference mark not crossed since the last reset.
-
FIRST: Reference mark crossed once.
-
SECOND: Reference mark crossed several times.
A 2.5 Digital I/O
A 2.5.1 General
A 2.5.1.1 Digital Logic
EXTLEVEL LLL|HLL
Defines the logic level of the digital inputs/outputs
-
LLL: Low level logic (Low 0.2 - 0.8 V High 4.5 - 5 V)
-
HLL: High level logic (Low 0.2 - 0.8 V High 23.5 - 24 V)
Содержание IF2008 ETH
Страница 23: ......