sma1 user's guide in englishtechnology-link.sakura.ne.jp/docs/lika/manual/manual in...this...

48
User's guide SMA1 + MTA1 Absolute linear encoder Smart encoders & actuators

Upload: others

Post on 13-Mar-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

User's guide

SMA1 + MTA1Absolute linear encoder

Smart encoders & actuators

Page 2: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

This publication was produced by Lika Electronic s.r.l. 2016. All rights reserved. Tutti i diritti riservati. Alle Rechte vorbehalten. Todos losderechos reservados. 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 inpart 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.

The information herein is subject to change without notice and should not be construed as a commitment by Lika Electronic s.r.l. LikaElectronic s.r.l. reserves the right to make all modifications at any moments and without forewarning.

This manual is periodically reviewed and revised. As required we suggest checking if a new or updated edition of this document isavailable at Lika Electronic s.r.l.'s website. Lika Electronic s.r.l. assumes no responsibility for any errors or omissions in this document.Critical evaluation of this manual by the user is welcomed. Your comments assist us in preparation of future documentation, in orderto make it as clear and complete as possible. Please send an e-mail to the following address [email protected] for submitting yourcomments, suggestions and criticisms.

Page 3: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

General contentsUser's guide............................................................................................................................................................................................1General contents..................................................................................................................................................................................3Subject index.........................................................................................................................................................................................6Typographic and iconographic conventions........................................................................................................................7Preliminary information..................................................................................................................................................................8

1 - Safety summary....................................................................................................................................... 91.1 Safety..........................................................................................................................................................................................91.2 Electrical safety.......................................................................................................................................................................91.3 Mechanical safety...............................................................................................................................................................10

2 - Identification.......................................................................................................................................... 103 - Mounting instructions......................................................................................................................... 11

3.1 Overall dimensions..............................................................................................................................................................113.2 Magnetic scale......................................................................................................................................................................113.3 Mounting the sensor.........................................................................................................................................................12

4 - Electrical connections........................................................................................................................... 144.1 T12 cable specifications....................................................................................................................................................144.2 M12 12-pin connector......................................................................................................................................................154.3 Ground connection............................................................................................................................................................154.4 1Vpp sinusoidal output signals.....................................................................................................................................154.5 Diagnostic LED......................................................................................................................................................................154.6 Features summary...............................................................................................................................................................15

5 - SSI interface........................................................................................................................................... 165.1 SSI (Synchronous Serial Interface)...............................................................................................................................165.2 LSB right aligned protocol...............................................................................................................................................175.3 Recommended transmission rates...............................................................................................................................185.4 Helpful information...........................................................................................................................................................185.5 Recommended SSI circuit................................................................................................................................................19

6 - BiSS B-mode interface......................................................................................................................... 206.1 XML file....................................................................................................................................................................................206.2 Communication...................................................................................................................................................................206.3 Register Mode.......................................................................................................................................................................20

Register address.......................................................................................................................................................20DATA.............................................................................................................................................................................21CRC................................................................................................................................................................................21

6.4 Sensor mode..........................................................................................................................................................................21Position........................................................................................................................................................................22Error..............................................................................................................................................................................22Warning.......................................................................................................................................................................22CRC................................................................................................................................................................................22

6.5 Used registers........................................................................................................................................................................23Profile ID.......................................................................................................................................................................23Serial number............................................................................................................................................................24Command.....................................................................................................................................................................24

Normal operation....................................................................................................................................................24Save parameters on EEPROM............................................................................................................................24Save and activate Preset / Offset.....................................................................................................................24Load and save default parameters..................................................................................................................24

Page 4: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

Configuration............................................................................................................................................................25Select BiSS / SSI.......................................................................................................................................................25Set preset / offset...................................................................................................................................................25Enable preset / offset............................................................................................................................................25Output code..............................................................................................................................................................26Counting direction.................................................................................................................................................26

Absolute resolution................................................................................................................................................26Preset / Offset...........................................................................................................................................................27Device type..................................................................................................................................................................28SINE / COSINE resolution...................................................................................................................................28Device ID.......................................................................................................................................................................28Manufacturer ID......................................................................................................................................................29

6.6 Application note..................................................................................................................................................................296.7 Examples.................................................................................................................................................................................29

6.7.1 Setting the Configuration register......................................................................................................................296.7.2 Setting the Preset / Offset register......................................................................................................................30

6.8 Recommended BiSS circuit.............................................................................................................................................307 - BiSS C-mode interface......................................................................................................................... 31

7.1 XML file....................................................................................................................................................................................317.2 Communication...................................................................................................................................................................317.3 Single Cycle Data.................................................................................................................................................................32

Position........................................................................................................................................................................32Error..............................................................................................................................................................................32Warning.......................................................................................................................................................................32CRC................................................................................................................................................................................33

7.4 Control Data CD...................................................................................................................................................................33Register address.......................................................................................................................................................33RW.................................................................................................................................................................................33DATA.............................................................................................................................................................................33CRC................................................................................................................................................................................34

7.5 Used registers........................................................................................................................................................................34Profile ID.......................................................................................................................................................................35Serial number............................................................................................................................................................35Command.....................................................................................................................................................................35

Normal operation....................................................................................................................................................35Save parameters on EEPROM............................................................................................................................35Save and activate Preset / Offset.....................................................................................................................35Load and save default parameters..................................................................................................................35

Configuration............................................................................................................................................................36Set preset / offset...................................................................................................................................................36Enable preset / offset............................................................................................................................................36Output code..............................................................................................................................................................37Counting direction.................................................................................................................................................37

Absolute resolution................................................................................................................................................37Preset / Offset...........................................................................................................................................................38Device type..................................................................................................................................................................39SINE / COSINE resolution...................................................................................................................................39Device ID.......................................................................................................................................................................39Manufacturer ID......................................................................................................................................................40

7.6 Application note..................................................................................................................................................................40

Page 5: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

7.7 Examples.................................................................................................................................................................................407.7.1 Setting the Configuration register......................................................................................................................407.7.2 Setting the Preset / Offset register......................................................................................................................41

7.8 Recommended BiSS circuit.............................................................................................................................................418 - 1Vpp sine/cosine output signals........................................................................................................ 42

8.1 Output signals voltage level...........................................................................................................................................429 - Error and fault diagnostics.................................................................................................................. 43

9.1 Diagnostic LED......................................................................................................................................................................4310 - Maintenance........................................................................................................................................ 4411 - Troubleshooting................................................................................................................................... 4512 - Default parameters list...................................................................................................................... 46

Page 6: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

Subject index

AAbsolute resolution.................................................26, 37

CCommand....................................................................24, 35Configuration.............................................................25, 36Counting direction...................................................26, 37

DDevice ID......................................................................28, 39Device type..................................................................28, 39

EEnable preset / offset..............................................25, 36

LLoad and save default parameters....................24, 35

MManufacturer ID.......................................................29, 40

NNormal operation.....................................................24, 35

OOffset.............................................................................27, 38Output code................................................................26, 37

PPreset.............................................................................27, 38Preset / Offset............................................................27, 38Profile ID.......................................................................23, 35

SSave and activate Preset / Offset......................24, 35Save parameters on EEPROM..............................24, 35Select BiSS / SSI................................................................25Serial number.............................................................24, 35Set preset / offset.....................................................25, 36SINE / COSINE resolution......................................28, 39

Page 7: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

Typographic and iconographic conventions

In this guide, to make it easier to understand and read the text the following typographic andiconographic conventions are used:

