IBA ibaLink-SM-64-io User manual

ibaLink-SM-64-io
System Interface for SIMATIC S5 and MMC
Manual
Issue 3.6

2
Issue 3.6
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 2020, All Rights Reserved
The content of this publication has been checked for compliance with the described hard-
ware 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 down-
loaded on the Internet.
The current version is available for download on our web site http://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 device is certified according to the European standards and directives. This device
corresponds to the general safety and health requirements. Further international cus-
tomary standards and directives have been observed.
Issue
Date
Revision
Chapter
Author
Version
HW / FW
V 3.6
11-2020
2Mbit protocol removed

ibaLink-SM-64-io
Manual
Issue 3.6
3
Table of contents
1About this manual ...........................................................................................5
1.1 Target group.................................................................................................. 5
1.2 Notations....................................................................................................... 5
1.3 Used symbols................................................................................................ 6
2Introduction .....................................................................................................7
3Scope of delivery.............................................................................................8
4System requirements......................................................................................9
4.1 Hardware ...................................................................................................... 9
4.2 Software........................................................................................................ 9
5Installation / Deinstallation........................................................................... 10
5.1 Installing the Card ....................................................................................... 10
5.2 Removing the Card ..................................................................................... 10
6Product Characteristics................................................................................ 11
6.1 Connectors and Operational Elements on Front Panel.................................11
6.1.1 Reset Button ............................................................................................... 12
6.1.2 Coding Switch ............................................................................................. 12
6.1.3 LED Status.................................................................................................. 13
6.1.4 Fiber Optic Connectors ............................................................................... 13
6.1.5 RJ11 Socket................................................................................................ 13
6.2 Connectors and Switches on Board ............................................................ 14
6.2.1 S5 Applications: Switch Settings on the Board ............................................ 15
6.2.2 MMC Applications: Switch Settings on the Board ........................................ 16
6.2.3 Backplane Connector.................................................................................. 17
6.3 Cascading Boards (Loop Mode):................................................................. 18
6.4 Compatibility................................................................................................ 18
6.5 Memory Organization .................................................................................. 19
6.6 Transmit Telegrams via the Fiber Optic Connections................................... 20
7System Topologies and Application............................................................21
7.1 Peer-to-Peer Operation (frame-to-frame connection) .................................. 21
7.2 ibaPDA Application...................................................................................... 22
7.3 ibaLogic Application..................................................................................... 23
7.4 I/O Mode of Operation................................................................................. 24
8S5 – Function Blocks and Modes of operation...........................................25
8.1 S5 - Function Blocks ................................................................................... 25
8.2 Cache Mode 115U/135U/155U.................................................................... 25
8.3 Function Blocks........................................................................................... 26

Manual
ibaLink-SM-64-io
4
Issue 3.6
8.3.1 Data blocks and Offset Assignment............................................................. 27
8.4 Switch Layout and Application Examples .................................................... 29
8.5 Multi-Processor Mode 155U........................................................................ 30
8.6 The simultaneous (bidirectional) send and receive mode (135U) ................ 33
8.7 Special features of S5-150U ....................................................................... 35
9Technical Data............................................................................................... 36
10 Support and contact ..................................................................................... 37

ibaLink-SM-64-io
Manual
Issue 3.6
5
1 About this manual
This manual describes the construction, the use and the operation of the device ibaLink-
SM-64-io.
1.1 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 train-
ing, knowledge and experience and knowledge of the standard regulations.
1.2 Notations
The following designations are used in this manual:
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 dia-
gram
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
ibaLink-SM-64-io
6
Issue 3.6
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!
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.

ibaLink-SM-64-io
Manual
Issue 3.6
7
2 Introduction
The card ibaLink-SM-64-io is an interface board in double European size, with modified
design for SIMATIC S5 (8 bit and 16 bit) and SIMICRO MMC 216.
It is used for transmission of measured data from a SIMATIC S5 or SIMICRO MMC 216-
system to an ibaPDA or ibaLogic system or for realization of a so called frame connec-
tion.
The card provides a fiber optical (FO) transmitter and receiver on the front panel.
Up to 64 analog (Integer / Float) and 64 digital signals can be transmitted over these
connections.
The ibaLink-SM-64-io-card uses a dedicated memory range on the backplane bus of the
S5 or MMC system. The data to be measured are written into this memory range by the
system where the card is plugged in and are transmitted over an iba standard fiber optical
interface with 3.3 Mbit/s to the iba system.
The fiber optical receiver is used for data being sent from an ibaLogic system to the S5
or MMC system and for input of measured data from other iba systems or devices
(ibaPADU, ibaLink-MBII, ibaLink-SM-128V-i-2o etc.) to the S5 or MMC system.
By means of a crossed over point-to-point connection between two ibaLink-SM-64-io
cards or an ibaLink-SM-64-io card and another iba component with FO transmitter and
receiver in another PLC system, data can be exchanged even without an iba software
application.

