5000 mm & 10000 mm draw-wire encoder, integrated 27 bit absolute multiturn encoder, programmable resolution down to 24 um, m12 connectors, implements the coe protocol and the ethercat state machine (84 pages)
Absolute draw-wire encoder with analogue output, voltage or current signals, programmable via keys, max. measuring length 5000 196.85ā or 10000 mm 393.7ā, cable or cable with integral m12 connector (24 pages)
Page 2
Tous droits réservés. This document and information contained herein are the property of Lika Electronic s.r.l. and shall not be reproduced in whole or in part without prior written approval of Lika Electronic s.r.l. Translation, reproduction and total or partial modification (photostat copies, film and microfilm included and any other means) are forbidden without written authorisation of Lika Electronic s.r.l.
Subject index Position and velocity values........58 Class 2 functionality...........48 Position value..............56 Code sequence..............48 Preset value..............60 Counts per revolution..........50 Scaling function control...........49 Diagnostic type..............50 Total resolution..............52 Exchange type..............50 Velocity measure unit..........55...
Typographic and iconographic conventions In this guide, to make it easier to understand and read the text the following typographic and iconographic conventions are used: parameters are coloured in GREEN; • alarms are coloured in RED; • states are coloured in FUCSIA. •...
Glossary of Profibus terms PROFIBUS, like many other networking systems, has a set of unique terminology. Table below contains a few of the technical terms used in this guide to describe the PROFIBUS interface. They are listed in alphabetical order. Address (Station) IEC 61158-2: Medium attachment unit identification - unique number of a station connected to a segment (participant).
Page 9
Class 2 (DPM2)”. Class 1 encoder Encoder class must be set when you configure the device. Mandatory Class 1 provides the basic functions of the device and can be used for: Position value sending the position value (see • parameter); Code sequence changing the counting direction (see •...
Page 10
Cyclic Data Exchange IEC 61158-3: Term used to describe events which repeat in a regular and repetitive manner. The MS0 services of PROFIBUS DP are based on cyclic data exchange. See "State machine". Cyclic Redundancy Check Error-checking technique in which the frame recipient calculates a remainder by dividing frame contents by a prime (CRC) binary divisor and compares the calculated remainder to a...
Page 11
PROFIBUS DP provides two ways to accomplish the task: DTM/FDT and EDD. See "Slave parametrization" and "Communication parameter". Device Profile See "Profile". DP Master IEC 61158-5: Within PROFIBUS DP a fieldbus node that can be either Master Class 1 or Master Class 2. A Master Class 1 is a controlling device which controls several DP Slaves (field devices).
Page 12
read texts to assign diagnosis IDs to HMI displays; • select supported services (freeze, sync, etc.); • from the GSD for the configuration of the device. A GSD replaces the previously conventional manuals or data sheets and thus already supports plausibility checks during the configuration phase.
Page 13
Application protocol data unit (APDU). • The PROFIBUS Nutzerorganisation e.V. (PROFIBUS User Organisation, or PNO) was created in 1989. This group was composed mainly of manufacturers and users from Europe. In 1992, the first regional PROFIBUS organization was founded (PROFIBUS Schweiz in Switzerland). In the following years, additional Regional PROFIBUS &...
Page 14
Slaves. Options (e.g.): Data exchange broadcast (DXB), i.e. Slave to Slaves • communication; isochronous mode of Slaves; • clock synchronization; • redundancy. • PROFIBUS DP is standardized within IEC 61158 and IEC 61784, communication profile families 3/1 and 3/2. The term "PROFIBUS DP"...
Page 15
Protocol Data Unit (PDU) A packet of data passed across a network via telegrams. The term implies a specific layer of the OSI seven layer model and a specific protocol. Each layer has its own PDU that is extended subsequently from the physical layer up to the application layer: Physical layer protocol data unit (PhPDU);...
Page 16
Slaves. Topology In a communication network, the pattern of interconnection between network nodes; e.g. bus, ring, star configuration. The signalling rate of a digital communication line. It is the Transmission Rate (Baud switching speed, or number of transitions (voltage or rate) frequency changes) that are made per second.
• elsewhere in this manual violates safety standards of design, manufacture, and intended use of the equipment; Lika Electronic assumes no liability for the customer's failure to comply • with these requirements. 1.2 Electrical safety Turn OFF the power supply before connecting the device;...
SFA-5000 • SFA-10000 Profibus noise. The connection point to ground can be situated both on the device side and on user’s side. The best solution to minimize the interference must be carried out by the user. Provide the ground connection as close as possible to the encoder.
Information is listed in the delivery document too. Please always quote the order code and the serial number when reaching Lika Electronic. For any information on the technical characteristics of the product refer to the technical catalogue.
SFA-5000 • SFA-10000 Profibus Mechanical installation WARNING Installation has to be carried out by qualified personnel only, with power supply disconnected and mechanical parts compulsorily in stop. 3.1 Overall dimensions Values are expressed in mm MAN SFA_5000_10000_PB E 1.0 Mechanical installation...
SFA-5000 • SFA-10000 Profibus 3.2 Mounting instructions Fasten the draw-wire unit onto a fixed support using three M4 screws 1; • remove the transport safety wire that pins the end of the measuring • wire; fix the end of the measuring wire to the moving unit using the provided •...
If you want to know the maximum measuring length and the physical linear resolution of the draw-wire encoder please refer to the order code. The stroke per turn is always 200 mm (7.874”), the maximum number of turns is 25 for SFA-5000 and 50 for SFA-10000. EXAMPLE 1 (Scaling function...
SFA-5000 • SFA-10000 Profibus Max. number of turns of the drum = 50 Max. measuring length = 10,000 mm (393.7”) Number of information = 100,000 3.4 Maintenance The measuring system does not need any particular maintenance; anyway it has to be handled with the utmost care as any delicate electronic equipment. From...
SFA-5000 • SFA-10000 Profibus Electrical connection WARNING Electrical connection has to be carried out by qualified personnel only, with power supply disconnected and mechanical parts compulsorily in stop. Figure 1 4.1 Encoder connection cap (Figure 1 and Figure 2) WARNING Do not remove or mount the connection cap with power supply switched ON.
Page 25
SFA-5000 • SFA-10000 Profibus NOTE Be careful not to damage the internal components when you perform this operation. To remove the connection cap loosen the two screws 1 (Figure 2). Please be careful with the internal connector. Always replace the connection cap at the end of the operation. Take care in re- connecting the internal connector.
SFA-5000 • SFA-10000 Profibus 4.2 Profibus encoder with PGs: PG version (Figure 2 and Figure 3) Figure 3 The draw-wire encoder is fitted with three PG9 cable glands for Power Supply, BUS IN and BUS OUT connections. The bus cables can be connected directly to the terminal connectors in front of each cable gland.
SFA-5000 • SFA-10000 Profibus 4.3 Profibus encoder with M12 connectors: M12 version (Figure 2 and Figure 4) The draw-wire encoder is fitted with three M12 connectors with pin-out in compliance with the Profibus standard. Therefore you can use standard Profibus cables commercially available.
SFA-5000 • SFA-10000 Profibus Profibus signals M12 connector B coding (frontal side) male female (BUS IN) (BUS OUT) Function n.c. Profibus A (Green) n.c. Profibus B (Red) n.c. Case Shield n.c. = not connected 4.4 Ground connection (Figure 2) Minimize noise by connecting the shield and/or the connector housing and/or the enclosure to ground.
SFA-5000 • SFA-10000 Profibus 4.5 Shield connection Disentangle and shorten the shielding 1 and then bend it over the part 2; finally place the ring nut 3 of the connector. Be sure that the shielding 1 is in tight contact with the ring nut 3.
SFA-5000 • SFA-10000 Profibus 4.6 Diagnostic LEDs (Figure 1) Two LEDs located in the outer side of the encoder are designed to show the operating or fault status of the Profibus-DP interface. Fault (red) Power (green) Event No power supply or hardware fault Correct operation (correct communication) Red Zone, see the “6.9 "Red Zone"“...
SFA-5000 • SFA-10000 Profibus EXAMPLE Set the node address = 25: = 0001 1001 (binary value) ON OFF OFF ON ON OFF OFF Set the node address = 55: = 0011 0111 (binary value) ON ON ON OFF ON ON OFF...
SFA-5000 • SFA-10000 Profibus The following table shows the maximum transmission rates in relation to permissible line length: Baud rate [Kbit/s] 19.2 93.75 187.5 1500 12000 1200 m 1200 m 1200 m 1000 m 400 m 200 m 100 m Max.
Profibus draw-wire encoders are supplied with their own GSD file SFA25_Vx.GSD, Vx is intended to indicate the file version. To download the file enter www.lika.biz > ROTARY ENCODERS > DRAW-WIRE UNITS > ABSOLUTE. The GSD file is available in both English version (SFA25_Vx.GSE) and Italian version (SFA25_Vx.GSI).
Then drag the desired submodule (Lika SFA-x-PB-8192 Class 1, Lika SFA-x-PB- 8192 Class 2 or Lika SFA-x-PB-8192 Class 2(+VEL)) to the variables table in the bottom; in this way you set the class of the device (for further details on the available classes see the “6.2 Classes of the Device profile“...
SFA-5000 • SFA-10000 Profibus 5.1.3 Encoder configuration parameters To enter the Encoder configuration parameters window, select the device in the submodule page in the bottom of the HW Config window and right-click to open the menu; then choose the Object Properties… command.
Page 36
SFA-5000 • SFA-10000 Profibus The Properties – DP slave window will appear; in the Parameter Assignment page the list of all encoder parameters is available. For any information on using and setting each parameter refer to the “6.4 DDLM_Set_Prm“ section on page 46.
SFA-5000 • SFA-10000 Profibus 5.2 Reading diagnostic information The diagnostic information message can be set to either 16 or 63 bytes, see the Diagnostic type parameter. Before entering the diagnostic page, it is necessary to connect to the unit (enter online status). To do this, select Station\Open online in the HW Config window or press the Online<->Offline button (see...
Page 38
SFA-5000 • SFA-10000 Profibus 16-byte Diagnostics: 63-byte Diagnostics: NOTE Should the 63-byte diagnostics not work properly using STEP7 software we suggest setting the 16-byte diagnostics. If the diagnostic information is not used, we recommend the 16-byte diagnostics to be set (see the “5.1.3 Encoder configuration parameters” section on page 35).
SFA-5000 • SFA-10000 Profibus 5.3 Setting the Preset value EXAMPLE Position value The encoder having device address 1 transmits the to the Master. Position value is loaded into variables ED 100…103 (4 bytes). Speed value is loaded into variables ED 104…107 (4 bytes).
“126”. The internal memory address stored at factory by Lika Electronic is “125”. On the contrary, if the hardware switches are set to any value between 0 and 125, then the external switches will determine the Slave address.
Page 41
DIP A hardware switches are set to the value 126 (0111 1110 In this way you set that the Slave address will be read from the internal memory. As stated, the value stored at factory by Lika Electronic is “125”. MAN SFA_5000_10000_PB E 1.0 Quick reference...
Page 42
SFA-5000 • SFA-10000 Profibus To change the node address stored in the internal memory, open the SIMATIC Manager window and press the Assign PROFIBUS Address… command in the PLC\PROFIBUS menu. The Assign PROFIBUS Address window will appear on the screen.
Profibus interface Lika SFA draw-wire encoders are Slave devices and comply with the “Profibus- DP Profile for Encoders”; they can be set as Class 1, Class 2 or Class 2 (+VEL) devices (see the “6.2 Classes of the Device profile“ section on page 43).
SFA-5000 • SFA-10000 Profibus Class 2 (+VEL) provides all the Class 1 and Class 2 functions and additional velocity-related functions: Position and velocity values transmission of the velocity value (see • parameter); Velocity measure unit setting of the velocity measuring unit (see •...
Page 45
SFA-5000 • SFA-10000 Profibus DDLM_Chk_Cfg: Data_Exchange it sets the number of bytes used for data transmission in mode (see the “6.5 DDLM_Chk_Cfg“ section). DDLM_Data_Exchange: it is used as "standard operation mode". Preset value; used by the Slave to transmit Used by the Master to send the the position and velocity values (see the “6.6 DDLM_Data_Exchange“...
SFA-5000 • SFA-10000 Profibus 6.4 DDLM_Set_Prm When the system is turned ON, configuration data set by the operator is sent to the absolute encoder by the controller. Parameters transmission depends on the configuration chosen by the operator. Customarily data is sent automatically while data setting is carried out through a user's interface available in the controller's software (for instance, STEP7, see the “5.1 STEP7 configuration“...
Page 47
SFA-5000 • SFA-10000 Profibus DDLM_Set_Prm with Class 2 (+VEL): Byte Parameter 0 … 9 Reserved for PROFIBUS network Operating parameters bit 0 Code sequence bit 1 Class 2 functionality bit 2 Reserved Scaling function control bit 3 bits 4 and 5...
SFA-5000 • SFA-10000 Profibus 6.4.1 Byte 10 - Operating parameters Function bit = 0 bit = 1 Count up Count up Code sequence rewinding pulling wire the wire Class 2 functionality disabled enabled Reserved Scaling function control disabled enabled 4, 5...
SFA-5000 • SFA-10000 Profibus Scaling function control This is only available when the encoder Class 2 or the encoder Class 2 (+VEL) are installed (see the SFA-x-PB-8192 Class 2 or SFA-x-PB-8192 Class 2 (+VEL) submodules). Scaling function control When this option is disabled (bit 3 = 0 = DISABLED), the device uses the hardware resolution, i.e.
SFA-5000 • SFA-10000 Profibus Diagnostic type 0 = Reduced = 16-byte diagnostic information 1 = Extended = 63-byte diagnostic information Encoder Class 1 only provides 16-byte reduced diagnostics. Encoder Class 2 and Encoder Class 2 (+VEL) can provide either 16-byte reduced diagnostics or 63-byte extended diagnostics, according to this setting.
Page 51
SFA-5000 • SFA-10000 Profibus Class 2 functionality Scaling function control = DISABLED or = DISABLED, then the system uses the physical values to arrange the position information. Counts per revolution parameter allows to program a custom number of distinguishable steps per revolution (singleturn resolution).
SFA-5000 • SFA-10000 Profibus WARNING (Scaling function control When you enable the scaling function = 1), please Counts per revolution Total resolution enter scaled values next to the parameters that are consistent with the physical values. In the case of inconsistent values, the system does not go online and visually warns about the wrong parametrization and fault condition by means of the diagnostic LEDs.
Page 53
SFA-5000 • SFA-10000 Profibus In other words, this parameter allows to set the length of the travel the encoder has to measure expressed in number of distinguishable steps (number of information). Allowed values are less than or equal to the Total hardware resolution value (...
Page 54
SFA-5000 • SFA-10000 Profibus EXAMPLE We install the following draw-wire encoder: SFA-5000-PB-8192-PG. The physical values are: Stroke per turn of the drum = 200 mm (7.874”) Physical resolution per turn = 13 bits = 8,192 cpr Max. number of physical revolutions = 4,096 Total physical resolution = 25 bits = 33,554,432 information Physical linear resolution = 0.024 mm = 24 µm...
SFA-5000 • SFA-10000 Profibus EXAMPLE Using the values in the previous example let's suppose that the travel in the application is 2 m long. As the stroke per turn is 200 mm you need 10 revolutions to cover the travel length.
SFA-5000 • SFA-10000 Profibus 6.5 DDLM_Chk_Cfg The Configuration function allows the Master to send configuration data to the Slave for any check operation. The main purpose of this function is to set the number of bytes used for the Data_Exchange as viewed from the Master side.
Page 57
Please note that the encoder's linear resolution can be read also in the order code next to the rotary resolution. Refer to the product datasheet. EXAMPLE 1 Let's suppose that we are using the physical resolution of the SFA-5000-PB- (Scaling function control 8192-PG draw-wire encoder = 0).
Linear position value = transmitted position * linear resolution Linear position value = 123 * 0.024 = 2.952 mm = 2952 µm EXAMPLE 2 Let's suppose that we are using the SFA-5000-PB-8192-PG draw-wire encoder. (Counts per The singleturn resolution is set to the 4000 cpr custom value revolution = 4000).
Page 59
Speed in m/s = / 1000 EXAMPLE Let's assume that we are using the SFA-5000-PB-8192-PG draw-wire encoder and the maximum speed of the application is 1 m/s. To calculate the counting frequency we must convert the speed expressed in m/s into rpm first.
SFA-5000 • SFA-10000 Profibus The reversed formula can be very useful -for instance- when you know the maximum counting frequency that is applicable to the system (because of the encoder, the following electronics and the cable length) and you need to calculate the maximum rotational speed the encoder is allowed to reach at the desired resolution.
Page 61
SFA-5000 • SFA-10000 Profibus EXAMPLE Preset value to be set = 0000 1000hex Position value Current = 0005 5000hex Byte Cycle 31-24 23-16 15-8 MS 1° SM MS 2° SM MS 3° SM NOTE Preset value We suggest setting the when the axis is in stop.
6.7 DDLM_Slave_Diag The Master device can send a request for diagnostic information at any time to the Slave device. Diagnostic type Lika devices provide two types of diagnostics (see the parameter on page 50): reduced diagnostics (16-byte diagnostics) • extended diagnostics (63-byte diagnostics).
Page 63
SFA-5000 • SFA-10000 Profibus 63-byte extended diagnostics: Byte Description Byte Description Status 1 Status 2 Offset value Status 3 Master ID Manufacturer ID Manufacturer offset value Extended diagnostic header Alarms Operating status Programmed measuring units Encoder type per revolution Physical singleturn resolution...
“126”. The address stored at factory by Lika Electronic is “125”. On the contrary, if the hardware switches are set to any value between 0 and 125, then the external switches will determine the Slave address.
Page 65
126 (0111 1110 In this way you set that the Slave address will be read from the internal memory. As stated, the value stored at factory by Lika Electronic is “125”. The message has the following DATA bytes:...
SFA-5000 • SFA-10000 Profibus 6.9 "Red Zone" Total resolution Counts per The so-called "Red Zone" occurs when revolution are not a power of 2. When this problem arises, the device must operate within the “red zone” for a certain number of positions. The size of the “red zone” is variable. To calculate it...
Page 67
SFA-5000 • SFA-10000 Profibus Hardware number of turns 4,096 = 2.048 Number of revolutions 2,000 It follows that, for 96 revolutions (4,096 - 2 * 2,000 = 96), the encoder will work within the "Red Zone" limits. NOTE The “Red Zone” status is indicated by the green LED flashing while the red LED is OFF (see the “4.6 Diagnostic LEDs (Figure 1)”...
SFA-5000 • SFA-10000 Profibus Default parameters list Parameters list Default values 1 = Count up pulling the Code sequence wire out Class 2 functionality 1 = Enabled Scaling function control 1 = Enabled Diagnostic type 0 = 16 bytes (6+10)
Need help?
Do you have a question about the SFA-5000 and is the answer not in the manual?
Questions and answers