• parameters and objects both of the device and the interface are coloured in GREEN;• alarms are coloured in RED;• states are coloured in FUCSIA.

When scrolling through the text some icons can be found on the side of the page: they are expresslydesigned to highlight the parts of the text which are of great interest and significance for the user.Sometimes they are used to warn against dangers or potential sources of danger arising from the use ofthe device. You are advised to follow strictly the instructions given in this guide in order to guaranteethe safety of the user and ensure the performance of the device. In this guide the following symbols areused:

This icon, followed by the word WARNING, is meant to highlight the parts of thetext where information of great significance for the user can be found: user mustpay the greatest attention to them! Instructions must be followed strictly in orderto guarantee the safety of the user and a correct use of the device. Failure to heeda warning or comply with instructions could lead to personal injury and/or damageto the unit or other equipment.

This icon, followed by the word NOTE, is meant to highlight the parts of the textwhere important notes needful for a correct and reliable use of the device can befound. User must pay attention to them! Failure to comply with instructions couldcause the equipment to be set wrongly: hence a faulty and improper working ofthe device could be the consequence.

This icon is meant to highlight the parts of the text where suggestions useful formaking it easier to set the device and optimize performance and reliability can befound. Sometimes this symbol is followed by the word EXAMPLE when instructionsfor setting parameters are accompanied by examples to clarify the explanation.

Page 8: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

Preliminary information

This guide is designed to provide the most complete and exhaustive information the operator needs tocorrectly and safely install and operate the SMA1 series absolute linear encoder. SMA1 is designed tomeasure displacements in industrial machines and automation systems. The measurement systemincludes a magnetic tape and a magnetic sensor with conversion electronics. The scale is magnetizedwith a coded sequence of North-South poles generating an absolute pattern. As the encoder movesalong the magnetic scale, the sensor detects the displacement and yields the absolute positioninformation through the SSI interface (order code SMA1-GA2-...) or the BiSS B-mode interface (ordercode SMA1-SBx-...) or the BiSS C-mode interface (order code SMA1-SCx-...). The BiSS interface versionsfurther provide additional 1Vpp sine-cosine signals for speed feedback.It is mandatory to pair the sensor with the MTA1 type magnetic tape.

To make it easier to read and understand the text, this guide can be divided into five main sections.In the first section some general information concerning the safety, the mechanical installation and theelectrical connection as well as tips for setting up and running properly and efficiently the unit areprovided.In the second section, entitled SSI interface, both general and specific information is given on the SSIinterface.In the third section, entitled BiSS B-mode interface, both general and specific information is given onthe BiSS B-mode interface. In this section the parameters implemented in the unit are fully described.In the fourth section, entitled BiSS C-mode interface, both general and specific information is given onthe BiSS C-mode interface. In this section the parameters implemented in the unit are fully described.Finally, in the fifth section, entitled 1Vpp sine-cosine output signals, some information is given on theadditional sinusoidal signals.

Page 9: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

1 - Safety summary

1.1 Safety• Always adhere to the professional safety and accident prevention

regulations applicable to your country during device installation andoperation;

• installation and maintenance operations have to be carried out byqualified personnel only, with power supply disconnected and stationarymechanical parts;

• device must be used only for the purpose appropriate to its design: use forpurposes other than those for which it has been designed could result inserious personal and/or the environment damage;

• high current, voltage and moving mechanical parts can cause serious orfatal injury;

• warning ! Do not use in explosive or flammable areas;• failure to comply with these precautions or with specific warnings

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 complywith these requirements.

1.2 Electrical safety• Turn OFF the power supply before connecting the device;• connect the unit according to the explanation in the ”4 - Electrical

connections” section;• the wires of unused signals must be cut at different lengths and insulated

singularly;• in compliance with 2004/108/EC norm on electromagnetic

compatibility, following precautions must be taken:- before handling and installing the equipment, discharge

electrical charge from your body and tools which may come in touchwith the device;

- power supply must be stabilized without noise; install EMC filters ondevice power supply if needed;

- always use shielded cables (twisted pair cables whenever possible);- avoid cables runs longer than necessary;- avoid running the signal cable near high voltage power cables;- mount the device as far as possible from any capacitive or inductive

noise source; shield the device from noise source if needed;- to guarantee a correct working of the device, avoid using strong magnets

on or near by the unit;- minimize noise by connecting the cable shield and/or the sensor to

ground. Make sure that ground is not affected by noise. The connectionpoint to ground can be situated both on the device side and on user’sside. The best solution to minimize the interference must be carried outby the user.

MAN SMA1 E 2.8.odt 9 www.lika.itwww.lika.biz

Page 10: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

1.3 Mechanical safety• Install the device following strictly the information in the “3 - Mounting

instructions” section;• mechanical installation has to be carried out with stationary mechanical

parts;• do not disassemble the unit;• do not tool the unit;• delicate electronic equipment: handle with care; do not subject the device

to knocks or shocks;• protect the unit against acid solutions or chemicals that may damage it;• respect the environmental characteristics of the product;• we suggest installing the unit providing protection means against waste,

especially swarf as turnings, chips, or filings; should this not be possible,please make sure that adequate cleaning measures (as for instancebrushes, scrapers, jets of compressed air, etc.) are in place in order toprevent the sensor and the magnetic scale from jamming.

2 - IdentificationDevice can be identified through the order code and the serial number printedon the label applied to its body. Information is listed in the delivery documenttoo. Please always quote the order code and the serial number when reachingLika Electronic for purchasing spare parts or needing assistance. For anyinformation on the technical characteristics of the product refer to thetechnical datasheet.

Warning: devices having order code ending with "/Sxxx" may havemechanical and electrical characteristics different from standard andbe supplied with additional documentation for special connections(Technical Info).

MAN SMA1 E 2.8.odt 10 www.lika.itwww.lika.biz

Page 11: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

3 - Mounting instructions

WARNINGInstallation has to be carried out by qualified personnel only, with power supplydisconnected and mechanical parts compulsorily in stop.

3.1 Overall dimensions

3.2 Magnetic scaleThe sensor has to be paired with the MTA1 type magnetic scale only. Fordetailed information on the MTA1 type scale and how to mount it refer to thespecific technical documentation.Install the unit providing protection means against waste, especially swarf asturnings, chips, or filings; should this not be possible, please make sure thatadequate cleaning measures (as for instance brushes, scrapers, jets ofcompressed air, etc.) are in place in order to prevent the sensor and themagnetic scale from jamming.Make sure the mechanical installation meets the system's requirements ofdistance, planarity and parallelism between the sensor and the scale indicated inFigure 2 all along the whole measuring length.The Figure 1 below shows how the sensor and the scale must be installed; thearrow indicates the standard counting direction (increasing count, see theparameter Counting direction on page 26 / 37).

WARNINGThe system cannot work if mounted otherwise than illustrated in the Figures.

MAN SMA1 E 2.8.odt 11 www.lika.itwww.lika.biz

Page 12: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

3.3 Mounting the sensor

Figure 1

Make sure the mechanical installation complies with the system requirementsconcerning distance, planarity and parallelism between the sensor and the scale.Avoid contact between the parts. Sensor is fixed by means of two M5 25 mmmin. long cylinder head screws inserted in the provided holes. Recommendedminimum bend radius of the cable: R 45 mm.

The allowed gap between the sensor and the scale is 0.1 mm 0.3 mm(0.004” 0.012”).

Do not use the cover strip, it would cause an excessive gap between the sensorand the scale surface.