Manual
ibaLink-SM-64-io
8
Issue 3.6
3 Scope of delivery
ibaLink-SM-64-io board
ibaLink-SM-64-io manual
S5- function blocks (on DVD “iba Software & Manuals”)
P23-k1st.s5d for S5-115U (941-944) Cache Mode
P23-k2st.s5d for S5-115U (945) Cache Mode
P23-k3st.s5d for S5-135U (928) Cache Mode
P23-k4st.s5d for S5-150U (924-927) Cache Mode
P23-k5st.s5d for S5-155U (948) Cache Mode
P23-m5st.s5d for S5-155U (948) linear addressing for
multi-processor mode

ibaLink-SM-64-io
Manual
Issue 3.6
9
4 System requirements
4.1 Hardware
Control system
SIMATIC S5-155U/CPU 948, S5-150U/CPU 924-927, S5-135U/CPU 928B,
S5-115U/CPU 941B, 942B, 943B, 944B
SIMICRO MMC 216 system with at least one free slot
Accessories
For measurement or analysis of the received data beside the board:
PC with one of the following fiber optical interface boards:
ibaFOB-io-S or ibaFOB-io-X, resp.
ibaFOB-4i-S + ibaFOB-4o or
ibaFOB-4i-X + ibaFOB-4o-X as well as
ibaFOB-D + ibaFOB-io-ExpressCard
also older FOB-F ISA-cards can be used
For measuring on a notebook computer an ibaCom-PCMCIA-F card (type 2) and
the corresponding spiral cable are required.
In order to realize a frame-to-frame connection a second ibaLink-SM-64-io card or an-
other iba component such as ibaLink-MBII-2io or ibaLink-SM-128V-i-2o (VMEbus) is re-
quired.
4.2 Software
Accessories
For further data processing on a connected PC, the following components are required:
Online software
ibaPDA
ibaQDR
Signal manager (Soft-PLC) ibaLogic, V3.60 or higher
ibaScope, version 3.0.01 or higher
Analysis software
ibaAnalyzer (V2.50 or higher)

Manual
ibaLink-SM-64-io
10
Issue 3.6
5 Installation / Deinstallation
Each ibaLink-SM-64-io board occupies a single slot in the S5 and/or MMC rack.
The EGB standards for handling electrostatic sensitive devices must be followed.
Use a ground line or discharge any electrostatic charge from yourself before touching
the card.
Av
oid direct contact with the connectors.
5.1 Installing the Card
1. Unpack the card carefully. Use a ground line or discharge any electrostatic charge
from yourself before touching the card.
2. Put the card with the welded side down on an even, clean and dry surface and make
the required settings of the DIL switches.
3. Switch off the S5 and/or MMC rack.
4. Take hold of the card by the two grips between thumb and index finger each.
5. Slide the card into the appropriate slot of the S5 and/or MMC system carefully.
6. Before sliding in the card to the end make sure that the two screws on the rear side
of the front panel can slide into the dedicated holes in the rack.
7. Push the card firmly until the end by pressing your thumbs on the front panel.
8. Fix the card to the rack with the two screws on the upper and lower end of the front
panel.
5.2 Removing the Card
In order to remove the card from the S5 and/or MMC rack please follow these steps:
1. Switch off the power supply of the S5 and/or MMC rack.
2. Release the screws in the front panel.
3. Press the two grips apart from each other. This will release the card from the back-
plane connectors.
4. Pull the card out of the slot.

ibaLink-SM-64-io
Manual
Issue 3.6
11
6 Product Characteristics
6.1 Connectors and Operational Elements on Front Panel
Reset-button
Coding Switch (chain offset)
Status LED (busy)
Sender (FO output)
Receiver (FO input)
RJ11 Notebook computer connector
Lower grip and screw
Figure 1: Front panel

