Page 1
English Operating and configuration instructions UO-SPN-1 PROFINET module PROFINET IO interface and PROFIsafe profile ® U-ONE -SAFETY-LWL Universal encoder system – Generation II Read the configuration manual before completing assembly, starting installation and carrying out other work. Store the manual for future use.
Page 2
UO-SPN-1 Operating and configuration manual Manufacturer / Publisher Johannes Hübner Phone: +49 641 7969 0 Fabrik elektrischer Maschinen GmbH Fax: +49 641 73645 Siemensstr. 7 Internet: www.huebner-giessen.com 35394 Giessen / Germany E-Mail: info@huebner-giessen.com Further current information on this product series can be found online in our Service Point.
UO-SPN-1 Operating and configuration manual Table of Contents 1 General information ......................6 1.1 Information on the Operating and assembly manual ........... 6 1.2 Scope of delivery ......................6 1.3 Explanation of symbols ....................6 1.4 Warranty and liability....................7 1.5 Organisational measures ....................
Page 4
UO-SPN-1 Operating and configuration manual 6.2 F-Parameter ......................31 Non-adjustable F-Parameters ................32 Adjustable F-Parameters ................... 32 7 Create security program - Example configuration ............33 7.1 Requirements ......................34 7.2 Hardware configuration ..................... 35 Set the hardware configuration properties ............39 7.3 Configuration ......................
Page 5
UO-SPN-1 Operating and configuration manual 11.3 Information on functional safety ................65 Safety function principle ..................65 Safe state ......................66 Required security reviews / measures ..............66 12 Inspections ........................67 12.1 Maintenance information ................... 67 13 Transportation, packaging and storage ............... 67 13.1 Transportation safety information ................
This operating and assembly manual provides important information for using the UO-SPN-1 electronic function module. It must be read carefully before beginning any work and observed. The UO-SPN-1 electronic function module is referred to in the following documentation as the SPN.
UO-SPN-1 Operating and configuration manual Warranty and liability Only the “General Terms and Conditions” of Johannes Hübner Fabrik elektrischer Maschinen GmbH apply. These will be provided to the operator at the latest when the order is confirmed or when the contract is concluded. All warranty and liability claims for personal injury and property...
UO-SPN-1 Operating and configuration manual Basic safety information DANGER! This section provides an overview of all significant safety aspects necessary to protect personnel and ensure safe, fault-free operation of the function module. Failure to observe this information may result in significant danger.
UO-SPN-1 Operating and configuration manual Improper use WARNING! Danger of death, physical injury and property damage due to improper use of the function module! In particular, the following uses are prohibited: Use in environments with an explosive atmosphere. Use in environments with radioactive radiation.
UO-SPN-1 Operating and configuration manual Assembly Safety information WARNING! Assembly and disassembly may only be carried out by qualified personnel. In general, the requirements and acceptance conditions for the system as a whole must be observed. DANGER! ATTENTION! Danger of death, severe physical injury and/or property damage due to deactivating safety functions, caused by an unsecured shaft drive.
SPN function module 1: Variation 1 Electrical data Information Value Supply voltage Delivered to the SCU module via the bus connector Additional UO-SPN-1 module < 4 W power consumption 28 Bit Overall resolution Protective class in accordance IP20 for cabinet installation Degree of protection of cabinet: ≥...
UO-SPN-1 Operating and configuration manual Information Value Additional functions Preset Parameter Configurable via PROFINET IO 50 ms…500 ms Integration time Safe 5 ms…500 ms Integration time Unsafe 50…4000 increments Monitoring window size 1…5 increments/integration time Safe Standstill tolerance preset Counting direction...
UO-SPN-1 Operating and configuration manual lines and stubs can be combined. Since the US 42-PROFINET module already has an inte- grated switch, the line topology can be easily created. Only cables and plug connectors for which the manufacturer has issued a PROFINET manufac- turer declaration may be used.
UO-SPN-1 Operating and configuration manual Module status display Operating status Status LED Bus status flashing yel- Start low/green ready for oper- 2 Hz ation ready for oper- normal green ation flashing yellow/red bootloader ready for oper- 1 Hz ation flashing yellow...
UO-SPN-1 Operating and configuration manual PROFINET IO / PROFIsafe – Commissioning PROFINET IO Important information on commissioning is provided in the PROFINET commissioning guidelines, order no.: 8,081 This and further information on the PROFINET or PROFIsafe is available from the office of the PROFIBUS user organisation: PROFIBUS Nutzerorganisation e.V.
UO-SPN-1 Operating and configuration manual Address assignment Parameter Standard Description value The measurement system has a stored MAC address upon delivery as a standard feature. This is – address printed on the device's type plate, e.g. “00:03:12:04:00:60”, and cannot be modified.
UO-SPN-1 Operating and configuration manual Start-up on the PROFINET IO Following a successful start-up, IO devices will independently begin data transmission. A PROFINET-IO communication relationship always follows the provider-consumer model. During cyclical transmission of the measured value, the IO device is the provider of the data, while the IO controller (such as a PLC) is the consumer.
Page 18
UO-SPN-1 Operating and configuration manual Structure of output data Byte Input data Control1 Unsigned16 Control2 Unsigned16 Preset, Multi-Turn Integer16 Preset, Single-Turn Integer16 Safe Control Unsigned8 X+10 CRC2 3 Bytes X+11 Input data Cam: Unsigned16 Byte 15 – 8 7 – 0 –...
Page 19
UO-SPN-1 Operating and configuration manual Status: Unsigned16 Byte 15 – 8 7 – 0 – 2 – 2 Data Description Preset_Status — This bit is set when the F-Host triggers a preset query. The bit is reset automatically after the end of Preset execution, see also section 9.
Page 20
UO-SPN-1 Operating and configuration manual Multi-Turn / Single-Turn Multi-Turn, Integer16 Single-Turn, Integer16 Byte 15 – 8 7 – 0 15 – 8 7 – 0 – 2 – 2 – 2 – 2 Data The number of revolutions is noted in the Multi-Turn tab, while the current Single-Turn posi- tion in steps is noted in the Single-Turn tab.
Page 21
UO-SPN-1 Operating and configuration manual Description This bit is set when the set Watchdog time F_WD_Time in the F-parameters has been exceeded. A valid, current security telegram must be received from the F- Host within this time; otherwise, the measurement system is transitioned to a fail- safe state and outputs its passivated data.
Page 22
UO-SPN-1 Operating and configuration manual Output data Control1: Unsigned16 Byte 15 – 8 7 – 0 – 2 – 2 Data Description Preset_Request This bit is used to control the preset function. When this function is executed, the measurement system is set to the position value saved in the tabs Preset Multi-Turn/Preset Single-Turn.
Page 23
UO-SPN-1 Operating and configuration manual Safe-Control: Unsigned8 Byte 7 – 0 – 2 Data Description iPar_EN: iParameter assignment unlocked This bit must be set indirectly by the F host via a variable in order to be able to execute the preset function, see also section 9.
UO-SPN-1 Operating and configuration manual NOTE! The Safe Control tab can only be accessed indirectly with the help of variables from the security program, see also section 8 For a more detailed description of control bits, see the PNO document “PROFIs- afe –...
UO-SPN-1 Operating and configuration manual Speed: Integer16 Byte 15 – 8 7 – 0 – 2 – 2 Data The speed is output as a signed two’s complement value. Setting the direction of rotation = Forward In light of the flange mounting, turning the shaft clockwise: ...
UO-SPN-1 Operating and configuration manual F-Parameter (F_Par) The following is a list of F parameters supported by the measurement system. Byte-Order = Big Endian Byte Parameter Type Description Page – – Bit 0 = 0: not used F_Check_iPar Bit 1 = 0: no review...
UO-SPN-1 Operating and configuration manual F_Par_Version This parameter identifies the PROFIsafe version “V2 Mode” implemented in the measurement system. This value is preset and cannot be changed. F_Source_Add / F_Dest_Add The parameter F_Source_Add defines a unique source address within a PROFIsafe island.
Page 28
UO-SPN-1 Operating and configuration manual Byte Parameter Type Description Page Default = 1000 X+4 Window Increments Unsigned16 Range: 50-4000 Default = 1 X+6 Idleness Tolerance Preset Unsigned8 Range: 1-5 0: Reverse X+7 Direction 1: Forward [default] Integration Time Safe This parameter is used to calculate the safe speed output via the cyclical data of the AMPN(H)41 I/O safety module.
UO-SPN-1 Operating and configuration manual Direction This parameter defines the current counting direction for the position value in light of the flange connection when the shaft is turning clockwise. Forward = counting direction increasing Reverse = counting direction decreasing Standard value = Forward...
UO-SPN-1 Operating and configuration manual CRC calculation via the iParameter The default standard values are used for the following example CRC calculation. These can be loaded via an XML template file in the program JHG_iParameter. If deviating values are re- quired, these can be overwritten by double clicking the relevant entry.
UO-SPN-1 Operating and configuration manual If necessary, adjust the relevant parameters, then - to calculate the F_iPar_CRC- click the Generate CRC button. The result is displayed in the field F_iPar_CRC as either a decimal or hex value. Each time the parameters are changed, F_iPar_CRC must be calculated once again. This must be taken into consideration in the project planning.
UO-SPN-1 Operating and configuration manual Non-adjustable F-Parameters The following F-Parameters are managed either by the measurement system or the F-Host and therefore cannot be changed manually: F_Check_iPar: NoCheck F_CRC_Length: 3-Byte-CRC F_Block_ID: 1 F_Par_Version: V2-mode F_Source_Add: 2002 (example value, specified by the F-Host)
UO-SPN-1 Operating and configuration manual Create security program - Example configuration This section describes the process for creating the security program using SIEMENS project manager SIMATIC Manager and the option package S7 Distributed Safety. The security program is created using the FUP/KOP-Editor in STEP 7. Failsafe FBs and FCs are programmed in the programming language F-FUP or F-KOP, while failsafe DBs are created in the F-DB language.
UO-SPN-1 Operating and configuration manual Requirements WARNING! Danger of deactivating the failsafe function through improper security pro- gram project planning! The security program may only be created in conjunction with the system docu- mentation provided by SIEMENS for the software and hardware.
UO-SPN-1 Operating and configuration manual Hardware configuration Start SIMATIC Manager and create a new project. Right click in the project window to insert the SIMATIC 300-Station as a new object. UO-SPN1_Manual-en_R4...
Page 36
UO-SPN-1 Operating and configuration manual Use the same process to create an Industrial Ethernet for PROFINET as a new object. Double click the Hardware entry to start the hardware configurator HW Config. UO-SPN1_Manual-en_R4...
Page 37
UO-SPN-1 Operating and configuration manual If the hardware catalogue is not shown at the right side, it can be displayed using the View Catalogue menu. Drag a profile rail into the project window to include the hardware components.
Page 38
UO-SPN-1 Operating and configuration manual Drag digital input assembly SM 326F DI 24xDC24V in the catalogue via SIMATIC 300 SM-300 DI-300 SM 326F DI 24xDC24V (6ES7 326-1BK01-0AB0) to position 5 in the rack. The hardware components to be included in the rack are now complete.
UO-SPN-1 Operating and configuration manual Set the hardware configuration properties The object properties of the individual hardware components are set to the relevant position in the rack or slot by right clicking the position: Protection class 1 and a password must be planned for the CPU in the Protection tab.
Page 40
UO-SPN-1 Operating and configuration manual Subnet mask of the PLC Subnet: Ethernet Add PROFINET IO – System: Right click the entry “PN-IO” and then select “Insert PROFINET IO-System“. Connect the measurement system AMPN(H)41 from the catalogue to the available bus line via drag&drop to the PROFINET IO-System.
Page 41
UO-SPN-1 Operating and configuration manual When the measurement system is connected to the master system, the device name must be entered in the Properties window in the General tab, and the check-box “Assign IP address through IO-Controller” must be marked.
Page 42
UO-SPN-1 Operating and configuration manual The measurement system which is powered up and connected to the network should be visible in the list after pressing the “Update” button. A few seconds after pressing the “Assign name” button, the list will be updated and the new device name will be accepted.
Page 43
UO-SPN-1 Operating and configuration manual In the Parameter tab, the Operating mode Safety mode according to SIL3/AK5,6 must be planned for the project for the digital output assembly. Confirm the following window by pressing Close. In the Parameter tab, in the Parameter Assembly parameters Supply group 1Vs/3Vs folder structure, the entries Encoder supply via assembly and Short circuit test must be checked.
Page 44
UO-SPN-1 Operating and configuration manual The settings for channels 0,12 and 1,13 remain unaffected. For the channels 2,14 / 3,15 / 4,16 and 5,17 the check under the entry Activated must be removed for each channel. In the supply group 2Vs/4Vs sub-folder, for all channels 6,18 / 7,19 / 8,20 / 9,21 / 10,22 and 11,23 the check under the entry Activated must be removed for each channel.
UO-SPN-1 Operating and configuration manual To do so, right click the entry FDI24xDC24V in the rack or the slot and select Edit symbols…. The symbol name Reset is entered under the Symbol column, and the data type BOOL is then automatically adopted.
UO-SPN-1 Operating and configuration manual Setting the F-parameters The F-Parameters can be set by marking the symbol for the measurement system Double click on the slot entry AMPN(H)41 I/O Safety Select the PROFIsafe tab. NOTE! The F_Dest_Add entry and setting for the SPN address switch must match! The value for the parameter F_iPar_CRC is determined from the set parameter data set for the iParameter and the calculated CRC value, see section 7.3.1.
UO-SPN-1 Operating and configuration manual Then, the HW-Configuration must be loaded to the hardware using the menu “Load target system to assembly”.. The HW Config can now be closed. Setting the missing (F) modules The previously automatically created modules are available for viewing in the SIMATIC Man- ager project folder under: AMPN41 PROFIsafe ...
UO-SPN-1 Operating and configuration manual Program structure Access the F-CALL from the standard user program to enter the security program. The F-CALL is accessed directly, for instance in the wake alarm-OB OB 35. The advantage of wake alarms OBs is that interrupt cyclical program processing in the OB 1 of the standard user program at set intervals, for instance the security program is accessed and processed at set intervals in a wake alarm OB.
UO-SPN-1 Operating and configuration manual Generating the functions (F-FCs) Then, the required functions FC1 and FC2 are generated. The functions are inserted by right clicking in the project window Insert new object Function. The language for FC1 is F-CALL, for FC2 F-FUP.
UO-SPN-1 Operating and configuration manual Programming the F-modules Then programming and adjustment are carried out for the modules OB35, FC1 and FC2. The security program can be accessed in OB35 by double-clicking the object name entry OB35 in the project window. The instruction CALL FC1 must be entered in the window KOP/AWL/FUP which opens.
Page 51
UO-SPN-1 Operating and configuration manual An And box must be inserted from the symbol bar and the second entry must be assigned the Reset symbol. Two assignments are inserted from the symbol bar, one assignment is assigned to the variable "F00008...".ACK_REI and the other to the variable "F00026...".ACK_REI.
Page 52
UO-SPN-1 Operating and configuration manual Then, the Assignment that is not yet interconnected is interconnected to the output of the And-box via a branch. Save the programming and close the window. Determine the run time group using the function FC1. In the field Max cycle time of the F-run time group in ms: enter the value 400 and confirm with OK.
UO-SPN-1 Operating and configuration manual Generating the security program To create the security program, enter the dialogue Security program in the SIMATIC MANAGER using the Extras menu and Edit security program. Press the Generate button to translate and generate the security program.
UO-SPN-1 Operating and configuration manual Test security program After creating the security program, a complete functional test must be completed according to the automation task in question. After changes are made to a security program that has already undergone full functional testing, it is sufficient to just test the changes.
UO-SPN-1 Operating and configuration manual Operator acknowledgement of the measurement system after communication errors or after the start-up phase When executing the preset function When analysing whether passivated or cyclical data is output When the cyclical data of the AMPN(H)41 E/A safety module should be passivated de- pending on specific states of the security program, such as group passivation Measurement system F-periphery DB “DB1638”...
Page 56
UO-SPN-1 Operating and configuration manual PASS_ON The variable PASS_ON = 1 can be used to passivate the safety-related data of the AMPN(H)41 E/A safety module, depending on certain states in the security program. Passivation is not carried out directly in the measurement system. Instead, the status of these variables is regis- tered by the FHost and the host then activates passivation first via the data in the security pro- gram.
UO-SPN-1 Operating and configuration manual PASS_OUT/QBAD/QBAD_I_xx/QBAD_O_xx The variables PASS_OUT = 1 and QBAD = 1 indicate a passivation of the measurement system. The F-System sets PASS_OUT, QBAD, QBAD_I_xx and QBAD_O_xx = 1, for as long as the measurement system outputs substitute values (0) instead of the cyclical values.
UO-SPN-1 Operating and configuration manual Measurement system - Passivation and operator acknowledgement After starting up the F system After starting up the F system, communication between the F-CPU and measurement system via the PROFIsafe protocol must be established. The measurement system is passivated during this time.
UO-SPN-1 Operating and configuration manual Preset function WARNING! ATTENTION! Danger of death, serious physical injury and/or property damage due to uncon- trolled start-up of the drive system when executing the preset function. Only execute the preset function when at a standstill, see chapter 5.4.2.4.
UO-SPN-1 Operating and configuration manual Finally, the F-Host must check whether the new position corresponds to the new target position. Troubleshooting and diagnostics 10.1 Visual displays Assignment and location of status LEDs, see chapter 4.4.2 Device Status Cause Corrective action...
UO-SPN-1 Operating and configuration manual Cause Corrective action temperature range can be upheld at all times. The measurement system must be promptly shut down and inspected in The measurement system was supplied with the factory. When sending in the >36 V DC for longer than 200 ms.
UO-SPN-1 Operating and configuration manual PORT1; PORT2 Cause Corrective action No power supply, or required power supply Check the power supply, wiring level not provided No Ethernet connection Check cables Hardware error, measurement system defect Replace measurement system Measurement system ready for operation,...
UO-SPN-1 Operating and configuration manual Diagnostic data can also be read out manually, for instance, via the record index 0xE00C, in the same manner as the manufacturer-specific diagnostic alarm. Stored errors are designated with the UserStructureIdentifier 0x5555, similar to diagnostic alarms. The error code follows, as indicated above under the diagnostic alarm.
UO-SPN-1 Operating and configuration manual 10.5 Information & maintenance I&M0, 0xAFF0 The measurement system supports the I&M function “I&M0 RECORD” (60 Byte), similar to PROFIBUS “Profile Guidelines Part 1”. I&M functions specify the manner in which the device0specific data must be stored uniformly in the IO device, according to a type plate.
UO-SPN-1 Operating and configuration manual Functional safety 11.1 Safety parameters Determined parameters according to DIN EN ISO 13849-1: Architec- Category Service life MTTF ture 1oo2 297.9 20 years (2-channel) The safety parameters of the overall system are provided in the configuration manual.
UO-SPN-1 Operating and configuration manual Safe state If a safe position cannot be output due to an error detected by the measurement system, the PROFIsafe data channel is automatically switched to a failsafe state. In this state, PROFIsafe outputs so-called “passivated data”. See also section 8.1.
UO-SPN-1 Operating and configuration manual Inspections 12.1 Maintenance information The SPN is maintenance-free. Transportation, packaging and storage 13.1 Transportation safety information CAUTION! Property damage due to improper transportation! These symbols and information on the packaging must be observed: Do not throw, risk of breakage, protect against wetness 13.2 Incoming goods controlling...
Need help?
Do you have a question about the UO-SPN-1 and is the answer not in the manual?
Questions and answers