WARNINGMake sure the mechanical installation complies with the system requirementsconcerning distance, planarity and parallelism between the sensor and the scaleas shown in Figure 2 all along the whole measuring length.Mount the sensor as shown in the Figures. Please mind the direction of thecable outlet. The system cannot operate if mounted otherwise than illustrated inthe Figures.

MAN SMA1 E 2.8.odt 12 www.lika.itwww.lika.biz

Page 13: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Figure 2

WARNINGAfter having installed the sensor on the magnetic scale a zero setting operationis compulsorily required. The zero setting operation is further required everytime either the sensor or the scale is replaced. Refer to pages 27 and 38. Notavailable for SSI interface.

MAN SMA1 E 2.8.odt 13 www.lika.itwww.lika.biz

Page 14: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

4 - Electrical connections

WARNINGElectrical connection has to be carried out by qualified personnel only, withpower supply disconnected and mechanical parts compulsorily in stop.

WARNINGIf wires of unused signals come in contact, irreparable damage could be causedto the device. Please insulate them singularly.

Connections

Function T12 cable M12 12-pin0Vdc White / Green 1

+Vdc 1 Brown / Green 2Clock IN + / MA + Violet 3Clock IN - / MA - Yellow 4

Data OUT + / SLO + Grey 5Data OUT - / SLO - Pink 6

not connected White 7not connected Blue 8

A (cos+) 2 Green 9/A (cos-) 2 Brown 10B (sin+) 2 Red 11/B (sin-) 2 Black 12

1 See the order code for the power supply voltage level.

EXAMPLESMA1-SC2-... +Vdc = +10Vdc +30Vdc→SMA1-SB1-... +Vdc = +5Vdc → ±5%

2 Additional sinusoidal signals are only available in the BiSS interface. Forany further information please refer to the “8 - 1Vpp sine/cosine outputsignals” section on page 42.

4.1 T12 cable specificationsModel : LIKA T12 cableWires : 4 x 0.25 mm2 + 4 x 2 x 0.14 mm2 twisted pairsShield : tinned copper braidExternal diameter : Ø 6.1 mm ± 0.10 mmConductor resistance : <90 /km (0.25 mm2); <148 /km (0.14 mm2)Minimum bending radius : Ø x 7.5

MAN SMA1 E 2.8.odt 14 www.lika.itwww.lika.biz

Page 15: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

4.2 M12 12-pin connector

M12 12-pin connectorA codingMale frontal side

4.3 Ground connectionMinimize noise by connecting the shield and/or the sensor to ground. Make surethat ground is not affected by noise. The connection point to ground can besituated both on the device side and on user’s side. The best solution tominimize the interference must be carried out by the user.

4.4 1Vpp sinusoidal output signalsFor any further information on the 1Vpp sinusoidal signals please refer to the “8- 1Vpp sine/cosine output signals” section on page 42. Additional sinusoidalsignals are only available in the BiSS interface.

4.5 Diagnostic LEDFor any further information on the diagnostic LED please refer to the “9 - Errorand fault diagnostics” section on page 43.

4.6 Features summary

SMA1-xxx-5-...

Absolute track physicalresolution

5 µm

Sine/cosine track resolution 1 1 mm

Max. scale length(max. measuring length)

5,100 mm(5,015 mm)

Pole pitch dimension 1 mm

Max. information(max. value)

20 bits (1,048,575)

1 Sine/cosine signals only available in the BiSS interface.

MAN SMA1 E 2.8.odt 15 www.lika.itwww.lika.biz

Page 16: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

5 - SSI interfaceOrder code: SMA1-GA2-5-…

5.1 SSI (Synchronous Serial Interface)SSI (the acronym for Synchronous SerialInterface) is a synchronous point-to-point serialinterface engineered for unidirectional datatransmission between one Master and one Slave.Developed in the first eighties, it is based on the RS-

422 serial standard. Its most peculiar feature is that data transmission isachieved by synchronizing both the Master and the Slave devices to a commonclock signal generated by the controller; in this way the output information isclocked out at each controller's request. Furthermore only two pairs of twistedwires are used for data and clock signals, thus a six-wire cable is required.The main advantages in comparison with parallel or asynchronous datatransmissions are:

• less conductors are required for transmission;• less electronic components;• possibility of insulting the circuits galvanically by means of

optocouplers;• high data transmission frequency;• hardware interface independent from the resolution of the absolute

encoder.

Furthermore the differential transmission increases the noise immunity anddecreases the noise emissions. It allows multiplexing from several encoders, thusprocess controls are more reliable with simplified line design and easier datamanagement.

Data transmission is carried out as follows.At the first falling edge of the clock signal (1, the logic level changes from highto low) the absolute position value is stored while at the following rising edge(2) the transmission of data information begins starting from the MSB.

At each change of the clock signal and at each subsequent rising edge (2) onebit is clocked out at a time, up to LSB, so completing the data wordtransmission. The cycle ends at the last rising edge of the clock signal (3). This

MAN SMA1 E 2.8.odt 16 www.lika.itwww.lika.biz

Page 17: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

means that up to n + 1 rising edges of the clock signals are required for eachdata word transmission (where n is the bit resolution); for instance, a 13-bitencoder needs 14 clock edges. If the number of clocks is greater than thenumber of bits of the data word, then the system will send a zero (low logiclevel signal) at each additional clock, zeros will either lead (LSB ALIGNEDprotocol) or follow (MSB ALIGNED protocol) or lead and/or follow (TREE FORMATprotocol) the data word. After the period Tm monoflop time, having a typicalduration of 12 µsec, calculated from the end of the clock signal transmission,the encoder is then ready for the next transmission and therefore the datasignal is switched high.The clock signal has a typical logic level of 5V, the same as the output signalwhich has customarily a logic level of 5V in compliance with RS-422 standard.The output code can be either Binary or Gray (see the order code).

5.2 LSB right aligned protocol“LSB right aligned” protocol allows to right align the bits, beginning from MSB(most significant bit) to LSB (least significant bit); LSB is then sent at the lastclock cycle. If the number of clock signals is higher than the data bits, thenunused bits are forced to logic level low (0) and lead the data word. Thisprotocol can be used in sensors having any resolution. The word has a length of25 bits.The device uses 20 bits to provide the position information, unused bits (from21 to 25) are set to 0 (zero).Thus:

Model Resolution Length of the wordMax. number of

information

SMA1-GA2-5-... 0.005 mm 25 bits 20 bits (1,048,575)

The output code of the sensor can be GRAY or BINARY (see the order code).The length of each information is equal to the resolution (5 µm).

Position structure:bit 25 … 21 20 … 1

value 00000 MSB … LSB

WARNINGThe position value issued by the sensor is expressed in pulses; to convert thepulses into a metric measuring unit you must multiply the number of detectedpulses by the resolution.

EXAMPLESMA1-GA2-5-…resolution = 5 µmdetected pulses = 123position value = 123 * 5 = 615 µm = 0.615 mm

MAN SMA1 E 2.8.odt 17 www.lika.itwww.lika.biz

Page 18: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

5.3 Recommended transmission ratesThe SSI interface has a frequency of data transmission ranging between 100 kHzand 1 MHz.The CLOCK signal and DATA signal comply with the “EIA standard RS-422”.The clock frequency (baud rate) depends on the length of the cable and mustcomply with the technical information reported in the following table:

Cable length Baud rate< 50 m < 400 kHz

< 100 m < 300 kHz< 200 m < 200 kHz< 400 m < 100 kHz