Manual
ibaLink-SM-64-io
12
Issue 3.6
6.1.1 Reset Button
Depressing this switch resets the board. When the button is depressed the board can
not be accessed by the system. Please note, that in certain instances, this may cause
disturbances within a host system, when the ibaLink-SM-64-io card refuses bus access
requests during reset.
6.1.2 Coding Switch
The coding switch determines how much data is to be extracted from the local DPR (Dual
Port RAM) and how much is to be accepted from the subordinate (cascaded) boards.
Linking receive data is only possible with new telegrams.
The cascading setup only recognizes groups of 8 measurement values for both real and
integer values. Due to the differing data lengths (4 bytes and 2 bytes), double data words
are transmitted for real values and single data words are transmitted for integers. The
allocation of the cascade data occurs in the function blocks with offset start and offset
end. (see also 6.3)
Reals
Front
Switch
Cascaded Data Local Data
Double Word Variable Bit Variable Double Word Variable Bit Variable
Position 0 DD 0 - 126 Bit 0 - 63 - :
Position 1 DD 16 - 126 Bit 8 - 63 DD 0 -14 Bit 0 -7
Position 2 DD 32 - 126 Bit 16 - 63 DD 0 -30 Bit 0 - 15
Position 3 DD 48 - 126 Bit 24 - 63 DD 0 -46 Bit 0 - 23
Position 4 DD 64 - 126 Bit 32 - 63 DD 0 -62 Bit 0 - 31
Position 5 DD 80 - 126 Bit 40 - 63 DD 0 -78 Bit 0 - 39
Position 6 DD 96 - 126 Bit 48 - 63 DD 0 -94 Bit 0 - 47
Position 7 DD 112 - 126 Bit 56 - 63 DD 0 - 110 Bit 0 - 55
Position 8 ----------------- ------------- DD 0 - 126 Bit 0 - 63
Default position: 8 (no cascade, all local variables are copied)

ibaLink-SM-64-io
Manual
Issue 3.6
13
Integer
Front
Switch
Cascaded Data Local Data
Double Word Variable Bit Variable Double Word Variable Bit Variable
Position 0 DW 0 -63 Bit 0 - 63 - :
Position 1 DW 8 -63 Bit 8 - 63 DW 0 -7 Bit 0 -7
Position 2 DW 16 -63 Bit 16 - 63 DW 0 -15 Bit 0 - 15
Position 3 DW 24 -63 Bit 24 - 63 DW 0 -23 Bit 0 - 23
Position 4 DW 32 -63 Bit 32 - 63 DW 0 -31 Bit 0 - 31
Position 5 DW 40 -63 Bit 40- 63 DW 0 -39 Bit 0 - 39
Position 6 DW 48 -63 Bit 48 - 63 DW 0 -47 Bit 0 - 47
Position 7 DW 56 -63 Bit 56 -63 DW 0 -55 Bit 0 - 55
Position 8 ------------------- ------------- DW 0 -63 Bit 0 - 63
Position 9 none none Reception
DW 0 -63
Reception
DW 0 -63
The switch setting 9 of the rotary switch at the front panel activates the additional receiver mode of the
ibaLink-SM-64-io. In this transmission mode it is possible to receive and send 64 analog plus 64 binary
signals in both directions. No cascading is possible in this mode of operation
If the rotary switch is turned during operation, incorrect telegrams are generated.
6.1.3 Status LED
LED Status Description
busy blinking
off
valid 3Mbit telegram
no valid 3Mbit telegram
6.1.4 Fiber Optic Connectors
Connector: ST-Lean for fiber optical cable with 62,5 / 125 µm
Transmitter (FO output): light grey color
Receiver (FO input): dark grey color
6.1.5 RJ11 Socket
Here a notebook can be attached for the parallel measurement of the fiber optic output
signals. The measurement of the input signal is not possible at this socket.

Manual
ibaLink-SM-64-io
14
Issue 3.6
6.2 Connectors and Switches on Board
On the assembly side of the board there are three DIL-switches which are used to set
the format of the data to be transmitted and received on the fiber optical channels.
Position of the elements
System
connector (X1)
DIL-Switch 1)
System
connector (X2)
Figure 2: View on assembly side
1) Factory setting of the DIL

