Page 1
O P E R A T I N G I N S T R U C T I O N S AFS60 PROFINET AFM60 PROFINET Absolute Encoder...
Page 2
Legal information This document is protected by the law of copyright. Whereby all rights established therein remain with the company SICK STEGMANN GmbH. Reproduction of this document or parts of this document is only permissible within the limits of the legal determination of Copyright Law.
Code sequence ................37 3.6.2 Class 4 functionality ............... 37 3.6.3 G1_XIST1 preset control..............38 3.6.4 Scaling....................38 3.6.5 Alarm channel control ..............38 3.6.6 Compatibility mode................. 38 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Page 4
Configuring encoder as technology object ............. 50 Test notes ......................53 Troubleshooting ................54 In the event of faults or errors ................. 54 SICK STEGMANN support................. 54 Diagnostics ......................54 5.3.1 Error and status indications on the LEDs........54 Error transmission via PROFINET ..............55 5.4.1...
AFS60/AFM60 PROFINET or who are in charge of servicing and maintaining the device. These instructions are written for trained persons who are responsible for the in- stallation, mounting and operation of the AFS60/AFM60 PROFINET in an industrial environment. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Read carefully and follow the warning notices. Abbreviations used CNR_D Customized Number of Revolutions, Divisor = divisor of the customized number of revolutions CNR_N OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Page 7
Programmable Logic Controller Physical Measuring Range Process Field Network PROFINET Programmable Logic Controller Transmission Control Protocol/Internet Protocol TCP/IP User Datagram Protocol (connectionless network protocol)/Internet Protocol UDP/IP 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
In case of any other usage or modifications to the AFS60/AFM60 PROFINET, e.g. open- ing the housing during mounting and electrical installation, or in case of modifications to the SICK software, any claims against SICK STEGMANN GmbH under warranty will be rendered void.
Shaft Stainless steel Scrap metal Flange Aluminium Scrap metal Housing Aluminium die cast Scrap metal Electronic assemblies Various Electronic waste Table 2: Disposal of the assemblies 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Supports the diagnostic functions “General diagnosis history” and “Error counter history” Supports the function “External Default Setting” Table 3: Special features of the encoder variants OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
The number of steps in a turn is acquired optically via an internal code disk. The number of turns is acquired using a magnetic gearbox. The AFS60 PROFINET is a singleturn encoder Singleturn encoders are used if absolute acquisition of the rotation of a shaft is required.
For the nominator for the number of revolutions 125 is configured, 10 as the divisor = 12.5). After 12.5 revolutions (that is after one complete revolution of the rotary table) the encoder reaches the total resolution of 9,000. OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
PROFINET (output data) and also produces data for the PROFINET itself (input data). The AFS60/AFM60 PROFINET complies with the guidelines of the encoder profile version 4.1 class 3 with the encoder profile number 3D00h. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
3.3.3 GSDML file Common configuration tools (e.g. Siemens TIA Portal V13) require a GSDML file to integrate the device into the network. The GSDML file GSDML-V2.25-SICK-AFx60-xxxxxxxx.xml for the AFS60/AFM60 PROFINET is available at www.sick.com for download. OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET...
Number of output Number of input data words data words Telegram 81 Telegram 82 Telegram 83 Telegram 84 65,535 EO module representative (MAP) Table 4: Submodules 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Encoder Sensor 1 Position 1 Position 2 state word 2 state word Table 7: Input data in telegram 81 Signal numbers as per encoder profile V4.1. OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Encoder Sensor 1 Position 1 Position 2 Speed state word state word Table 9: Input data in telegram 82 Signal numbers as per encoder profile V4.1. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Data word Value G1_XIST2 G1_XIST2 NIST_B NIST_B Signal Length 32 Bit 32 Bit Meaning Position 2 Speed B Table 11: Input data in telegram 83 OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
NIST_B Signal Length 32 Bit 32 Bit Meaning Position 2 Speed B Table 13: Input data in telegram 84 Signal numbers as per encoder profile V4.1. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
To activate the preset value, bit 10 in control word STW2_ENC has to be set: STW2_ENC = 0400h (Not relevant when using encoder profile version 3) OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Reaction to bit 15 in the sensor control word 1 G1_STW is acknowledged (see Table 14) Reserved – 9 … 0 Not supported – Table 15: Sensor 1 state word (G1_ZSW) 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
To transmit the position value in the telegram part G1_XIST2, corresponding bits must be set in the control words: ○ G1_STW = 2000h ○ STW2_ENC = 0400h OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
0 = No control by the PLC requested 1 = Control by the PLC requested 8 … 0 Reserved – Table 22: Encoder state word 2 (ZSW2_ENC) 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
B02Eh as function parameters. A Request parameter is transmitted to the encoder using WRREC. The reply, Response parameter, is then read using the function RDREC. OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
FDE8h = 65,000 0001h … FFFFh 4 … 5 Subindex Subindex for the first element 0000h … FFFEh that is accessed Table 25: Structure of the parameter address 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Number of Number of values that follow 00h … EAh elements 2 … x Values Values of the parameter – Table 28: Structure of the parameter value OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Request reference returned Request ID Axis no./DO-ID returned Number of parameters Format Number of values Value 00000064h (64h = 100) Table 30: Response example for reading a parameter 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Description Value Request reference returned Request ID 02h (= parameter change successful) Axis no./DO-ID returned Number of parameters Table 32: Response example to write a parameter OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
PROFIdrive DO type classification 00.05h 5 = Encoder PROFIdrive DO subclassification 1 40.00h Bit 14 = 1: Encoder Class 3 01000000.0000000 R = Read access, W = Write access. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Page 30
MAC port 2 1,012 FPGA version 1,013 Operating temperature 1,014 Name of the station (of the encoder) 61,000 IP address of the station (of the 61,001 encoder) OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Subnet mask of the station (of the 61,004 encoder) Preset value (is saved in EEPROM) 65,000 Operating status 65,001 End of the list Table 33: PROFIdrive-specific parameters 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Maximum operating temperature in °C 0 … FF.FF.FF.FFh Minimum operating temperature in °C 0 … FF.FF.FF.FFh (must be interpreted as INT-32) R = Read access, W = Write access. OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Page 33
1 … 255 Bit 8 1 … 255 Bit 9 1 … 255 Bit 10 1 … 255 Bit 11 1 … 255 Bit 12 1 … 255 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Page 34
Defines the lower limit for the supply 9,000 voltage allowed in mV 24,000 Defines the upper limit for the supply 10,000 voltage allowed in mV 30,000 OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
FPGA version UINT-32 Example: DWORD Value = 00010200h Version = 1.2.0 1,014 Operating temperature INT-16 Current operating temperature in °C WORD Table 34: Vendor specific parameters 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
If the parameter is deactivated (disable), the settings for the following parameters are fixed: Code sequence = clockwise Scaling = off No preset via telegram or preset pushbutton possible 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
The resolution is max. 262,144 steps per revolution. The resolution can be scaled from 1 … 262,144 as an integer. NOTE The parameter is not used if the round axis functionality (see 3.6.12 on page 40) is activated. OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Word (LSDW) and as Most Significant Double Word (MSDW). NOTE On the singleturn variant AFS60 PROFINET the entire measuring range must match the measuring range per revolution (see section 3.6.7 on page 38). Both parameters must be configured with exactly the same value! The total resolution, that is the measuring range, is max.
Preset value The Preset value parameter contains the value that is transmitted to the encoder with the parameter Transmit preset value (see section 3.6.11 on page 40). OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
The LEDs are multi-colored. Table 40 on page 54 and Table 43 on page 55 show the meaning of the signals. The preset push-button is under the screw cover. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Port 1 Voltage supply Port 2 M12 × 4, female connector M12 × 4, plug M12 × 4, female connector Figure 8: Connections of the AFS60/AFM60 PROFINET OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Page 43
Connect the screen to the encoder’s housing! Pay attention to the maximum cable lengths. Mount all cables with strain relief. On the usage of pre-wired cables. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Open the screw cover using a screwdriver for slot-head screws with a blade width of min. 10.0 mm. Preset push-button Address switches Figure 9: Position of the controls OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
In the Hardware catalog open the Other Field Devices, PROFINET IO, Encoders, SICK AG, SICK folder and finally the AFx60A folder. Here there is a dedicated icon for each of the two variants of the encoder (see Table 3 on page 10).
Access Point. For the possible parameter settings, see section 3.6 on page 37. Configuration data Figure 13: Configuration data The AFS60/AFM60 PROFINET is supplied with the configuration data shown. OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Set bit 13 of the control word G1_STW to 1 (= 2000h). This results in the cyclic output of the position value in G1_XIST2 (see Table 14 on page 20). 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Set the parameter Transmit preset value to Enable. Set the parameter Preset value e.g. to 600. Figure 17: Vendor specific configuration data for a preset value OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
To be able to set the preset value again, you must again set bit 12 of G1_STW to 0. Due to the shift of two bits, in the decimal depiction the value is four times the preset value (in the example 2400 instead of 600). 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET...
As Motion Control choose TO_ExternalEncoder () (for an external encoder). If necessary, enter a type code for the encoder in the Type field () (e.g. AFx60). Click OK (). OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
○ ○ AFM60 = 2 In the Bits in incr. actual value (Gn_XIST2) () field enter the value 0. Then click Device configuration (). OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Stop the machine if you cannot clearly identify or allocate the error and if you cannot safely rectify the malfunction. SICK STEGMANN support If you cannot remedy an error with the help of the information provided in this chapter, please contact your local SICK STEGMANN representative. Diagnostics 5.3.1 Error and status indications on the LEDs...
15 of the sensor 1 control word (G1_STW). This is only possible if the cause of the error has been rectified and the status of the encoder is within the defined limits. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET...
Internal interface between EEPROM and sensor for the encoder. Output signal from the encoder sensor. Internal Hall sensor that determines the multiturn position magnetically. LY = internal sensor for the singleturn position. OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Page 57
Warning in relation to the temperature: Current measured value outside of the minimum or maximum limit – Warning: General start-up error at power-on Table 44: Subindex .0 – Sensor status (S_STAT-A) 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Page 58
Warning, occurred on changing or writing parameter values: In the area of the encoder profile specific objects – Reserved Table 45: Subindex .1 – Sensor status (S_STAT-B) OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Page 59
Bit 1 = 1 and Bit 0 = 0: Save operation complete Bit 1 = 0 and Bit 0 = 1: Save operation requested and operation in progress Table 46: Subindex .2 – Sensor status (S_STAT-C) 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Short-circuit 0 = Not supported Overvoltage 1 = Supported Undervoltage 1 = Supported Position error 1 = Supported Table 48: Subindex .3 – Supported error messages OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Page 61
1 control word (G1_STW). This is only possible if the cause of the error has been rectified and the status of the encoder is within the defined limits. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET...
Minimum operating voltage dropped below. The encoder is started again once the minimum operating voltage is reached. 1004h Overvoltage Maximum operating voltage exceeded Table 53: Error codes in telegram part G1_XIST2 OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
The encoder is reset to the factory settings and the device name is deleted. Connect the two Ethernet cables to the encoder. The configuration from the old encoder is loaded onto the new encoder. 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
EU directive(s) (including all applicable amendments), and that the respective standards and/or technical specifications are taken as the basis. Complete EU declaration of conformity for download: www.sick.com OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Encoder profile-specific parameters............36 Table 36: Bits of the index 65.001.01 ..............37 Table 37: Examples for the total resolution of the AFM60 PROFINET ....39 OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Page 67
Possible errors in the alarm channel............62 Table 52: Possible warnings in the alarm channel ..........62 Table 53: Error codes in telegram part G1_XIST2........... 62 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Page 68
LIST OF TABLES OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Page 69
LIST OF TABLES 8015078/145N/2019-05-24 | SICK STEGMANN OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET Subject to change without notice...
Page 70
LIST OF TABLES OPERATING INSTRUCTIONS | AFS60/AFM60 PROFINET 8015078/145N/2019-05-24 | SICK STEGMANN Subject to change without notice...
Need help?
Do you have a question about the AFS60 PROFINET and is the answer not in the manual?
Questions and answers