The time interval between two Clock sequence transmissions must be at least 16µs ( Tp > 16 µs).

5.4 Helpful information

• The position information increases when the sensor moves in thedirection indicated by the arrow in the Figure 1, starting from a min.value up to a max. value; min. and max. values depend on the specificMTA1 magnetic scale installed in your application.

MAN SMA1 E 2.8.odt 18 www.lika.itwww.lika.biz

Page 19: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

5.5 Recommended SSI circuit

MAN SMA1 E 2.8.odt 19 www.lika.itwww.lika.biz

Page 20: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

6 - BiSS B-mode interface

Order code: SMA1-SBx-...

SMA1 is a Slave device and complies with the “BiSS B-mode interface” and the“Standard encoder profile”.For detailed information not listed in this manual please refer to the officialBiSS website (www.biss-interface.com).The sensor is designed to operate in a point-to-point configuration and has tobe installed in a “single Master, single Slave” network.

WARNINGNever connect the sensor in a “single Master - Multi Slave” network.

CLOCK MA and DATA SLO signal levels comply with the “EIA standard RS-422”.

6.1 XML fileThe product is supplied with an XML file idbiss4C69.xml (see at www.lika.biz> LINEAR ENCODERS > ABSOLUTE MAGNETIC SENSORS > SMA1). Installthe XML file in your BiSS Master device.

6.2 CommunicationThe BiSS B-mode protocol uses two types of data transmission protocols:

Register Mode: this is used to read data from or write data to the registersof the Slave. See the section “6.3 Register Mode” on page 20.

Sensor mode: this is used to transfer process data from the Slave device tothe Master device. See the section “6.4 Sensor mode” on page 21.

6.3 Register ModeMain data fields available in the register mode are described under this section.For the complete structure and information please refer to the officialdocuments supplied by BiSS organization.

Register address(7 bits)This is the address of the register; it specifies the register you need to read fromor write to.

MAN SMA1 E 2.8.odt 20 www.lika.itwww.lika.biz

Page 21: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

DATA(8 bits)When writing to the register: this is the value to be set in the register (i.e.transmitted from the Master to the Slave).When reading from the register: this is the value read in the register (i.e.transmitted from the Slave to the Master).

Data bit structure:bit 7 … … 0

MSB … … LSB

CRC(4 bits)CRC, namely Cyclic Redundancy Check, is the error checking field resulting froma “Redundancy Check” calculation performed on the message contents. This isintended to check whether transmission has been performed properly (invertedoutput).Polynomial: X4+X1+1 (binary: 10011)

Logic circuit:

6.4 Sensor modeSensor mode data (32 bits) consists of the following values: 24-bit positionvalue (Position), 1 error bit (Error, nE), 1 warning bit (Warning, nW) and CRCchecking (CRC, 6 bits).

Sensor data structure:Start DATA Stop

31 … 8 7 6 5 … 0Position Error Warning CRC

WARNINGMulti-cycle-data bit (MCD) is not utilized, thus the Master must not require it!

MAN SMA1 E 2.8.odt 21 www.lika.itwww.lika.biz

1ststage

2ndstage

3rdstage

4thstage

X0 X1 X2 X3

Input Data (starts from MSB)

Page 22: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Position(24 bits)Process data to be transmitted from the Slave to the Master.The transmission starts with the MSB (most significant bit) and ends with theLSB (least significant bit).

bit 31 … 28 27 … 8value 0000 MSB … LSB

To convert the position value into mm, multiply the received data value by theresolution (see 4Dhex Absolute resolution register).

EXAMPLE 1SMA1-SB2-5-..., Absolute resolution = 32 hex, 0.05 mmdetected pulses = 123position = 123 * 0.05 = 6.15 mm

EXAMPLE 2SMA1-SB2-5-..., Absolute resolution = 64 hex, 0.1 mmdetected pulses = 1569position = 1569 * 0.1 = 156.9 mm

Error(1 bit)It is intended to communicate a normal or fault status of the Slave.nE = “1”: normal status (no active error)

= “0”: error status: the scale is not sensed properly.Check the gap between the sensor and the scale, check bothplanarity and parallelism. See the “3 - Mounting instructions”section on page 11.

Warning(1 bit)Not used (nW = “1”)

CRC(6 bits)CRC, namely Cyclic Redundancy Check, is the error checking field resulting froma “Redundancy Check” calculation performed on the message contents. This isintended to check whether transmission has been performed properly (invertedoutput).Polynomial: X6+X1+1 (binary: 1000011)

MAN SMA1 E 2.8.odt 22 www.lika.itwww.lika.biz

Page 23: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Logic circuit:

6.5 Used registers

Register (hex) Function42 - 43 Profile ID44 … 47 Serial number

48 Command49 Configuration4D Absolute resolution

51 … 53 Preset / Offset55 Device type58 SINE / COSINE resolution

78 … 7D Device ID7E - 7F Manufacturer ID

All registers in this section are listed according to the following scheme:

Function name[Address, access]Description of the function and default value.

- Address: register address is expressed in hexadecimal notation.- Access: ro = read only

rw = read and writewo = write only

- Default parameter values are written in bold.

Profile ID[42 - 43, ro]These registers contain the identification code of the used profile.

Register 42 43Hex 28 14

See “Standard encoder profile”, “data format”, “Variant 0-24”.

MAN SMA1 E 2.8.odt 23 www.lika.itwww.lika.biz

1ststage

X1 X2 X3 X5

Input Data (starts from MSB)

X0

2ndstage

3rdstage

4thstage

5thstage

6thstage

X4

Page 24: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Serial number[44 … 47, ro]These registers show the serial number of the device expressed in hexadecimalnotation.Register 44 : year of productionRegister 45 : week of productionRegisters 46 and 47 : serial number in ascending order

Command[48, wo]

Value Function00 Normal operation01 Save parameters on EEPROM02 Save and activate Preset / Offset04 Load and save default parameters

After having set a new value in some register, use the Save parameters onEEPROM function in this register to store it. Set “01” in the register.After having set a Preset / Offset value, use the Save and activate Preset /Offset function in this register to both store and activate the preset / offset atthe same time. Set “02” in the register.Load and save default parameters: default parameters are set at the factoryby Lika Electronic engineers to allow the operator to run the device for standardoperation in a safe mode. As soon as the command is sent the defaultparameters are uploaded and activated. All parameters which have been setpreviously are overwritten, thus previously set values are lost. The complete listof machine data and the relevant default parameters preset by Lika Electronicengineers are available on page 46. Set “04” in the register.

WARNINGAs soon as the Load and save default parameters command is sent, allparameters which have been set previously are overwritten, thus previously setvalues are lost!

As soon as the command is sent, the register is set back to "00" (Normaloperation) automatically.Wait min. 30 ms (EPROM writing time) before using a new function.Default = 00 (Normal operation)

MAN SMA1 E 2.8.odt 24 www.lika.itwww.lika.biz

Page 25: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Configuration[49, rw]

Bit Function Bit = 0 Bit = 10 Select BiSS / SSI BiSS SSI1 Set preset / offset Preset Offset2 Enable preset / offset Enable Disable3 Not used4 Not used5 Output code Gray Binary6 Counting direction * Standard Inverted7 Not used

*: it affects the absolute position information, not the sine/cosine signals

Select BiSS / SSIIt sets whether the output data is transmitted using the BiSS B-mode protocol(0) or the SSI protocol (1).Default = 0 (BiSS B-mode)

