IBA ibaMS4xUCO User manual

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

Manufacturer
iba AG
Koenigswarterstr. 44
90762 Fuerth
Germany
Contacts
Head office +49 911 97282-0
Fax +49 911 97282-33
Support +49 911 97282-14
Technology +49 911 97282-13
E-Mail: iba@iba-ag.com
Web: www.iba-ag.com
This manual must not be circulated or copied, or its contents utilized and disseminated,
without our express written permission. Any breach or infringement of this provision will
result in liability for damages.
© iba AG 2019, All rights reserved.
The content of this publication has been checked for compliance with the described
hardware and software. Nevertheless, deviations cannot be excluded completely so
that the full compliance is not guaranteed. 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. Other prod-
uct and company names mentioned in this manual can be labels or registered trade-
marks of the corresponding owners.
Certification
The product is certified according to the European standards and directives. This prod-
uct meets the general safety and health requirements.
Further international customary standards and directives have been observed.
Note: This equipment has been tested and found to comply with the limits for a Class A digital device, pur-
suant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harm-
ful interference when the equipment is operated in a commercial environment. This equipment generates,
uses, and can radiate radio frequencyenergy and, if not installed and used in accordance with the instruction
manual, may cause harmful interference to radio communications. Operation of this equipment in residential
area is likely to cause harmful interference in which case the user will be required to correct the interference
at his own expense.
Issue
Date
Revision
Chapter
Author
Version
HW / FW
1.5
02/26/2019
Technical data, Tips
10.2, 11.2
ms

ibaMS4xUCO
Manual
Issue 1.5
3
Table of contents
1About this manual...........................................................................................6
1.1 Target group ..................................................................................................7
1.2 Notations.......................................................................................................7
1.3 Used symbols................................................................................................8
2Introduction.....................................................................................................9
3Scope of delivery ..........................................................................................10
4Safety instructions........................................................................................ 11
4.1 Proper use...................................................................................................11
4.2 Special safety instructions ...........................................................................11
5System requirements...................................................................................12
5.1 Hardware.....................................................................................................12
5.2 Software......................................................................................................12
6Mounting, Connecting, Dismounting ..........................................................13
6.1 Mounting......................................................................................................13
6.2 Connecting ..................................................................................................13
6.3 Dismounting.................................................................................................13
7Device description........................................................................................14
7.1 Views...........................................................................................................14
7.2 Indicating elements......................................................................................14
7.2.1 Operating status L1 … L4 ............................................................................14
7.2.2 Counter inputs / digital outputs L30…L45 ....................................................15
7.2.3 Digital inputs L10…L17................................................................................15
7.3 Connection diagram.....................................................................................16
7.4 Counter inputs X28......................................................................................17
7.4.1 Pin assignment............................................................................................17
7.4.2 Channel signals...........................................................................................17
7.4.3 Wiring (Circuit diagram)...............................................................................18
7.4.4 Theory.........................................................................................................19
7.4.5 Modes / Analysis regulations (in general).....................................................25
7.5 Digital outputs X27.......................................................................................27
7.5.1 Pin assignment............................................................................................27
7.5.2 Circuit diagram ............................................................................................27
7.5.3 Protective function.......................................................................................27
7.6 Digital inputs X5...........................................................................................28
7.6.1 Pin assignment............................................................................................28
7.6.2 Debounce filters...........................................................................................29

