EasyManua.ls Logo

PRECITEC CHRocodile C - ETR Command

PRECITEC CHRocodile C
63 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
43
The following functions are defined:
Arg1
Function
Arg2
0
Set / Read current encoder
counter value
Encoder counter value to set
1
Set count source
0: Pulse on A0, 1: Pulse on B0, 2: Pulse on A1 . . . 9: Pulse on B4
10: Pulse on SyncIn
11..14: not used
15: Quadrature A/B on encoder input <axis index>
2
Set preload value
Value to load into encoder counter on preload event
3
Set preload function
See table below
The preload function defines under which condition the value set with function 2 will be loaded
into the encoder counter. The respective argument 2 is a bit field as defined below:
Preload function value calculation
Bit(s)
Function
0
0: Preload once, 1: Preload each time
1
0: preload event on raising edge or high level, 1: falling edge or low level
2
0: the preload event is triggered by an edge 1: it is triggered by the level
3
0: Preload function inactive, 1: active (in case of “preload once”, this bit will be automatically reset)
7 .. 4
0: Pulse on A0
1: Pulse on B0
2: Pulse on A1
9: Pulse on B4
10: Pulse on SyncIn
11..14: not used
15: Immediate preload
2.4 ETR Command
The encoder inputs and related commands ETR or ENC are available only with
the analogue converter box accessory.
The settings will not be saved in the nonvolatile memory by the $SSU
command.

Table of Contents