Set preset / offsetThis parameter is available only if the parameter Enable preset / offset is set toENABLE. It allows to activate either the preset function (Set preset / offset =PRESET) or the offset function (Set preset / offset = OFFSET); the Preset orOffset value has to be set in the Preset / Offset register. After having enabledthe preset / offset functions (Enable preset / offset = ENABLE), this item allowsto activate either the preset function or the offset function. The value set in thePreset / Offset register will have a different meaning depending on the valueof this parameter whether it is set to PRESET (0) or OFFSET (1). In the first case(Set preset / offset = PRESET) the Preset / Offset register is used to set thepreset value; while in the second case (Set preset / offset = OFFSET) the Preset/ Offset register is used to set the offset value. To activate the preset / offsetvalue use the Save and activate Preset / Offset function in the Commandregister (set “02” in the register 48).For any information on the preset and the offset functions refer to the Preset /Offset register on page 27.Default = 0 (Preset)

Enable preset / offsetIt enables / disables the preset / offset functions. After having enabled the use ofthe functions you have to choose whether to activate the preset or the offset inthe Set preset / offset parameter. Then to active a new value, set it next to thePreset / Offset register and send the Save and activate Preset / Offsetcommand (set “02” in the register 48).Default = 0 (enable)

MAN SMA1 E 2.8.odt 25 www.lika.itwww.lika.biz

Page 26: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Output codeThe sensor provides the absolute position information in the desired codeformat: GRAY (0) or BINARY (1).Default = 1 (Binary)

Counting directionThe standard counting direction is to be intended with sensor moving asindicated by the arrow in Figure 1. This parameter allows to reverse the countingdirection. In other words it allows the count up when the sensor moves inreverse of the standard direction, i.e. in the opposite direction to the one shownby the arrow in Figure 1. It is possible to choose the following options:STANDARD (0) and INVERTED (1). When the counting direction is set toSTANDARD -Counting direction = STANDARD-, the position informationincreases when the sensor moves according to the arrow in Figure 1. When theoption INVERTED is set -Counting direction = INVERTED-, the positioninformation increases when the sensor moves in reverse of the standarddirection, i.e. in the opposite direction to the one shown by the arrow in Figure1.Default = 0 (Standard)

NOTEThe Counting direction parameter affects the absolute position information,not the sine/cosine signals.

The new setting will be active immediately after transmission. Use the Saveparameters on EEPROM function (set “01” in the register 48) to store the newvalue.

Configuration register default value = 20h

Absolute resolution[4D, rw]It allows to read and set the resolution of the absolute sensor.64hex : Resolution = 0.1 mm (max position = 00 FF FFh, 16 bits)32hex : Resolution = 0.05 mm (max position = 01 FF FFh, 17 bits)0Ahex : Resolution = 0.01 mm (max position = 07 FF FFh, 19 bits)05hex : Resolution = 0.005 mm (max position = 0F FF FFh, 20 bits)

The new setting will be active immediately after transmission. Use the Saveparameters on EEPROM function (set “01” in the register 48) to store the newvalue.

NOTEIf the preset / offset functions are active, after having set a new value next tothis Absolute resolution register, then you must check the value in the

MAN SMA1 E 2.8.odt 26 www.lika.itwww.lika.biz

Page 27: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Preset / Offset register and activate it by sending the command Save andactivate Preset / Offset (set “02” in the register 48).Default = 05h.

Preset / Offset[51 … 53, rw]This function is available only if the Enable preset / offset parameter in theConfiguration register is set to ENABLE. Furthermore it has a double functiondepending on whether the Set preset / offset parameter in the Configurationregister is set to PRESET or OFFSET. In the first case (Set preset / offset =PRESET) the Preset / Offset register is used to set the preset value; while in thesecond case (Set preset / offset = OFFSET) the Preset / Offset register is usedto set the offset value.

WARNINGActivate the preset / offset value only when the device is not moving.

PresetThe preset function is meant to assign a value to a desired physical position ofthe sensor. The chosen physical position will get the value set next to this itemand all the previous and following positions will get a value according to it. Thisfunction is useful, for example, when the zero position of the sensor and thezero position of the axis need to match. The preset value will be set for theposition of the sensor in the moment when the preset value is activated. Toactivate the preset, stop the sensor in the desired position, enter the desiredvalue next to this Preset / Offset register and then send the Save and activatePreset / Offset command in the Command register (set “02” in the register 48).

OffsetThe offset function is meant to assign a value to a desired physical position ofthe sensor so that the output position information is shifted according to thevalue set next to this Preset / Offset register. The number of transmitted valueswill match the maximum number of position information as per the setresolution, but the output information will range between the Preset / Offsetvalue (minimum value) and the sum of the max. position information as per theset resolution (see the Absolute resolution register) + the Preset / Offsetvalue (maximum value). The offset value will be set for the position of thesensor in the moment when the offset value is activated. To activate the offset,stop the sensor in the desired position, enter the desired value next to thisPreset / Offset register and then send the Save and activate Preset / Offsetcommand in the Command register (set “02” in the register 48).

MAN SMA1 E 2.8.odt 27 www.lika.itwww.lika.biz

Page 28: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Preset / Offset structure:

Reg. 51 52 53MSB … LSB

223 - 216 215 - 28 27 - 20

Use the Save and activate Preset / Offset function (set “02” in the register 48)to store and activate the new value.The max. allowed Preset value depends on the set resolution:resolution = 0.1 max preset = 00 FF FFh (16 bits)resolution = 0.05 max preset = 01 FF FFh (17 bits)resolution = 0.01 max preset = 07 FF FFh (19 bits)resolution = 0.005 max preset = 0F FF FFh (20 bits)

The Offset value must be less than or equal to the difference between theoverall position information (24 bits, see Position) and the max. positioninformation allowed by the set resolution (see the Absolute resolutionregister).Default = 00h.

Device type[55, ro]This register describes the type of device.Default = 06h: linear encoder BiSS + SINE/COSINE signals

SINE / COSINE resolution[58, ro]This register describes the period of the sine/cosine signals.Default = 01h: resolution = 1 mm

Device ID[78 … 7D, ro]These registers show the Device ID, hexadecimal values are according to ASCIIcode.

Reg. 78 79 7A 7B 7C 7DHex 53 4D 41 31 xx xx

ASCII S M A 1 - -xx: software version

MAN SMA1 E 2.8.odt 28 www.lika.itwww.lika.biz

Page 29: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Manufacturer ID[7E - 7F, ro]These registers show the Manufacturer ID, hexadecimal values are according toASCII code.

Reg. 7E 7FHex 4C 69

ASCII L iLi = Lika Electronic.

6.6 Application noteDevice communication specifications:

Parameter Min MaxClock Frequency Sensor Mode 350 kHz 10 MHz

Clock Frequency Register Mode 80 kHz 250 kHz

Timeout Sensor Mode 1.5 µs 3.5 µsTimeout Register mode 15.5 µs 17.5 µs

6.7 Examples

All values are expressed in hexadecimal notation, unless otherwise indicated.

6.7.1 Setting the Configuration register

Bit 0 Select BiSS / SSI = BiSS = 0Bit 1 Set preset / offset = PRESET = 0Bit 2 Enable preset / offset = ENABLE = 0Bit 3 = not used = 0Bit 4 = not used = 0Bit 5 Output code = BINARY = 1Bit 8 Counting direction = INVERTED = 1Bit 7 = not used = 0

011000002 = 60 hex

Function ADR DATA Txwriting the

