Page 1
BM4-O-IEI-01 Option Module IEI for b maXX drive PLC Operating Instructions 5.02013.02...
Page 2
Title Operating Instructions Product Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Last Revision March 27, 2007 Art. no. 372044 Copyright Owners may make as many copies as they like of these Operating Instructions exclusively for their own internal use.
Terms Used The abbreviation IEI stands for Incremental Encoder Interface). In this documentation, we will also refer to Baumüller's "BM4-O-IEI-01" product as "mod- ule", "plug-in module", "IEI option module", "IEI" or "incremental encoder interface". We will also refer to the "BM4-O-PLC-01" Baumüller product as "b maXX drive PLC" or "BM4-O-PLC"...
Page 6
Terms Used Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
ASIC AFETY NSTRUCTIONS We have designed and manufactured each Baumüller plug-in module in accordance with the strictest safety regulations. Despite this, working with the plug-in module can be dan- gerous for you. In this chapter, we will describe the risks that can occur when working with a Baumüller plug-in module.
Here, we describe the possible results. The worst result is always at the extreme right. Here, we describe the hazard. Here, we describe what you can do to avoid the hazard. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Basic Safety Instructions 2.1.2 Hazard advisories that are used If a signal word is preceded by one of the following danger signs: , the safety information refers to injury to people. If a signal word is preceded by a round danger sign: , the safety information refers to damage to property.
Page 10
Here, we describe what you can do to avoid the hazard. 2.1.2.3 Instruction signs that are used wear safety gloves wear safety shoes Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
Basic Safety Instructions Information signs NOTE This indicates particularly important information. Legal information This documentation is intended for technically qualified personnel that has been specially trained and is completely familiar with all warnings and maintenance measures. The equipment is manufactured to the state of the art and is safe in operation. It can be put into operation and function without problems if you ensure that the information in the documentation is complied with.
This means that you must replace the cover after successfully mounting the plug-in module. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Basic Safety Instructions Personnel training WARNING The following may occur, if you do not observe this warning information: m serious personal injury m death Only qualified personnel are allowed to mount, install, operate and maintain equipment made by Baumüller Nürnberg GmbH. Qualified personnel (specialists) are defined as follows: Qualified Person- Electrical engineers and electricians of the customer or of third parties who are authorized...
12 onward or below caused the fault: m Disaster due to the influence of foreign bodies or force majeure. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
ACKAGING AND TRANSPORTATION We package every Baumüller plug-in module before shipping such that it is highly unlikely that it will be damaged in transit. Transportation The plug-in modules are packed at the factory in accordance with the order. h Avoid vibrations during transportation and hard jolts.(Max. 1 g). h Avoid static discharges to the plug-in modules' electronic components.
2 K 3 (Climatic category) m - 30 °C to + 70 °C (temperature range) m Max. 1 g (Vibration, shock, repetitive shock) Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
MODULE In this chapter, we will describe the IEI option module and explain the type code on the plug-in module. Structure Figure 1: BM4-O-IEI-01 option module Operating Instructions Option Module IEI for b maXX drive PLC BM4-O- IEI-01 of 90...
Observe all the safety instructions of the b maXX 4400 basic unit. The illustration be- low gives you an overview of the danger zones in the plug-in module. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Description of the IEI option module Figure 3: Danger zones Labeling of the IEI option module type code On the front panel, you will find the type code ("E" in ZFigure 1 on page 17) of the plug- in module. NOTE This type code applies only to the IEI option module of series b maXX 4400.
Page 20
Labeling of the IEI option module type code Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
SSEMBLY AND INSTALLATION In this chapter, we will describe mechanical assembly and electrical installation of the IEI option module. Assembly/installation consists of the following steps: 1 Mount the plug-in module. 2 Connect the plug-in module to the signal cables. General safety regulations h Observe the information in chapters ZBasic Safety Instructions –...
5) to ensure that you have the correct plug- in module. Figure 5: IEI option module h Determine the correct slot (see ZFigure 6 on page 23). Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
Assembly and installation Function modules Option modules Controller unit, permanently installed preferred slot Baumüllter Nürnberg GmbH recommends, in order to reach the highest functional range, to insert the plug-in modules into these slots. possible slot only if the preffered slot is occupied, we recommend in order to reach the highest functional range, to insert the plug-in modules into this slot.
Page 24
6 Observe the described ESD measures when handling the modules. 7 Remove the IEI option module from the transportation packaging: Avoid contact with the plug-in module's electronic components. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Page 25
Assembly and installation 8 Plug the IEI option module into the slot's guide rails. The gripping piece must face the same way as the other gripping pieces in this slot rail slot rail (in the case: the right- hand side). 9 Keep pressing two fingers on the front panel until you feel the card engage in the end position inside the unit.
Connection diagram of IEI option module for b maXX drive PLC NOTE *) If you are taking into account UL 508 C: limit the current to 4 A. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Assembly and installation 5.5.2 Requirements of electrical connection CAUTION The following may occur, if you do not observe this caution information: m property damage. Danger from: electrical voltage. If you are not able to ensure the plug-in module's require- ments of the electrical connection, the plug-in module can be damaged or destroyed. Ensure that you comply with the connection values that are specified in the technical data and that the connections were made in accordance with the stipulations.
Page 28
Installation Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
OMMISSIONING In this chapter, we will describe how you commission the IEI option module that you just assembled and installed (see ZAssembly and installation – from page 21 onward). Com- missioning ensures that the IEI option module functions correctly. For more information on programming, refer to the "b maXX drive PLC Application Manual".
6.4.1 Sample configuration for encoder mode Figure 9: Optically acquiring print marks (registers). The print marks have register control, for example. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
Commissioning 6.4.2 Sample configuration for probe mode Figure 10: Optically acquiring copies. You can count the number of copies. 6.4.3 LEDs The IEI option module has four LEDs (H1 to H4) as display elements. Status Meaning ⊗ Green Power supply ⊗...
LED H1 (green) indicates that 24 V is connected. This completes testing of functioning. If a complete application is present, H2 (green) and H3 (green) indicate that probes 1 and 2 are switched on. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
PERATION The Incremental Encoder Interface (or IEI) makes possible rapid acquisition of digital sig- nals. When doing this, the system uses an internal counter to count the signal edges. The IEI option module offers two operating modes. m IEI option module for position acquisition using a rectangle incremental encoder (en- coder mode) m IEI option module as a fast counter of a 24 V signal at input probe 1 (probe mode) The IEI option module is configured by the application program on the b maXX drive PLC.
The number of counted signal edges matches the number of register marks and with this the number of (printed) copies on the paper web. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Operation Configuring the IEI option module in the application program Depending on the mode, the IEI option module uses an internal register to count the sig- nal edges (or increments) of the rectangle incremental encoder or the edges of a 24 V signal.
BM_TYPES_20bd03 (PROPROG wt II) / BM_TYPES_30bd01 (ProProg wt III) in the project, the data type is available. This library is already integrated in template "BM4_O_PLC01". Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
(G to M) – the global variable _IEI_Ctrl_Slot_G (to _IEI_Ctrl_Slot_M) of data type IEI_PLC_BMSTRUCT. At declaration of the global variables, this variable must be connected to the base address of the BM4-O-IEI-01 option module. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O- IEI-01...
Page 38
Configuring the IEI option module in the application program The base address of the Incremental Encoder Interface (BM4-O-IEI-01) option module in dependence on the slot is as follows: Slot Base address of the BM4-O-IEI-01 option module %MB3.2258000 %MB3.3258000 %MB3.4258000 %MB3.5258000 %MB3.6258000...
Page 40
Bit 0 shows whether probe 1 is logically FALSE or TRUE or physically LOW or HIGH. Bit 1 - probe 2: Bit 1 shows whether probe 2 is logically FALSE or TRUE or physically LOW or HIGH. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Operation Bit 2 - reference cam: Bit 2 shows whether the reference cam is logically FALSE or TRUE or physically LOW or HIGH. Bit 3 - sense line: Bit 3 shows whether the sense line is physically LOW or HIGH. The IEI option module supplies a high-resistance HIGH to the sense line.
If counter latch register 3 *.ud_COUNTER_LATCH3 is written with any value, the sys- tem resets the display of bit 6 in the latch status register *.w_LATCH_STATUS_REG. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Operation 7.3.5 Counter preload register The contents of counter preload register *.ud_COUNTER_PRELOAD are applied in the IEI option module's internal counter if Bit 4 (Preload) is set in register *.w_COUNTER_MODE. This makes it possible to write a start value to the internal counter. 7.3.6 Latch3 disable register This register only has a meaning in the IEI option module's encoder mode.
2 and then zeroes the internal counter. When latch condition 3 is reached, the system copies the value of the internal counter to counter latch register 3. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Page 45
Operation If the reference cam is NOT set as latch condition 2 or 3, the system copies the value of the IEI option module's internal counter to counter latch register 2 or 3 when the latch con- dition is reached. The internal counter is not zeroed; rather, it retains its value. Bit 0 Probe 1 as latch condition 2: 0: Probe 1 is not evaluated for latch condition 2.
Page 46
Bit 11 - Encoder zero track as latch condition 3: Using Bit 11, you select whether the encoder zero track affects latch condition 3. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Operation Bit 12 - Signal edge for latch condition 3: Using bit 10, you choose which signal edge of the released and ANDed signals from bit 8 to bit 11 the system must detect for latch condition 3 to be met. Bit 13 to bit 15 are reserved.
Page 48
Bit 2 - Selection of encoder mode / probe mode: Using bit 2, you select the mode in which the IEI option module is to be operated. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Page 49
Operation Bit 3 - Direction of counting Using bit 3, you select the internal counter's direction of counting. Bit 4 - Set preload value Using bit 4, you can set the internal counter to a predefined value. Bit 5 - Sequence of latch conditions 2 and 3 Using bit 5, you select whether the system is to ignore the sequence in which latch con- dition 2 and latch condition 3 occur or not.
Page 50
If latch condition 3 is met (a falling edge of the probe at input probe 1), the system copies the value of the internal counter to counter latch register 3. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Operation 7.3.11.2 Example of initializing and operating the IEI option module in probe mode A 24 V signal is connected at input probe 1. You want to count the rising edge of the 24 V signal. You initialize the IEI option module as follows: Set counter mode Write 16#0005 to the counter mode register (see the example ZCounter mode register –...
(U1 and U1_, U2 and U2_ as well as U0 and U0_ ). Depending on the evaluation of the signal edges of encoder tracks U1 and U2, there is multiplication of the encoder signal. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Page 53
Operation In the case of "single" multiplication, the system counts the rising edges of encoder track U1. In this case, encoder track U2 is for detecting the direction of rotation. In the case of "double" multiplication, the system counts the rising and falling edges of encoder track U1.
Function block (FB) IEI_INIT Function block (FB) IEI_INIT Function block IEI_INIT initializes the IEI option module (BM4-O-IEI-01). The system writes the configuration that was created at the input to the registers in communication RAM. IEI_INIT needs library BM_TYPES_20bd03 (PROPROG wt II) BM_TYPES_30bd01 (ProProg wt III) or above.
Page 55
Operation The base address of the IEI (BM4-O-IEI-01) option module in dependence on the slot is as follows: Slot Base address of the BM4-O-IEI- 01 option module %MB3.2258000 %MB3.3258000 %MB3.4258000 %MB3.5258000 %MB3.6258000 %MB3.7258000 Example: BM4-O-IEI-01 option module in slot G of the b maXX _IEI_Ctrl_Slot_G %MB3.2258000...
Page 56
If input x_EN is set to FALSE, the system does not enter data in the IEI option module's communication RAM. NOTE To configure functions of the BM4-O-IEI-01 option module for a register controller, you must use function block REG_CONTROL_INIT from library REGISTER_PLC01_20bd00 (PROPROG wt II) or REGISTER_PLC01_30bd00 (ProProg wt III) or above. FB IEI_INIT is a component of FB REG_CONTROL_INIT.
Page 57
Operation Outputs si_ERR, x_ERR: If an error occurs, the system sets error bit x_ERR to TRUE and outputs error number si_ERR. If no error occurs, x_ERR stays FALSE and si_ERR = 0. Error number si_ERR: si_ERR Meaning -128 to -1 Reserved No error An invalid value for multiplication in encoder mode was entered at input...
Page 58
At input us_TOUCH_PROBE_MODE, USINT#2 is connected for "Counting the rising edge of the encoder at probe 1". At input x_EN, TRUE is connected. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Page 59
Operation Figure 15: Example of initializing IEI option module in probe mode The internal counter then counts the rising edges of the 24 V primary detector. The sys- tem copies the counter value to counter latch register 1 when latch condition (signal SYNC1 from the BACI) occurs.
Page 60
(U1 and U1_, U2 and U2_ as well as U0 and U0_). Depending on the evaluation of the signal edges of encoder tracks U1 and U2, there is multiplication of the encoder signal. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Page 61
Operation In the case of "single" multiplication, the system counts the rising edges of encoder track U1. In this case, encoder track U2 is for detecting the direction of rotation. In the case of "double" multiplication, the system counts the rising and falling edges of encoder track U1.
Page 62
Function block (FB) IEI_INIT Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
INDING AND ELIMINATING DISTURBANCES In this chapter, we will describe disturbance displays on the IEI option module. We explain the meanings of each disturbance display and how you can respond to them. Safety regulations h Observe the ZBasic Safety Instructions – from page 7 onward.
Page 64
Error messages responses to errors Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
AINTENANCE If you comply with the specified environmental operating conditions, see ZTechnical Data – from page 83 onward, the IEI option module is maintenance-free. If you find a defect in your IEI option module or think that it is defective, contact Baumüller Nürnberg GmbH. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O- IEI-01 of 90...
Page 66
Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
VERHAUL You cannot overhaul a defective IEI option module, contact Baumüller Nürnberg GmbH to obtain a replacement. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O- IEI-01 of 90...
Page 68
Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
ISMANTLING STORAGE In this chapter, we will describe how you decommission the IEI option module and store it. 11.1 Safety regulations h Observe the ZBasic Safety Instructions – from page 7 onward. WARNING The following may occur, if you do not observe this warning information: m serious personal injury m death Danger from: electricity.The unit carries dangerous voltage and current and residual charges...
Choose these persons such that they understand and can apply the safety instructions printed on the unit and parts of it and on the connections. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Dismantling, storage 11.3 Dismantling h Make available the following material before starting dismantling: m Suitable packaging for the IEI option module; if possible, the original packaging. m Cover plate to cover the slot. Carry out dismantling in the following sequence: 1 Deenergize the b maXX 4400 basic unit and secure it from unintentional switch-on.
11.5 Recommissioning If you want to recommission the IEI option module, observe the information in "Storage Conditions". Then, carry out commissioning again. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
ISPOSAL In this chapter, we will show you how to correctly and safely dispose of the IEI option mod- ule (BM4-O-IEI-01). For the most part, you must dispose of electronic scrap. 12.1 Safety regulations h Observe the ZBasic Safety Instructions –...
If in doubt, con- tact the Trade Supervisory Authority that is responsible for your company or the Environ- mental Protection Authorities. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
A - A PPENDIX BBREVIATIONS BACI Baumüller Component Interface Ballast unit Baumüller feed/return feed unit Baumüller converter basic feed unit Baumüller individual power unit Baumüller power module Communauté Européenne (Euro- pean Community) Central Processing Unit Digital/analog d.c. current Deutsches Institut für Normung e.V.
Page 76
Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
B - A PPENDIX CCESSORIES This appendix lists all the accessories that are available for Baumüller Nürnberg GmbH's IEI option module. If you have any queries about accessories or suggestions for improvements, Baumüller's Product Management will be pleased to hear from you. List of all accessories B.1.1 Encoder connections available The following cord set can be obtained for the connection of all encoder types.
Page 78
239543 239544 239545 239546 239547 240520 240521 240522 244033 245484 B.1.2 Plug-in connector Order designation Article number 8-pin plug-in connector 351520 Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
C - M PPENDIX ANUFACTURER ECLARATION In this section we provide general information about EU directives, the CE symbol and the Declaration by Manufacturer. What is an EU directive? EU directives specify requirements. The directives are written by the relevant bodies with- in the EU and are implemented by all the member countries of the EU in national law.
Page 80
Declaration by Manufacturer to the fact that it is prohibited to put the ma- chine as a whole into operation before it has been declared that the machine conforms to the provisions of the Machinery Directive. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Page 81
EC directive 98/37/EG (machinery) dated 22.06.1998 changed by: 98/79/EC dated 27.10.1998 Option module IEI for b maXX 4400 BM4-O-IEI-01 Das obige Gerät wurde entwickelt und konstruiert sowie anschließend gefertigt in Übereinstimmung mit o. g. EG-Richtlinie und u. g. Normen in alleiniger Verantwortung von:...
Page 82
Manufacturer Declaration Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
D - T PPENDIX ECHNICAL This appendix lists the technical data for Baumüller Nürnberg GmbH's IEI option module (BM4- O-IEI-01). Connection values The IEI option module has the following properties: m Encoder signals are rated for 5 V and are optically isolated. m The two sensors for print mark acquisition are rated for 24 V and are separated from the sys- tem via an optocoupler.
Page 84
Common ground with +24 V power supply of the option module (X2-Pin2, see ZD.2.2 Pin assignment of 8-pin plug-in connector– on page 87) Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Technical Data Front panel Figure 20: BM4-O-IEI-01 front panel D.2.1 Pin assignment of female Sub-D connector Pin No. Assignment M5V (Ground supply of encoder) +5 V (Supply of encoder) Encoder zero track Encoder zero track inverted Encoder channel 2 Reserved...
Page 86
Cable: LiYCY 5 * (2 * 0,14) + 2 * 0,5 mm Cu-braid The cable shield is connected with the shell of the circular connector and with the shield of the Sub-D-connector. Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH...
Spagnolet locks Specialist Storage Technical Data Temperature range Terms Definition Transportation 15, 16 Type Code Plug-in card Unpacking Warranty and Liability Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01 Document No.: 5.02013.02 Baumüller Nürnberg GmbH of 90...
Page 92
Baumüller Nürnberg GmbH Ostendstraße 80-90 90482 Nuremberg Tel: +49(0)911-5432-0 Fax: +49(0)911-5432-130 www.baumueller.de All the information in these Operating Instructions is non-binding customer information; it is subject to ongoing further development and is updated on a continuous basis by our permanent change management system. Note that all the data/numbers/information that are quoted are current values at the time of printing. This information is not legally binding for dimensioning, calculation and costing.
Need help?
Do you have a question about the BM4-O-IEI-01 and is the answer not in the manual?
Questions and answers