ASCII - Command ENCLINES    
Syntax Transmit ENCLINES [Data]    
Syntax Receive ENCLINES <Data>   Available in  
Type Variable rw   MMI Yes
ASCII Format Integer16   CANBus Object Number 3533 (hex)
DIM -   PROFIBUS PNU 1651 (dec) IND = 1 (dec)
Range 0 .. 32767, 32768 (5.41), 65535 (6.00)   DPR 51 (dec)
Default 1000    
Opmode All   Data Type Bus/DPR Integer16
Drive State Disabled + Reset (Coldstart)   Weighting  
Start Firmware 1.71    
Configuration Yes   Last Change of this Object 1.9
Function Group Motor   EEPROM Yes
Short Description SinCos Encoder Resolution

Description

ENCLINES sets the resolution (number of lines) of the sine encoder input channel ( connector X1 S600 / X2 S400 ). In case of rotary Motors it is the number of lines per revolution, in case of linear motors it is the number of lines per pole pitch. With an ENDAT or Hiperface Encoder ENCLINES is read automatically during the initialization process.

Starting with firmware 5.41, the range of ENCLINES is extended to 32767.

Starting with firmware 6.00, the range of ENCLINES is extended to 65535.

In general the input frequency is limited with 250KHz electrical frequency. So e.g for a linear encoder with 4mm per sinwave the speed is limited by 250KHz 4mm = 1m/s.



Starting with FW 5.80 the internal position resolution is increased. For older FW versions the resolution was limited to 20 Bits, if ENCLINES is unequal to 2x. Now since FW 5.80, if ENCLINES could be divide by 2 (4,8 and 16) without rest and the division is greater then 512 the internal resolution in the position loop increase to 21 (22, 23 and 24) Bit. Therefore it could make sense to use a higher resolution in the position loop with e.g. PRBASE 24.