Configuration register49 60

Save parameters onEEPROM

48 01

MAN SMA1 E 2.8.odt 29 www.lika.itwww.lika.biz

Page 30: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

6.7.2 Setting the Preset / Offset registerAfter having enabled and chosen the PRESET function (Enable preset / offset= ENABLE; Set preset / offset = PRESET in the Configuration register, see theprevious “6.7.1 Setting the Configuration register“ section), you want to set andactivate the new Preset value = 10000010 = 01 86 A0h

Function ADR DATA Tx

writing the Preset /Offset register

51 0152 8653 A0

Save and activatePreset / Offset

48 02

6.8 Recommended BiSS circuit

MAN SMA1 E 2.8.odt 30 www.lika.itwww.lika.biz

Page 31: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

7 - BiSS C-mode interface

Order code: standard SMA1-I7-…

SMA1 is a Slave device and complies with the “BiSS C-mode interface” and the“Standard encoder profile”.For detailed information not listed in this manual please refer to the officialBiSS website (www.biss-interface.com).The device is designed to operate in a point-to-point configuration and has tobe installed in a “single Master - single Slave” network.

WARNINGNever connect the sensor in a “single Master - Multi Slave” network.

CLOCK MA and DATA SLO signal levels comply with the “RS-422 EIA standard”.

7.1 XML fileThe product is supplied with an XML file idbiss4C69.xml (see at www.lika.biz> LINEAR ENCODERS > ABSOLUTE MAGNETIC SENSORS > SMA1). Installthe XML file in your BiSS Master device.

7.2 CommunicationThe BiSS C-mode protocol uses two types of data transmission protocols:

Single Cycle Data (SCD): this is the primary data transmission protocol. Itis used to transmit the process data from the Slave device to the Masterdevice. See the “7.3 Single Cycle Data” section on page 32.

Control Data (CD): transmission of a single bit following the SCD data. It isused to read data from or write data to the registers of the Slave. See “7.4Control Data CD” section on page 33.

MAN SMA1 E 2.8.odt 31 www.lika.itwww.lika.biz

Page 32: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

7.3 Single Cycle DataSCD (32 bits) consists of the following values: 24-bit position value (Position), 1error bit (Error, nE), 1 warning bit (Warning, nW) and CRC checking (CRC, 6bits).

SCD structure:bits 31…8 7 6 5…0

function Position Error Warning CRC

Position(24 bits)Process data to be transmitted from the Slave to the Master.The transmission starts with the MSB (most significant bit) and ends with theLSB (least significant bit).

bit 31 … 28 27 … 8value 0000 MSB … LSB

To convert the position value into mm, multiply the received data value by theresolution (see 4Dhex Absolute resolution register).

EXAMPLE 1SMA1-SB2-5-..., Absolute resolution = 32 hex, 0.05 mmdetected pulses = 123position = 123 * 0.05 = 6.15 mm

EXAMPLE 2SMA1-SB2-5-..., Absolute resolution = 64 hex, 0.1 mmdetected pulses = 1569position = 1569 * 0.1 = 156.9 mm

Error(1 bit)It is intended to communicate the normal or fault status of the Slave.nE = “1”: correct status (no active error)

= “0”: error status: the scale is not sensed properly.Check the gap between the sensor and the scale, check bothplanarity and parallelism. See the “3 - Mounting instructions”section on page 11.

Warning(1 bit)Not used (nW = “1”)

MAN SMA1 E 2.8.odt 32 www.lika.itwww.lika.biz

Page 33: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

CRC(6 bits)CRC, namely Cyclic Redundancy Check, is the error checking field resulting froma “Redundancy Check” calculation performed on the message contents. This isintended to check whether transmission has been performed properly (invertedoutput).Polynomial: X6+X1+1 (binary: 1000011)

Logic circuit:

7.4 Control Data CDFor complete CD structure information please refer to the official BiSSdocuments: “Protocol description C-mode”.Main control data is described in this section.

Register address(7 bits)This is the address of the register; it specifies the register you need to read fromor write to.

RW(2 bits)It sets whether you need to write to the register (RW = “01”) or to read fromthe register (RW = “10”).RW = “01” : when you need to write to the registerRW = “10” : when you need to read from the register

DATA(8 bit)When writing to the register (RW = “01”): this is the value to be set in theregister (i.e. transmitted from the Master to the Slave).When reading from the register (RW = “10”): this is the value to be read in theregister (i.e. transmitted from the Slave to the Master).

MAN SMA1 E 2.8.odt 33 www.lika.itwww.lika.biz

1ststage

X1 X2 X3 X5

Input Data (starts from MSB)

X0

2ndstage

3rdstage

4thstage

5thstage

6thstage

X4

Page 34: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Data bit structure:

bit 7 … … 0MSB … … LSB

CRC(4 bits)CRC, namely Cyclic Redundancy Check, is the error checking field resulting froma “Redundancy Check” calculation performed on the message contents. This isintended to check whether transmission has been performed properly (invertedoutput).Polynomial: X4+X1+1 (binary: 10011)

Logic circuit:

7.5 Used registers

Register (hex) Function42 - 43 Profile ID44 … 47 Serial number

48 Command49 Configuration4D Absolute resolution

51 … 53 Preset / Offset55 Device type58 SINE / COSINE resolution

78 … 7D Device ID7E - 7F Manufacturer ID

All registers in this section are listed according to the following scheme:

Function name[Address, access]Description of the function and default value.

- Address: register address expressed in hexadecimal notation.

MAN SMA1 E 2.8.odt 34 www.lika.itwww.lika.biz

1ststage

2ndstage

3rdstage

4thstage

X0 X1 X2 X3

Input Data (starts from MSB)

Page 35: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

- Access: ro = read onlyrw = read and writewo = write only

- Default parameter values are written in bold.

Profile ID[42 - 43, ro]These registers contain the identification code of the used profile.

Register 42 43Hex 28 14

See “Standard encoder profile”, “data format”, “Variant 0-24”.

Serial number[44 … 47, ro]These registers show the serial number of the device expressed in hexadecimalnotation.Register 44 : year of productionRegister 45 : week of productionRegisters 46 and 47 : serial number in ascending order

Command[48, wo]

Value Function00 Normal operation01 Save parameters on EEPROM02 Save and activate Preset / Offset04 Load and save default parameters

After having set a new value in some register, use the Save parameters onEEPROM function in this register to store it. Set “01” in the register.After having set a Preset / Offset value, use the Save and activate Preset /Offset function in this register to both store and activate the preset / offset atthe same time. Set “02” in the register.Load and save default parameters: default parameters are set at the factoryby Lika Electronic engineers to allow the operator to run the device for standardoperation in a safe mode. As soon as the command is sent the defaultparameters are uploaded and activated. All parameters which have been setpreviously are overwritten, thus previously set values are lost. The complete listof machine data and the relevant default parameters preset by Lika Electronicengineers are available on page 46. Set “04” in the register.

MAN SMA1 E 2.8.odt 35 www.lika.itwww.lika.biz

Page 36: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

WARNINGAs soon as the Load and save default parameters command is sent, allparameters which have been set previously are overwritten, thus previously setvalues are lost!

As soon as the command is sent, the register is set back to "00" (Normaloperation) automatically.Wait min. 30 ms (EPROM writing time) before using a new function.Default = 00 (Normal operation)

Configuration[49, rw]