ibaLink-SM-64-io
Manual
Issue 3.6
15
6.2.1 S5 Applications: Switch Settings on the Board
The sequence of the switches corresponds to the layout on the board.
Addressing:
SW3 S5-Linear Mode:
Address Settings
S5-Cache Mode:
8-bit Cache Number Settings
OFF (=0) ON (=1) OFF (=0) ON (=1)
1 A10 = 0 A10 = 1 Bit 0 = 0 Bit 0 = 1
2 A11 = 0 A11 = 1 Bit 1 = 0 Bit 1 = 1
3 A12 = 0 A12 = 1 Bit 2 = 0 Bit 2 = 1
4 A13 = 0 A13 = 1 Bit 3 = 0 Bit 3 = 1
5 A14 = 0 A14 = 1 Bit 4 = 0 Bit 4 = 1
6 A15 = 0 A15 = 1 Bit 5 = 0 Bit 5 = 1
7 irrelevant Bit 6 = 0 Bit 6 = 1
8 irrelevant Bit 7 = 0 Bit 7 = 1
Default Setup:
SW1 OFF (=0) ON (=1)
1 Cache mode (S5) Linear mode (S5/MMC)
2 MMC - mode S5 mode
3 8-bit data bus 16-bit data bus
4 new telegram (128DW) old telegram (32W)
5 irrelevant
6 irrelevant
7 irrelevant
8 irrelevant
Supplementary Setup:
SW4 OFF (=0) ON (=1)
1 Transmit test pattern (simulation) Normal mode
2 irrelevant 3.3Mbit data rate: 1 ms for 64 reals
3 S5 REAL (ibaFOB converted to Intel for-
mat)
INTEGER
4 irrelevant
5 irrelevant
6 irrelevant
7 irrelevant
8 irrelevant
Default setup: S5-135U/155U
16-bit mode
Cache mode (No. 0)
Integer data (KF)

Manual
ibaLink-SM-64-io
16
Issue 3.6
6.2.2 MMC Applications: Switch Settings on the Board
The sequence of the switches corresponds to the layout on the board
Addressing Section 2:
SW3 OFF (=0) ON (=1)
1 Addr. 11 = 0 Addr. 11 = 1
2 Addr. 12 = 0 Addr. 12 = 1
3 Addr. 13 = 0 Addr. 13 = 1
4 Addr. 14 = 0 Addr. 14 = 1
5 Addr. 15 = 0 Addr. 15 = 1
6 Addr. 16 = 0 Addr. 16 = 1
7 irrelevant
8 irrelevant
Default Setup:
SW1 OFF (=0) ON (=1)
1 Cache mode (S5) Linear mode (S5/MMC)
2 MMC - mode S5 mode
3 8-bit data bus 16-bit data bus
4 new telegram (128DW) old telegram (32W)
Addressing Section 1:
OFF (=0) ON (=1) Attention:
For the BGT 0, BGT01, BGT03
and BGT05 the addresses
A22 (X2 Pin d22) and A23 (X2 Pin
d26) on the backplane must be re-
wired
i.e. to achive log 0 :to X2 Pin f24).
5 Addr. 17 = 0 Addr. 17 = 1
6 Addr. 18 = 0 Addr. 18 = 1
7 Addr. 19 = 0 Addr. 19 = 1
8 Addr. 20 - 23 = 0 Addr. 20 - 23 = 1
Supplementary Setup:
SW4 OFF (=0) ON (=1)
1 Transmit test pattern (simulation) Normal mode
2 irrelevant 3.3Mbit data rate: 1 ms for 64 reals
3 REAL INTEGER
4 irrelevant
5 irrelevant
6 irrelevant
7 irrelevant
8 irrelevant