Manual
ibaMS4xUCO
4
Issue 1.5
8Start-up / Update........................................................................................... 31
8.1 Auto-Update................................................................................................31
8.2 Overall Release Version..............................................................................31
8.3 Update ........................................................................................................32
8.3.1 Update via web interface.............................................................................32
8.3.2 Update via ibaPDA......................................................................................32
8.4 Module Information / Diagnostics ................................................................33
8.4.1 Diagnostics in ibaPDA.................................................................................33
8.4.2 Web interface..............................................................................................33
9iba Applications............................................................................................ 35
9.1 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
9.2 Configuration in ibaPDA..............................................................................39
9.2.1 Add a module..............................................................................................39
9.2.2 Configuration of inputs and rotary encoders................................................39
9.2.3 Configurations of outputs.............................................................................45
9.3 Configuration in ibaLogic-V5........................................................................48
9.3.1 Rotary encoder configuration.......................................................................48
9.3.2 Configuring signals......................................................................................49
10 Technical Data............................................................................................... 52
10.1 Main data ....................................................................................................52
10.2 Counter inputs.............................................................................................53
10.3 Digital inputs................................................................................................54
10.4 Digital outputs .............................................................................................54
10.5 Dimension sheet..........................................................................................55
11 Appendix ....................................................................................................... 57
11.1 Supported rotary encoders..........................................................................57
11.1.1 Sony MD50-2N/-4N.....................................................................................57
11.1.2 Hübner FG4/FGH4......................................................................................61
11.1.3 Hengstler RI58-O-xAx-xxRx ........................................................................63
11.2 Connection modes ......................................................................................66
11.2.1 Incremental encoder....................................................................................66
11.2.2 Absolute encoder (SSI) ...............................................................................69
11.3 Overview of the encoder parameter file.......................................................71
11.3.1 Section 1: General encoder information ......................................................72
11.3.2 Section 2: Encoder modes ..........................................................................73
11.3.3 Section 3: IO configuration ..........................................................................76
11.4 Tips.............................................................................................................80
11.4.1 Speed calculation........................................................................................80
11.4.2 Distance calculation ....................................................................................80

Manual
ibaMS4xUCO
6
Issue 1.5
1 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 centralunits and how to use and operate them
in separate manuals.
Note
The documentation for the iba-modular system is part of the DVD that is included in
delivery.
The documentation of the iba-modular system comprises the following manuals:
Central units
The manuals of the central units, e.g. ibaPADU-S-IT-2x16 and ibaPADU-S-CM,
contain the following information:
Scope of delivery
System requirements
Description of the device
Mounting/Demounting
Start-up
Configuration
Technical data
Accessories
Modules
The manuals for the single modules contain specific information about the module.
There are the following information classes:
Short description
Scope of delivery
Product characteristics
Configuration
Description of the functions
Technical data
Connection diagram

ibaMS4xUCO
Manual
Issue 1.5
7
1.1 Target group
This manual addresses in particular thequalified professionals who are familiar with han-
dling electrical andelectronic modules aswell 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.
1.2 Notations
In this manual, the following notations are used:
Action
Notations
Menu command
Menu Logic diagram
Call of menu command
Step 1 –Step 2 –Step 3 –Step x
Example:
Select menu Logic diagram –Add –New logic
diagram
Keys
<Key name>
Example: <Alt>; <F1>
Press keys simultaneously
<Key name> + <Key name>
Example:
<Alt> + <Ctrl>
Buttons
<Button name>
Example:
<OK>; <Cancel>
File names, Paths
„File name“, „Path”
Example:
„Test.doc“

Manual
ibaMS4xUCO
8
Issue 1.5
1.3 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!
Due to the improper handling of software products which are coupled to input and
output procedures with control function!
If you do not observe the safety instructions regarding the process and the system or
machine to be controlled, there is a risk of death or severe injury!
The non-observance of this safety information may result in a potential risk of death or
severe injury!
The non-observance of this safety information may result in a potential risk of injury or
material damage!
Note
A note specifies special requirements or actions to be observed.
Important note
Note if some special features must be observed, for example exceptions from the rule.
Tip
Tip or example as a helpful note or insider tip to make the work a little bit easier.
Other documentation
Reference to additional documentation or further reading.

ibaMS4xUCO
Manual
Issue 1.5
9
2 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.
In brief
I/O module for the iba-modular system
Counter module with 4 inputs
Galvanically isolated, single ended
50 MHz (20 ns); 32 bit resolution
Max. input signal level:
TTL 5 V (Transistor Transistor Logic)
HTL 24 V (High Threshold Logic)
Sampling rate up to 40 kHz, freely adjustable
8 digital inputs
Input signal 24 V DC
4 digital outputs
Quad root, P switch
Switching frequency up to 40 kHz, freely adjustable
Short-circuit limitation
Rugged design, easy mounting
Certification according to CE
Fields of application
Period measurements
Frequency measurements
Test benches
SSI Slave
Sony roll gap encoder

Manual
ibaMS4xUCO
10
Issue 1.5
3 Scope of delivery
After having unpacked the delivery, please check it for completeness and have a look if
the parts might be damaged.
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)