Bit Function bit=0 bit=10 Not used1 Set preset / offset Preset Offset2 Enable preset / offset Enable Disable3 Not used4 Not used5 Output code Gray Binary6 Counting direction * Standard Inverted7 Not used

*: it affects the absolute position information, not the sine/cosine signals

Set preset / offsetThis parameter is available only if the Enable preset / offset parameter is set toENABLE. It allows to activate either the preset function (Set preset / offset =PRESET) or the offset function (Set preset / offset = OFFSET); the Preset orOffset value has to be set in the Preset / Offset register. After having enabledthe preset / offset functions (Enable preset / offset = ENABLE), this item allowsto activate either the preset function or the offset function. The value set in thePreset / Offset register will have a different meaning depending on the valueof this parameter whether it is set to PRESET (0) or OFFSET (1). In the first case(Set preset / offset = PRESET) the Preset / Offset register is used to set thepreset value; while in the second case (Set preset / offset = OFFSET) the Preset/ Offset register is used to set the offset value. To activate the preset / offsetvalue use the Save and activate Preset / Offset function in the Commandregister (set “02” in the register 48).For any information on the preset and offset functions refer to the Preset /Offset register on page 38.Default = 0 (Preset)

Enable preset / offsetIt enables / disables the preset / offset functions. After having enabled the use ofthe functions you have to choose whether to activate the preset or the offset in

MAN SMA1 E 2.8.odt 36 www.lika.itwww.lika.biz

Page 37: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

the Set preset / offset parameter. Then to activate a new value, set it next tothe Preset / Offset register and send the Save and activate Preset / Offsetcommand (set “02” in the register 48).Default = 0 (enable)

Output codeThe sensor provides the absolute position information in the desired codeformat: GRAY (0) or BINARY (1).Default = 1 (Binary)

Counting directionThe standard counting direction is to be intended with sensor moving asindicated by the arrow in Figure 1. This parameter allows to reverse the countingdirection. In other words it allows the count up when the sensor moves in thereverse of the standard direction, i.e. in the opposite direction to the one shownby the arrow in Figure 1. It is possible to choose the following options:STANDARD (0) and INVERTED (1). When the counting direction is set toSTANDARD -Counting direction = STANDARD-, the position informationincreases when the sensor moves according to the arrow in Figure 1. When theoption INVERTED is set -Counting direction = INVERTED-, the positioninformation increases when the sensor moves in reverse of the standarddirection, i.e. in the opposite direction to the one shown by the arrow in Figure1.Default = 0 (Standard)

NOTEThe Counting direction parameter affects the absolute position information,not the sine/cosine signals.

The new setting will be active immediately after transmission. Use the Saveparameters on EEPROM function (set “01” in the register 48) to store the newvalue.

Configuration register default value = 20h

Absolute resolution[4D, rw]It allows to read and set the resolution of the absolute sensor.64hex : Resolution = 0.1 mm (max position = 00 FF FFh, 16 bits)32hex : Resolution = 0.05 mm (max position = 01 FF FFh, 17 bits)0Ahex : Resolution = 0.01 mm (max position = 07 FF FFh, 19 bits)05hex : Resolution = 0.005 mm (max position = 0F FF FFh, 20 bits)

MAN SMA1 E 2.8.odt 37 www.lika.itwww.lika.biz

Page 38: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

The new setting will be active immediately after transmission. Use the Saveparameters on EEPROM function (set “01” in the register 48) to store the newvalue.

NOTEIf the preset / offset functions are active, after having set a new value next tothis Absolute resolution register, then you must check the value in thePreset / Offset register and activate it by sending the Save and activatePreset / Offset command (set “02” in the register 48).Default = 05h.

Preset / Offset[51 … 53, rw]This function is available only if the Enable preset / offset parameter in theConfiguration register is set to ENABLE. Furthermore it has a double functiondepending on whether the Set preset / offset parameter in the Configurationregister is set to PRESET or OFFSET. In the first case (Set preset / offset =PRESET) the Preset / Offset register is used to set the preset value; while in thesecond case (Set preset / offset = OFFSET) the Preset / Offset register is usedto set the offset value.

WARNINGActivate the preset / offset value only when the device is not moving.

PresetThe Preset function is meant to assign a value to a desired physical position ofthe sensor. The chosen physical position will get the value set next to this itemand all the previous ad following positions will get a value according to it. Thisfunction is useful, for example, when the zero position of the sensor and thezero position of the axis need to match. The preset value will be set for theposition of the sensor in the moment when the preset value is activated. Toactivate the preset, stop the sensor in the desired position, enter the desiredvalue next to this Preset / Offset register and then send the Save and activatePreset / Offset command in the Command register (set “02” in the register 48).

OffsetThe offset function is meant to assign a value to a desired physical position ofthe sensor so that the output position information is shifted according to thevalue next to this Preset / Offset register. The number of transmitted valueswill match the max number of position information as per the set resolution,but the output information will range between the Preset / Offset value(minimum value) and the sum of the max. position information as per the setresolution (see the Absolute resolution register) + the Preset / Offset value(maximum value). The offset value will be set for the position of the sensor inthe moment when the offset value is activated. To activate the offset, stop thesensor to the desired position, enter the desired value next to this Preset /

MAN SMA1 E 2.8.odt 38 www.lika.itwww.lika.biz

Page 39: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Offset register and then send the Save and activate Preset / Offset commandin the Command register (set “02” in the register 48).

Preset / Offset structure:

Reg. 51 52 53MSB … LSB

223 - 216 215 - 28 27 - 20

Use the Save and activate Preset / Offset function (set “02” in the register 48)to store and activate the new value.The max. allowed Preset value depends on the set resolution.resolution = 0.1 max preset = 00 FF FFh (16 bits)resolution = 0.05 max preset = 01 FF FFh (17 bits)resolution = 0.01 max preset = 07 FF FFh (19 bits)resolution = 0.005 max preset = 0F FF FFh (20 bits)

The Offset value must be less than or equal to the difference between theoverall position information (24 bits, see Position) and the max. positioninformation allowed by the set resolution (see the Absolute resolutionregister).Default = 00h.

Device type[55, ro]This register describes the type of device.Default = 06h: linear encoder BiSS + SINE/COSINE signals.

SINE / COSINE resolution[58, ro]This register describes the period of the sine/cosine signal.Default = 01h: resolution = 1mm

Device ID[78 … 7D, ro]These registers show the Device ID, hexadecimal values are according to ASCIIcode.

Reg. 78 79 7A 7B 7C 7DHex 53 4D 41 31 xx xx

ASCII S M A 1 - -xx: software version

MAN SMA1 E 2.8.odt 39 www.lika.itwww.lika.biz

Page 40: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

Manufacturer ID[7E – 7F, ro]These registers show the Manufacturer ID, hexadecimal values are according toASCII code.

Reg. 7E 7FHex 4C 69

ASCII L iLi = Lika Electronic.

7.6 Application noteDevice communication specifications:

Parameter ValueClock Frequency min 200 kHz, max 10 MHz

BiSS Timeoutauto adaptation to clock,

max 16 µs

Internal position updatefrequency

6 kHz

7.7 ExamplesAll values are expressed in hexadecimal notation, unless otherwise indicated.

7.7.1 Setting the Configuration registerBit 0 = not used = 0Bit 1 Set preset / offset = PRESET = 0Bit 2 Enable preset / offset = ENABLE = 0Bit 3 = not used = 0Bit 4 = not used = 0Bit 5 Output code = BINARY = 1Bit 8 Counting direction = INVERTED = 1Bit 7 = not used = 0

