IBA ibaMS4xUCO Manual

I/o module with 4 counter inputs and digital inputs and outputs
Table of Contents

Advertisement

Quick Links

ibaMS4xUCO
I/O module with 4 counter inputs
and digital inputs and outputs
Manual
Issue 1.5

Advertisement

Table of Contents
loading

Summary of Contents for IBA ibaMS4xUCO

  • Page 1 I/O module with 4 counter inputs and digital inputs and outputs Manual Issue 1.5...
  • Page 2 However, the information in this publication is updated regularly. Required corrections are contained in the following regulations or can be downloaded on the Internet. The current version is available for download on our website www.iba-ag.com. ® Windows is a label and registered trademark of the Microsoft Corporation.
  • Page 3: Table Of Contents

    Manual Table of contents About this manual ................... 6 Target group ....................7 Notations ....................... 7 Used symbols ....................8 Introduction ..................... 9 Scope of delivery ..................10 Safety instructions ..................11 Proper use ....................11 Special safety instructions ................11 System requirements ...................
  • Page 4 Module Information / Diagnostics ..............33 8.4.1 Diagnostics in ibaPDA ................. 33 8.4.2 Web interface ....................33 iba Applications .................... 35 Encoder parameter file ................35 9.1.1 Creation of an encoder parameter file ............35 9.1.2 Upload the encoder parameter file to ibaPADU-S-IT-2x16 ......38 Configuration in ibaPDA ................
  • Page 5 Manual Support and contact ..................82 Issue 1.5...
  • Page 6: About This Manual

    About this manual In this manual, you learn a lot about the design of the ibaMS4xUCO device and how to use and operate it. You can find a general description of the iba-modular system and further information about the design of the central units and how to use and operate them in separate manuals.
  • Page 7: Target Group

    Manual Target group This manual addresses in particular the qualified professionals who are familiar with han- dling electrical and electronic modules as well as communication and measurement tech- nology. A person is regarded to as professional if he/she is capable of assessing safety and recognizing possible consequences and risks on the basis of his/her specialist training, knowledge and experience and knowledge of the standard regulations.
  • Page 8: Used Symbols

    Manual ibaMS4xUCO Used symbols If safety instructions or other notes are used in this manual, they mean: The non-observance of this safety information may result in an imminent risk of death or severe injury:  By an electric shock! ...
  • Page 9: Introduction

    The ibaMS4xUCO module is member of the iba-modular system. The modular concept of the iba-modular system is designed on the basis of a backplane. You can plug on this backplane not only the CPU, but also up to 4 input/output modules. The power supply of the I/O modules is provided by the backplane bus.
  • Page 10: Scope Of Delivery

    The scope of delivery comprises:  ibaMS4xUCO device  1 x 37-pole Sub-D connector  1 x 16-pin multi-pin connector  1 x 6-pin multi-pin connector  Manual  DVD „iba Software & Manuals“ (only with individual delivery) Issue 1.5...
  • Page 11: Safety Instructions

     Capturing of measuring data  Automation of industrial plants  Applications with iba products (ibaPDA, ibaLogic etc.) The device is only to be applied as shown in the Technical Data. Special safety instructions Strictly observe the operating voltage range (see Technical Data)!
  • Page 12: System Requirements

    Manual ibaMS4xUCO System requirements Hardware  Central unit: ibaPADU-S-IT-2x16 or ibaPADU-S-CM (version 02.12.004 or later)  Back plane unit, e. g. ibaPADU-B4S Software  ibaPDA version 6.38.0 or later  ibaLogic-V5 version 5.0.5 or later Note The use of ibaLogic-V5 requires the central unit ibaPADU-S-IT-2x16. If the module is used with the predecessor ibaPADU-S-IT-16, only ibaLogic-V4 can be used.
  • Page 13: Mounting, Connecting, Dismounting

    Manual Mounting, Connecting, Dismounting Works on the device must NOT be done when it is under voltage! Always disconnect the central unit from the power supply! Note Mount one or more modules on the right next to the central unit (slot X2 to X5 can be freely selected).
  • Page 14: Device Description

    Manual ibaMS4xUCO Device description Views Fixing screws Operating status indicators L1…L4 Indicators of counter inputs and digital outputs L30… L45 Indicators of digital inputs L10…L17 Connector for digital outputs X27 Connector for digital inputs X5 Sub-D connector counter inputs X28...
  • Page 15: Counter Inputs / Digital Outputs L30

    Manual Important note When the LED L4 indicates a failure, please contact the iba Support. Counter inputs / digital outputs L30…L45 7.2.2 4 LEDs belong to each channel. A LED can be green, red, yellow or off. The LEDs 1, 2 and 3 (from left to right) indicate the status of the A, B and N input, LED 4 indicates the status of the digital output.
  • Page 16: Connection Diagram

    Manual ibaMS4xUCO Connection diagram The module provides 3 channel groups:  Digital outputs (top left)  Counter inputs (on the bottom left)  Digital inputs (right) Figure 2: Connection diagram Issue 1.5...
  • Page 17: Counter Inputs X28

    Manual Counter inputs X28 7.4.1 Pin assignment Figure 3: Pin assignment (socket front view) 7.4.2 Channel signals 9 signals per channel are available. Their meaning varies depending on the used rotary encoder and the mode. Signal Description Main signal 1...
  • Page 18: Wiring (Circuit Diagram)

    Manual ibaMS4xUCO 7.4.3 Wiring (Circuit diagram) The following figures show the wiring of the signals A, B, N and MF. The blue colored switches show settings which apply across all channels, the yellow colored switches ap- ply to a single signal A, B, N or MF. That means that parameters of the blue switches apply to the A/B/N signals and to the MF signal.
  • Page 19: Theory

    Manual Setting Applys to Description Signal channel Enables 5V power supply on V Enable 5 V on output (A, B, N, MF) Adjusts the threshold for the detection of logical „0“ and logi- channel TTL Threshold Voltage cal “1“ (only when TTL mode is active).
  • Page 20 Manual ibaMS4xUCO 1: Pulse coun- 2: Period / fre- 3: Pulse width 4: Up/down Analysis quency / duty cycle counter regulation Mode irect uadrature ○ ● ○ ● ● pos. A High ○ ● ○ ● ● level neg. A ●...
  • Page 21 Manual 1 period 1 quadrant (90 degrees) Counter Figure 6: „Quadrature mode“ „B as qualifier“ 7.4.4.2 The high level of the B signal may be used as enable signal in „direct mode“. Counter RisingEdge A BothEdges A FallingEdge A Figure 7: „B as qualifier“...
  • Page 22 Manual ibaMS4xUCO 7.4.4.4 Up/down counter The Up/down counter uses always the “quadrature mode”, where all 4 edges are counted, see Figure 6: „Quadrature mode“. The phase offset between A and B signal determines the counting direction. If the high- level of the A signal is before the B signal (typically 90° phase offset), then the channel counts up (UpCounter).
  • Page 23 Manual The following scheme shows the period/frequency calculation, when only the positive edge of the A signal is counted. T (1 period) Counter Figure 9: Theory: period / frequency Beginning with firmware version 02.12.004, additional measuring parameters can be configured: minimum measuring time, required periods and timeout.
  • Page 24 Manual ibaMS4xUCO time exceeds the timeout then the frequency will be set to „0“. Measuring starts again with the next rising edge. The timeout is not active, when it is set to „0“. With the default settings, measuring is carried out as depicted in Figure 9. Default values are: ...
  • Page 25: Modes / Analysis Regulations (In General)

    Manual „Reset on N“ 7.4.4.7 When “Reset on N” is activated, then the (up/down) counter is set to zero, as long as the N signal is on a high level, see the following scheme. Counter Quadrature FallingEdge A RisingEdge A Figure 12: Theory: counter, up/down counter, Reset on N 7.4.5...
  • Page 26 Manual ibaMS4xUCO 2: Period / frequency PeriodTime DINT Period and frequency are measured in two ways: ABDirection DINT - „Direct mode“ Frequency REAL B signal serves as A-signal-enable, i.e. only when B = log’1’ then the edge of A is detected.
  • Page 27: Digital Outputs X27

    0. In this case, status signals report the error status to the iba applications. The errors can be reset by the application, but only when the error does not physically exist any longer.
  • Page 28: Digital Inputs X5

    Manual ibaMS4xUCO Digital inputs X5 You can connect 8 input signals (0…7), each bipolar and electrically isolated. Each chan- nel is connected by means of a two-wire connection. Due to the reverse polarity protec- tion, the measuring signal is indicated logically correct, even if the connection is polarity- reversed.
  • Page 29: Debounce Filters

    Manual 7.6.2 Debounce filters For the digital inputs, there are four debounce filters for each. These can be chosen and configured for each signal independently. You have got the following filters at your dis- posal:  „Off“ (without filter) ...
  • Page 30 Manual ibaMS4xUCO „Stretch both edges“ With the first edge, the output signal (ocher) follows the initial signal (blue) and keeps the logical level for the duration of the defined debounce time. Thereafter, the channel is transparent again and waits for the next edge – be it rising or falling.
  • Page 31: Start-Up / Update

    Overall Release Version The „overall release version“ provides information about the software version of the en- tire iba-modular system. You can find it on the website of the central unit or in the I/O manager of ibaPDA. Important note If you require support, specify the „overall release version“.
  • Page 32: Update

    Important note The web interface is available only with the central unit ibaPADU-S-IT-2x16. Start the website of the iba-modular system in your browser and select the central unit. On the “update“ tab, click on the <Browse…> button and choose the <padusit2x16_ v[xx.yy.zzz].iba>...
  • Page 33: Module Information / Diagnostics

    Important information about the iba-modular system, like hardware version, firmware ver- sion, FPGA version and serial number is displayed in the “Diagnostics” tab. Open the ibaPDA I/O manager and choose your iba-modular system in the tree structure (see also the figure above).
  • Page 34 Manual ibaMS4xUCO „info“ tab 8.4.2.1 The „info“ tab displays general information and technical specifications of the I/O module. Figure 21: „info“ tab „notes“ tab 8.4.2.2 On the “notes“ tab, you can enter notes, e.g. for notes on wiring or on recording of changes.
  • Page 35: Iba Applications

    9.1.1.1 Encoder parameter file editor The EPF editor can be started in ibaPDA by selecting the ibaMS4xUCO module in the I/O manager and then clicking the option “Create new encoder file…” on the “General” tab in the encoder type field.
  • Page 36 Manual ibaMS4xUCO Figure 24: EPF editor The EPF editor consists of 3 parts:  Encoder parameters Here, you can enter the vendor name, a device name (encoder type) and a version num- ber. The encoder parameter file name is a combination of these entries according to this syntax: VendorName_DeviceName_vx.yz.xml...
  • Page 37 Manual The encoder parameter file can be saved using the <Save> button. The file is automati- cally saved in the respective ibaPDA directory. It appears in the drop-down list of the ecnoder type and is preselected. Figure 26: Encoder parameter file in the drop-down list In addition, an external storage location can be specified, e.
  • Page 38: Upload The Encoder Parameter File To Ibapadu-S-It-2X16

    Manual ibaMS4xUCO 3. In the following step, you can select further settings, like “counter reset on N”, input circuit and input signal level. It is also possible to enable the expert mode. In expert mode, you can configure all settings. If expert mode is active, it is not possible to undo this. You can only restart the editor and cancel all settings.
  • Page 39: Configuration In Ibapda

    If you want to install the ibaPADU-S system at first, refer to the manual of the central unit, chapter “Configuration with ibaPDA”. The ibaMS4xUCO module provides inputs and outputs. The input signals are configured in the “Hardware” menu of the I/O manager and the output signals in the “Outputs” menu.
  • Page 40 Manual ibaMS4xUCO Hardware menu - „General“ tab 9.2.2.1 Figure 29: I/O manager ibaMS4xUCO – General tab Basic  Module Type (information only) Indicates the type of the current module.  Locked A module can be locked to avoid unintentional or unauthorized changing of the module settings.
  • Page 41 Manual then ibaPDA cannot modify the configuration of the modules and signals. In this case the configuration is set by the embedded application. The following entries can be displayed:  ibaPDA When ibaPDA is displayed, an embedded application has not been started and the configuration can be set by ibaPDA.
  • Page 42 Manual ibaMS4xUCO With the default settings, as shown in the figure above, the frequency will be measured at each period and timeout is not active.  In mode 3 (pulse width/duty cycle), the parameter “timeout” is available. For a parameter description refer to chapter 7.4.4.6.
  • Page 43 Manual Figure 30: I/O manager ibaMS4xUCO – Analog tab The following settings apply to the „Analog“ tab:  Name The signal names are predefined. You can enter two additional comments (click on icon in the Name field).  Unit The units are predefined according to the signal type.
  • Page 44 Hardware menu – „Digital“ tab 9.2.2.3 The following settings apply to the „Digital“ tab: Figure 31: I/O manager ibaMS4xUCO – Digital tab  Name You can enter signal names and two additional comments (click on the icon in the Name field).
  • Page 45: Configurations Of Outputs

    Manual 9.2.3 Configurations of outputs The digital outputs are configured in the “Outputs” menu. Output signals can be triggered by means of virtual signals. Virtual signals can be defined with the expression builder in ibaPDA. Other documentation For a detailed description of the expression editor, see ibaPDA manual, chapter “Expres- sion editor”.
  • Page 46 Manual ibaMS4xUCO Outputs Menu – „Digital“ tab 9.2.3.2 The following settings apply to the „Digital“ tab: Figure 33: Outputs menu – Digital tab  Name You can enter a name for the signal and two additional comments (click on the icon in the Name field).
  • Page 47 Manual  Expression By means of the expression editor you can configure an output signal to reset a hardware error.  Active Enabling/disabling the signal. Issue 1.5...
  • Page 48: Configuration In Ibalogic-V5

    (mode) can be chosen for each channel, see also chapter 7.4.5. Note The ibaMS4xUCO input signals are changing depending on the mode. If the rotary en- coder or mode settings have been changed, the settings are only applied after a click on <OK>...
  • Page 49: Configuring Signals

    The X27 digital outputs and the X5 digital inputs are permanently available and can be freely configured. Note The number, type and name of the ibaMS4xUCO counter input signals depend on the selected mode, see chapter 9.3.1. The output signals of the digital inputs and digital outputs are always available. Depend- ing on the adjusted mode, additional output signals of the counter channels are available (MinPeriods_Ch[00…03], MinTime_Ch[00…03], Timeout_Ch[00…03]).
  • Page 50 The “digital raw signals” of all channels are always present regardless of the mode. Whereas the name and the type of the analog input signals (UCO_AI_Ch0[00…03]_[sig- nal_name_depending_on_mode]) vary depending on the mode. Figure 37: ibaMS4xUCO inputs If “Buffered Access“ is enabled, you can see additional input and output signals. Note You need to apply the “Buffered Access“...
  • Page 51 Manual Signal Description Inputs UCO_AI_Ch[00..03]_[mode] Analog input signals (depending on mode), see chap- ter 7.4.5 and the following example. These signals result from the analysis of the digital input signals („raw sig- nals“). Digital input signals („raw signals“). This data is used for UCO_DI_Ch[00..03]_A...
  • Page 52: Technical Data

    Manual ibaMS4xUCO Technical Data 10.1 Main data Short description Name ibaMS4xUCO Description Counter module with 4 channels and digital inputs and out- puts Order number 10.124310 Supply, operating elements and indicators Power supply 24 V DC, internal via back plane Power consumption Max.
  • Page 53: Counter Inputs

    Manual 10.2 Counter inputs Number Design Galvanically isolated, differential (DIF) or single ended (SE) for incremental encoder or absolute encoder (SSI) In addition Pullup, pulldown and termination resistors RS422 termination with 120 Ω Encoder supply 5 V DC / 100 mA...
  • Page 54: Digital Inputs

    Manual ibaMS4xUCO Electrical isolation Channel-24Volt ground AC 1.5 kV Channel-channel/housing AC 1.0 kV Connector type 1x37-pin Sub-D connector, soldered terminal (0.8 mm 1.2 mm ), can be connected by screws, included in delivery 10.3 Digital inputs Number Design Galvanically isolated, single ended, protected against re-...
  • Page 55: Dimension Sheet

    Manual Electrical isolation Root-root AC 1.5 kV Root-housing/power supply AC 1.5 kV Connector type 1x6-pin multi-pin connector, clamp-type terminal (0.8 mm to 2.5 mm ), screw connection, included in deliv- Protective functions Safe state Channel root switched off Current limitation From approx.
  • Page 56 Manual ibaMS4xUCO (Dimensions in mm) Figure 39: Module dimensions with connectors Issue 1.5...
  • Page 57: Appendix

    Supported rotary encoders Note The ibaMS4xUCO module supports various rotary encoders. Three of the rotary switches which are already implemented are described in the following by way of example. The ibaMS4xUCO internal channel wirings refer to wirings (circuit diagrams) illustrated in chapter 7.4.3.
  • Page 58 PC817 (or similar) is connected to the signals MF and GND of ibaMS4xUCO. The MD50 alarm output is typically open when an alarm is active. The Sony MD50 rotary encoder is to be connected to ibaMS4xUCO as indicated below. Sony MD50-2N/-4N ibaMS4xUCO =[10V;...
  • Page 59 Manual 11.1.1.3 Modes / Analysis regulations The following modes and analysis regulations are realized for the Sony MD50 rotary encoder: Mode Calculated Description input values Signal name Type 0: Deactivated Channel is deactivated Counts pulses according to the „quadrature...
  • Page 60 Manual ibaMS4xUCO The following table shows the adjusted parameters. 1: Pulse 2: Period / fre- 3: Pulse width 4: Up/down Analysis counter quency / duty cycle counter regulation Mode irect uadrature ● ● ● pos. A High ● ● ●...
  • Page 61: Hübner Fg4/Fgh4

    470Ω 470Ω 470Ω 470Ω 470Ω 470Ω Figure 42: Pin assignment Hübner FG4/FGH4 11.1.2.2 Circuit diagram The Hübner FG4 rotary encoder is to be connected to ibaMS4xUCO as indicated below. Hübner FG4 ibaMS4xUCO unused 470 Ω 500 mW RS485 470 Ω...
  • Page 62 Manual ibaMS4xUCO 11.1.2.3 Modes / Analysis regulations The following modes and analysis regulations are realized for the Hübner FG4 rotary encoder: Mode Calculated Description input values Signal name Type 0: Deactivated Channel is deactivated Counts edges according to the „quadrature...
  • Page 63: Hengstler Ri58-O-Xax-Xxrx

    Manual The following table shows the adjusted parameters. 1: Pulse 2: Period / fre- 3: Pulse width 4: Up/down Analysis counter quency / duty cycle counter regulation Mode irect uadrature ● ● ● pos. A High ● ● ●...
  • Page 64 RS485 RS485 RS485 1,2 V COMP ALARM Figure 45: Hengstler RI58-O-xAx-xxRx connection to ibaMS4xUCO 11.1.3.3 Modes / Analysis regulations The following modes and analysis regulations are realized for the Hengstler RI58-O-xAx- xxRx rotary encoder: Mode Calculated Description input values...
  • Page 65 Manual 2: Period/frequency on PeriodTime DINT Period and frequency are measured accord- ing to „quadrature mode“ A / B / AB pulses ABDirection DINT All 4 edges (pos.A, neg.A, pos.B, neg.B) are Frequency REAL processed, i. e. the measured frequency is...
  • Page 66: Connection Modes

    Usually, the output circuit of the rotary encoder is designed as push-pull amplifier. In this case, the ibaMS4xUCO module is connected as follows: In case the output circuit is an open collector, the ibaMS4xUCO module has to supply the required voltage.
  • Page 67 Usually, the output circuit of the rotary encoder is designed as push-pull amplifier. In this case, the ibaMS4xUCO module is connected as follows: In case the output circuit is an open collector, the ibaMS4xUCO module has to supply the required voltage.
  • Page 68 You have to do the following entries in the encoder parameter file (XML): 11.2.1.4 Differential („DIF“) HTL As the differential counter inputs of the ibaMS4xUCO module are designed for TTL, the appropriate series resistors have to be inserted into the signal circuits (here for V 30 V): In case you don’t need termination –...
  • Page 69: Absolute Encoder (Ssi)

    Manual 11.2.2 Absolute encoder (SSI) An absolute encoder (SSI) is only intended as differential („DIF“) and as TTL. 11.2.2.1 SSI master receiver 11.2.2.2 SSI slave receiver The "slave receiver" function is usually used to be able to listen to an already existing SSI absolute encoder: Issue 1.5...
  • Page 70 Manual ibaMS4xUCO Therefore, connected terminating resistors can lead to an incomplete line termination. For this reason, no terminating resistors are connected in this connection example. Issue 1.5...
  • Page 71: Overview Of The Encoder Parameter File

    Manual 11.3 Overview of the encoder parameter file In the encoder parameter file, the encoder specific parameters, which are based on the manufacturer specific data sheet, are entered. The encoder parameter file is created as XML file and contains the following three sec- tions: The only property which is always configured, is the „Value“...
  • Page 72: Section 1: General Encoder Information

    Manual ibaMS4xUCO 11.3.1 Section 1: General encoder information  VendorName:  Name of the encoder manufacturer (freely selectable)  May only contain letters; no spaces allowed.  DeviceName:  Name of the encoder type (freely selectable)  May only contain letters, numbers and minus („-„), no spaces allowed.
  • Page 73: Section 2: Encoder Modes

    Manual 11.3.2 Section 2: Encoder modes Mode 0 concerns all connected encoder versions, Modes 1 - 4 concern all incremental encoders, Modes 5 and 6 concern all absolute encoders (SSI) Depending on the encoder version that is connected, it is recommended to delete the modes that are not currently used from the XML file.
  • Page 74 Manual ibaMS4xUCO 11.3.2.3 Mode 2: Period / frequency calculation For a description, please see mode1 (pulse counter). 11.3.2.4 Mode 3: Pulse width / duty cycle calculation  Mode: The number of the respective mode 11.3.2.5 Mode 4: Upcounter / Downcounter ...
  • Page 75 Manual 11.3.2.6 Mode 5: SSI slave receiver  Mode: The number of the respective mode  SSIClockTime: Pause detection between the cycles, min. twice the cycle 5.12 µs 2 * 5.12 µs = 10.24 µs x * 5.12 µs ...
  • Page 76: Section 3: Io Configuration

    Manual ibaMS4xUCO 11.3.3 Section 3: IO configuration For an overview of the wiring, please also see chap. 7.4.3  „SE“: single ended  „DIF“: differential Issue 1.5...
  • Page 77 Manual 11.3.3.1 Channel properties (mode independent)  TTLThreshold: Only for „SE“, detection between log. „0“ and log. „1“.  0:  1: 1.2 V - default for TTL (5 V)  2: 2.4 V  3: - default for HTL (24 V) ...
  • Page 78 Manual ibaMS4xUCO 11.3.3.2 Digital signal properties (mode dependent) – Signal A,B,N  Use_A: Channel enabled  SingleEnded_A: Switching „SE“ – „DIF“  EnableTermination_A: Only for „DIF“, 120 Ohm termination between A+ and A-  InvertPolarity_A: Inverts signal polarity  EnableAnalogFilter_A: Only for „SE“, enables analog RC low pass filter with 180 kHz...
  • Page 79 Manual 11.3.3.3 Digital signal properties (mode dependent) – signal MF The MF channel is only designed for a single ended (“SE”) connection.  Use_MF: Channel enabled  EnablePullUp_MF: Only for open collector connection, internal supply (V = 5 V) 1 kOhm pullup (only A, B, N) connected ...
  • Page 80: Tips

    Manual ibaMS4xUCO 11.4 Tips The following calculations require the number of pulses of the encoder (pulses per rev- olution). This is specified in the data sheet of the encoder. The specified number of pulses, however, always refers to a measurement in "direct mode".
  • Page 81 Manual The unit of the distance (cm, inches, etc.) results from the given unit of the measuring wheel circumference. However, if you want to know the required pulses for a certain distance, you have to take the following approach: Pulses per distance = (<distance>...
  • Page 82 +49 911 97282-0 Fax: +49 911 97282-33 E-mail: iba@iba-ag.com Contact: Harald Opel Shipping address iba AG Gebhardtstr. 10 DE-90762 Fürth Germany Regional and Worldwide For contact data of your regional iba office or representative please refer to our website www.iba-ag.com. Issue 1.5...

Table of Contents