ibaLink-SM-64-io
Manual
Issue 3.6
17
Setup Example: CE800
Switch settings: ---SW3--- ---SW1--- ---SW4---
1011 1000 1011 0110 1100 0000
Address 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
X=on/0=off X X 0 0 X X X 0 X 0 0 0 0 0 0 0 0 0 0 0
MMC-mode / 16 bit / new telegram (64 real + 64 bin.) / Addr. CE800 / real
6.2.3 Backplane Connector
X1 (upper connector) X2 (lower connector)
PIN
no Row d Row b Row z PIN
no Row d Row b Row z
2 NC GND VCC 2 NC GND VCC
4 UBAT PESP CLK 4 NC D8 D12 BHE/
6 A12 A0 RESET 6 NC D9 D13 ADB0
8 A13 A1 MRD/ 8 NC D10 D14 ADB17
10 A14 A2 MWR/ 10 ADB20 D11 D15 ADB18
12 A15 A3 RDY/ 12 NC NC ADB19
14 IRA/ A4 DB0 14 ADB21 NC NAU / DB8
16 IRB/ A5 DB1 16 NC NC DB9
18 IRC/ A6 DB2 18 NC NC DB10
20 IRD/ A7 DB3 20 NC NC DB11
22 IRE/ A8 DB4 22 ADB22 NC DB12
24 IRF/ A9 DB5 24 NC NC DB13
26 IRG A10 DB6 26 ADB23 NC DB14
28 DS/ A11 DB7 28 NC NC DB15
30 NC BASP NC 30 NC NC NC
32 NC GND NC 32 NC GND -15 V

Manual
ibaLink-SM-64-io
18
Issue 3.6
6.3 Cascading Boards (Loop Mode):
The ibaLink-SM-64-io can be cascaded in
steps of 8 channels each (8 integer or real and
8 binary values).
The cascade setup is implemented via the
front panel rotary switch.
An example is illustrated on the right.
Right Hand Board Output (Offset = 1):
1 x 8 Local Value
7 x 8 Values linked in via
Cascading Input
Middle Board Output (Offset = 3)
3 x 8 Local Values
5 x 8 Values linked in via
Cascading Input
Left Hand Board Output (Offset = 4):
4 x 8 Local Values
4 x 8 Values from unused Cascade
Input
It is possible to change the fiber optic connec-
tion during operation.
6.4 Compatibility
32-Bit-Mode:
The 32-bit mode of the new S5/MMC interface board (ibaLink-SM-64-io) now transmits
4 telegrams in the sequence EE, EB, E8 and E5.

ibaLink-SM-64-io
Manual
Issue 3.6
19
6.5 Memory Organization
The board supports three memory access modes:
S5 Bus Linear mode
S5 Bus Cache mode
MMC Linear - Bus mode.
The board contains 2KB of dual-port RAM interfaced to 16-bit data bus. The bus can be
set to operate in 8-bit mode when the cache or linear access mode is used.
The board provides both a fiber optic transmitter and receiver on the front panel. In ad-
dition, the data can also be simultaneously transmitted to a notebook PC via a galvani-
cally isolated RS485 interface (RJ11).
Data memory is reset to a default value of 00 by an initialization function as soon as the
board is connected to the power supply. Transmission to both outputs is automatic. The
transmit mode is indicated by a flashing diode on the front panel.
Attention! The first byte of the dualport ram contains the status of the card when read via
the bus backplane.
S5 Mode
The board utilizes the addresses A0 through A15 in this mode. Differentiation between
the 8-bit and 16-bit data bus is made via a switch (SW1/3) on the board. The signal PESP
is not used.
The reset switch on the front panel will cause S5 to revert to the STOP state due to a
time out!
Consistency Checks
A consistency check has been implemented for the writing of data words. Integer mode
always requires 2 bytes (1 word) to be written. Real mode always requires 4 bytes
(2 words) to be written. This occurs in the S5 in a descending sequence and an ascend-
ing sequence in the MMC. The time period between accessing is not limited.
No consistency checking is carried out in the digital range.

Manual
ibaLink-SM-64-io
20
Issue 3.6
6.6 Transmit Telegrams via the Fiber Optic Connections
Figure 3: Telegrams over fiber optics
Packet EE (EB)
Byte 64,65: Module Identification of Acquisition Units
Level 1/2 (ibaLink-SM-64-io or ibaPADU-K)
Byte 66: Status of the Acquisition Units
Bit0 = 1: Test Operation (Real -Transfer)
Bit1 = 1: Reception of S5-Reals
Bit2 = 1: Reception Error from ibaLink-SM-64-io
Bit3 = 1: Operating in Real-Mode (0 = Integer)
Byte 67: Rotary Switch Setting of the ibaLink-SM-64-io
Table of contents
Other IBA Recording Equipment manuals