011000002 = 60 hex

Function ADR DATA Txwriting the

Configuration register49 60

Save parameters onEEPROM

48 01

MAN SMA1 E 2.8.odt 40 www.lika.itwww.lika.biz

Page 41: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

7.7.2 Setting the Preset / Offset registerAfter having enabled and chosen the PRESET function (Enable preset / offset= ENABLE; Set preset / offset = PRESET in the Configuration register, see theprevious “7.7.1 Setting the Configuration register“ section), you want to set andactivate the new Preset value = 10000010 = 01 86 A0h

Function ADR DATA Tx

writing the Preset /Offset register

51 0152 8653 A0

Save and activatePreset / Offset

48 02

7.8 Recommended BiSS circuit

MAN SMA1 E 2.8.odt 41 www.lika.itwww.lika.biz

Page 42: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

8 - 1Vpp sine/cosine output signals

WARNING1Vpp sine/cosine output signals are only available for SMA1-SBx-... and SMA1-SCx-... order codes.

The frequency of sine/cosine output signals is proportional to the displacementspeed of the sensor.A (COSINE) and B (SINE) signals (standard counting direction, see Figure 1)

P is the electrical period length.P = 1 mm, i.e. the resolution.

NOTEPlease note that the counting direction function available in the BiSS interfaceonly affects the absolute position information, not the sine/cosine signals.

8.1 Output signals voltage levelThe voltage level refers to the differential value between normal and invertedsignal (differential).

Recommended input circuit

Sensor Input circuit

VREF = 2.5V ± 0.5V VA = 1Vpp * Av Av = R2 / R1

MAN SMA1 E 2.8.odt 42 www.lika.itwww.lika.biz

Page 43: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

9 - Error and fault diagnosticsIn case of wrong alignment between the sensor and the magnetic scale, atpower on or during operation the following errors may occur: the LED lights up when switching on the system: there is a wrong

alignment; it may cause invalid data to be transmitted; please install thesensor properly; as soon as the sensor is aligned correctly the LED switchesoff;

the LED lights up during operation: the last valid position is “frozen” (kept inmemory) until the next valid position is detected on the scale.

9.1 Diagnostic LEDWhen the LED lights up, it indicates that an error is active, such as for instancean incorrect alignment between the sensor and the scale: the gap between the sensor and the scale is out of tolerance (see Figure 2) the sensor is not installed properly the sensor or the scale are installed upside down the sensor is installed in the opposite direction to the one shown in the

Figure 1 the sensor is travelling too fast the power supply is not as required

With BiSS interface, the device status is transmitted via the nE bit (see the Errorbit on pages 22 and 32).

NOTEWhen the LED is off, this means that the sensor is working properly and theabsolute position is output correctly. Please note that the sine-cosine signalsdoes not affect the LED operation.

For further information refer also to the “11 - Troubleshooting” section on page45.

MAN SMA1 E 2.8.odt 43 www.lika.itwww.lika.biz

Page 44: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

10 - Maintenance

The magnetic measurement system does not need any particular maintenance;anyway it has to be handled with the utmost care as any delicate electronicequipment. From time to time we recommend the following operations: periodically check the soundness of the structure and make sure that there

are no loose screws; tighten them if necessary; check the gap between the sensor and the magnetic scale all along the

whole measuring length. Wear of the machine may increase the tolerances; the surface of the magnetic scale has to be regularly cleaned using a soft

and clean cloth to remove dust, chips, moisture etc.

MAN SMA1 E 2.8.odt 44 www.lika.itwww.lika.biz

Page 45: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

11 - Troubleshooting

The following list shows some typical faults that may occur during installationand operation of the magnetic measurement system.

FaultThe system does not work (no pulse output).

Possible cause The scale and/or the sensor are not installed properly (the active surface of

the scale does not match the sensitive part of the sensor). For correctinstallation please refer to the “3 - Mounting instructions” section on page11. The diagnostic LED is lit.

A magnetic part or a protection surface is interposed between the sensorand the scale. Only non-magnetic materials are allowed between the sensorand the scale. The diagnostic LED is lit.

Installation does not comply with the tolerance gap between the sensor andthe scale indicated in this guide; the sensor hits the surface of the scale or istoo far from it. Check whether the sensor sensitive part is damaged.

The sensor has been damaged by short circuit or wrong connection.

FaultThe measured values are either inaccurate or not provided in the whole length.

Possible cause The gap between the sensor and the scale is not respected all along the

whole measuring length (see the “3 - Mounting instructions” section). Thediagnostic LED is lit.

The sensor is not installed properly on the scale (see the “3 - Mountinginstructions” section). The diagnostic LED is lit.

The connection cable runs near high voltage cables or the shield is notconnected properly.

The frequency of the Master clock is set too high or too low and thetransmission cannot be synchronized correctly (see the sections “5 - SSIinterface”, “6 - BiSS B-mode interface” and “7 - BiSS C-mode interface”).

A section of the magnetic scale has been damaged mechanically ormagnetically along the measuring length.

The measuring error is caused by a torsion in the machine structure. Checkparallelism and symmetry in the movement of the machine.

For further information refer also to the “9 - Error and fault diagnostics” sectionon page 43.

MAN SMA1 E 2.8.odt 45 www.lika.itwww.lika.biz

Page 46: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

SMA1

12 - Default parameters list

BiSS B-mode interfaceParameters list Default value *Command 00Configuration 20Bit 0 Select BiSS / SSI 0 = BiSSBit 1 Set preset / offset 0 = PresetBit 2 Enable preset / offset 0 = EnableBit 3 not used 0Bit 4 not used 0Bit 5 Output code 1 = BinaryBit 6 Counting direction 0 = StandardBit 7 not used 0

Absolute resolution 05Preset / Offset 00 00 00

BiSS C-mode interfaceParameters list Default value *Command 00Configuration 20Bit 0 not used 0Bit 1 Set preset / offset 0 = PresetBit 2 Enable preset / offset 0 = EnableBit 3 not used 0Bit 4 not used 0Bit 5 Output code 1 = BinaryBit 6 Counting direction 0 = StandardBit 7 not used 0

Absolute resolution 05Preset / Offset 00 00 00

* All values are expressed in hexadecimal notation.

MAN SMA1 E 2.8.odt 46 www.lika.itwww.lika.biz

Page 47: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

This page intentionally left blank

Page 48: SMA1 User's guide in Englishtechnology-link.sakura.ne.jp/docs/Lika/Manual/Manual in...This icon, followed by the word NOTE, is meant to highlight the parts of the text where important

Document release Release date Description HW SW Interface1.0 13.12.2006 First issue

1.1 29.04.2008Added CRC calculations“Operating parameters”: default=0

1.2 05.05.2008 “4 - Electrical connections“ Section update2.0 16.05.2008 SW update

2.1 03.10.2008Added SSI interface“4 - Electrical connections“ section update

2.2 07.11.2008 Note about MCD bit (section “6.4 Sensor mode“)2.3 12.10.2010 “5 - SSI interface“ section update2.4 28.08.2013 General amendment, mounting instructions added2.5 23.05.2014 Section 6.2 update2.6 06.08.2014 “3 - Mounting instructions“ section update2.7 20.04.2016 General review, new BiSS order codes2.8 11.05.2016 M12 12-pin connector added

Lika ElectronicVia S. Lorenzo, 25 • 36010 Carrè (VI) • Italy

Tel. +39 0445 806600Fax +39 0445 806699

[email protected] • www.lika.biz