ibaMS4xUCO
Manual
Issue 1.5
11
4 Safety instructions
4.1 Proper use
The device is an electrical apparatus. It is only allowed to use the device for the following
applications:
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.
4.2 Special safety instructions
Strictly observe the operating voltage range (see Technical Data)!
Never use damaged measuring cables!
Measuring cables must NOT be attached or detached to/from the device under voltage!
Modules must NOT be attached or detached to/from the rack under voltage!
Switch off the central unit or disconnect power supply before attaching/detaching the
modules.
Important Note
Do not open the device! Opening the device leads to a loss of warranty!
Note
Clean the device only on the outside with a dry or slightly damp and statically dis-
charged cloth.

Manual
ibaMS4xUCO
12
Issue 1.5
5 System requirements
5.1 Hardware
Central unit: ibaPADU-S-IT-2x16 or ibaPADU-S-CM (version 02.12.004 or later)
Back plane unit, e. g. ibaPADU-B4S
5.2 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.

ibaMS4xUCO
Manual
Issue 1.5
13
6 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).
6.1 Mounting
1. Disconnect the central unit from the power supply.
2. Remove the cover from the backplane bus, to which the module should be attached.
3. Attach the device to the backplane bus and press it firmly against the backplane.
4. Secure the device with the fixing screws.
Important note
Always screw tight the device and the modules. If you do not screw it tight, connecting or
disconnecting the connectors for the inputs and outputs might cause damages.
6.2 Connecting
Note
The backplane unit and the device must be connected to a protective conductor.
1. Connect all cables.
2. If all required cables are connected, connect the central unit to the power supply.
3. Switch on the central unit.
6.3 Dismounting
1. Disconnect the central unit from the power supply.
2. Remove all cables.
3. Remove the both fixing screws on the upper and the lower side of the device.
4. Pull the device straight from the backplane.
5. Put the cover on the backplane bus.

Manual
ibaMS4xUCO
14
Issue 1.5
7 Device description
7.1 Views
1
2
3
4
5
6
7
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
Figure 1: Front view
7.2 Indicating elements
The operating status of the device and the status of the channels are shown by colored
status LEDs.
7.2.1 Operating status L1 … L4
LED
Color
Status
Description
L1
Green
Off
Flashing / On
Device is not working (switched off)
Device is working
L2
Yellow
On
Access to the backplane bus
L3
White
-
-
L4
Red
Off
Flashing
Normal status, no faults
Device failure

ibaMS4xUCO
Manual
Issue 1.5
15
Important note
When the LED L4 indicates a failure, please contact the iba Support.
7.2.2 Counter inputs / digital outputs L30…L45
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.
Status
Counter inputs
Status*
Digital outputs
Off
Green
Yellow
Red
no signal, logical 0 /
rotary encoder mode
„0: deactivated“
signal ok, logical 1
signal not used
channel failure
Off
Green
Yellow
no signal, logical 0
signal ok, logical 1
Load voltage is missing (per channel
root) or overcurrent (channel root
switched off)
*If an output is deactivated with ibaPDA, the corresponding LED remains off.
7.2.3 Digital inputs L10…L17
The green LEDs show if the digital input is active or not.
LED
Status
Description
L10 …L17
Off
On
No signal, logical 0
Signal ok, logical 1

Manual
ibaMS4xUCO
16
Issue 1.5
7.3 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

ibaMS4xUCO
Manual
Issue 1.5
17
7.4 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
A+
Main signal 1
A-
Differential signal to A+
B+
Main signal 2, can also be enable-signal for A
B-
Differential signal to B+
N+
Reset signal for counter
N-
Differential signal to N+
MF
Multifunctional input, can be used as alarm input (e.g.)
VCC
Encoder/channel supply, can supply both (configured as output) the con-
nected encoder and (configured as input) the channel
GND
Ground connection for encoder/channel supply

Manual
ibaMS4xUCO
18
Issue 1.5
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.
A / B / N
1k
1k
1k
COMP
RS422
120r
+
-
+
-
Enable analog filter
on TTL input
0
1
Enable 5 V
on output
Enable 120R
differential
termination
Enable 1k
pulldown
Enable 1k
Pullup
on external
voltage
Enable 1k
Pullup
on internal
5 V
5 V
VCH
A/B/N+
A/B/N-
GND
TTL Threshold
Voltage 0
1
2
3
1 V
1,2 V
2,4 V
5 V
1
1=TTLMode
0=DiffMode
0
Invert
Polarity
0
1
Current
limiting
≤10mA
KANAL
KANAL
KANALKANAL
A/B/N
A/B/N
A/B/N
A/B/N
KANAL
180 kHz
-5V
+5V Enable debounce
filter
0
1
A/B/N
Deb.Filt.
Channel common
property Signal property
Figure 4: Schematic channel wiring A / B / N
MF
270r1k
COMP
+
-
Enable analog filter
on TTL input
0
Enable
270R
Pullup
to internal
5 V
5 V
MF
GND
TTL Threshold
Voltage 0
1
2
3
1 V
1,2 V
2,4 V
5 V
Invert
Polarity
0
1
Enable 5 V
on output
VCH
KANAL KANAL
MF
MF
MF
180 kHz
Current
limiting
≤10mA
Enable debounce
filter
0
1
MF
Deb.Filt.
Channel common
property Signal property
Figure 5: Schematic channel wiring MF

ibaMS4xUCO
Manual
Issue 1.5
19
Setting
Applys to
Signal
Description
Enable 5 V
on output
channel
(A, B, N, MF)
Enables 5V power supply on VCC.
TTL Threshold
Voltage
channel
(A, B, N, MF)
Adjusts the threshold for the detection of logical „0“ and logi-
cal “1“ (only when TTL mode is active).
Enable 1k
Pullup
on external
voltage
channel
(A, B, N)
Enables the 1 kΩpullup resistor on external voltage VCC.
Enable 1k
pulldown
channel
(A, B, N)
Enables the 1 kΩpulldown resistor.
Enable 1k
Pullup
on internal
5 V
channel
(A, B, N)
Enables the 1 kΩpullup resistor on internal 5 V.
Enable 120R
differential
termination
A / B / N
Enables the 120 Ωtermination resistor between the positive
and negative signal.
Can also be used as pulldown resistor together with 1 kΩ
pulldown for TTL mode.
Enable analog filter
on TTL input
A / B / N / MF
Enables the 180 kHz RC low-pass filter.
(only when TTL mode is active).
1=TTLMode
0=DiffMode
A / B / N
Switch between differential and single-ended signal.
Invert
Polarity
A / B / N / MF
Inverts signal polarity.
Enable debounce
filter
A / B / N / MF
Enables one of the debounce filters, see chapter 7.6.2.
Enable
270R
Pullup
to internal
5 V
MF
Enables the 250 Ωpullup resistor to internal 5 V.
Important note
The figures of the channel wiring only show the physical layout of a channel and what is
technically possible. Depending on the rotary encoder type, fixed values are assigned to
the switch settings.
7.4.4 Theory
This chapter describes the internal calculation methods and the corresponding parame-
ters.
The following table gives an overview of the possible settings and the range of functions.
Individual items are described in the following chapters.

Manual
ibaMS4xUCO
20
Issue 1.5
Analysis
regulation
1: Pulse coun-
ter
2: Period / fre-
quency
3: Pulse width
/ duty cycle
4: Up/down
counter
Mode
D1
Q
D
Q
Direct
Quadrature
Signal edge
pos. A
○2
●
○
●
High
level
●
neg. A
○
●
○
●
●
pos. B
High
level
●
High
level
●
●
neg. B
●
●
●
Function
„Divide by 4“
○
„Reset on N“
○
○
○
„B as qualifier“
○
○
7.4.4.1 „Direct mode“ / „Quadrature mode“
There are basically two counting modes:
„Direct mode“
„Quadrature mode“
„Direct mode“
In “direct mode”, only the edges of the A signal are counted. The following options are
possible: the rising edge, the falling edge or both edges may be counted. The B signal
may be used as enable signal, see chapter 7.4.4.2.
„Quadrature mode“
In “quadrature mode”, all 4 edges or quadrants of the A and B signal are counted. The
following scheme shows the internal period calculation.
1
D= „direct mode“; Q=“quadrature mode“
2
„○“ = optional; „●“ = preset; „▬“ = not active
Table of contents
Other IBA Control Unit manuals