4.1 Function principle of Identification Systems 12
4.2 Example 13
4.3 Read distance/offset 14
4.4 Product description 14
4.5 Data integrity 14
4.6 Autoread 15
4.7 Supported data carrier types 15
4.8 IO-Link basic knowledge 15
Technical data 16
5
5.1 Electrical data 16
5.2 Operating conditions 16
5.3 BIS M-400-045-001-07-S4 16
5.4 BIS M-400-045-002-07-S4 17
5.5 BIS M-401-045-001-07-S4 18
5.6 BIS M-402-045-002-07-S4 19
5.8 BIS M-451-045-001-07-S4 21
5.9 Dynamic mode 22
IO-Link basics 24
6
6.1 Digital point-to-point connection 24
6.2 Process data container 25
6.3 Identificationdata and device information 25
Parameterizing the read/write device 26
7
7.1 Required data 26
7.2 Mapping of parameterization data 27
7.3 Storing the parameterization data 29
Startup 30
8
Device function 31
9
9.1 Functional principle 31
9.2 Functional principle 31
9.3 Process data 32
www.balluff.com3
4
BIS M-4xx IO-Link Device
Read/Write Device
9.4 Protocol sequence 36
9.5 Protocol examples 37
9.6 Error codes 43
9.7 Data transmission timing 44
Appendix 47
Type designation code 47
Accessories 47
ASCII table 48
www.balluff.com
5
BIS M-4xx IO-Link Device
Read/Write Device
User instructions
1
1.1 Conformity and
user safety
1.2 Scope of delivery
This product was developed and manufactured in accordance with applicable European standards and directives.
Declaration of Conformity
This product was developed and manufactured in accordance with applicable European standards and
directives.
Note
You can request a Declaration of Conformity separately.
For additional safety instruction, refer to Chapter "Safety“ on page 7.
UL listing
Control No. 3TLJ
File No. E227256
Included in the scope of delivery:
BIS M-4xx IO-Link device –
BIS software CD –
Condensed manual in printed form (DE, EN) –
1.3 About this
manual
1.4 Structure of the
manual
1.5 Typographical
conventions
Enumerations
Actions
This manual describes the read/write device of the BIS M-4xx-IO-Link Identification System and
includes startup instructions for immediate operation.
This manual does not describe:
The start-up, function and safe operation of the host device (PC, PLC, IO-Link Master). –
The installation and function of accessories and expansion devices. –
The manual is organized so that the sections build on each other.
Chapter 2: Basic safety information.
Chapter 3: The key steps for installing the Identification System.
Chapter 4: Introduction to the material.
Chapter 5: Technical data for the read/write device.
Chapter 6: Basics on the IO-Link communications standard.
Chapter 7: User-defined settings for the read/write device.
Chapter 8: Integration into a fieldbus system using Profibus as an example.
Chapter 9: Processor and host system interaction.
The following conventions are used in this manual.
Enumerations are shown as a list with an en-dash.
Entry 1, –
Entry 2. –
Action instructions are indicated by a preceding triangle. The result of an action is indicated by
an arrow.
6
BIS M-4xx IO-Link Device
Read/Write Device
User instructions
1
Action instruction 1. ►
Action instruction 2. ►
Action result. ⇒
Syntax
Cross-references
1.6 Symbols
1.7 Abbreviations
Numbers:
Decimal numbers are shown without additional indicators (e.g. 123), –
Hexadecimal numbers are shown with the additional indicator –
Parameters:
Parameters are shown in italics (e.g. CRC_16).
Directory paths:
References to paths in which data are stored or are to be saved are shown in small caps (e.g.
r o j e c t :\Da t a ty P e s \Us e r De f i n e D ).
P
Cross-references indicate where additional information on the topic can be found (see "Technical
Data“ starting on page 16).
Attention!
This symbol indicates a safety instruction that absolutely must be followed.
Note, tip
This symbol indicates general notes.
BISBalluff Identification System
CRCCyclic Redundancy Code
DPPDirect Parameter Page
EMCElectromagnetic Compatibility
LSBLeast Significant Bit
MSBMost Significant Bit
PCPersonal Computer
SIOStandard IO
SPDUService Protocol Data Unit
PLCProgrammable Logic Controller
TCPTransmission Control Protocol
hex (e.g. 00hex).
www.balluff.com7
BIS M-4xx IO-Link Device
Read/Write Device
Safety
2
2.1 Intended use
2.2 General safety
notes
The BIS M-4xx-... read/write device, together with other components of the BIS M, form the
Identification System.
They may only be used for this purpose in an industrial environment corresponding to Class A of
the EMC law.
This description applies for the read/write devices of the BIS M-4xx-... series.
Installation and startup
Installation and startup are only to be performed by trained specialists. Any damage resulting
from unauthorized manipulation or improper use voids the manufacturer's guarantee and warranty.
When connecting the read/write device to an external controller, pay attention to the choice and
polarity of the connection as well as the power supply.
The read/write device must only be powered using approved power supplies (see Chapter 5
"Technical data" beginning on page 16).
Attention!
This is a Class A device. This device may cause RF disturbances in residential areas;
in such a case the operator may be required to take appropriate countermeasures.
Operation and testing
The operator is responsible for ensuring that locally applicable safety regulations are observed.
In the event of defects and non-correctable faults in the Identification System, take the system
out of service and secure it from unauthorized use.
2.3 Meaning of the
warnings
Attention!
The pictogram used with the word "Attention" warns of a possible hazardous situation
affecting the health of persons or equipment damage. Failure to observe these
warning notes may result in injury or damage to equipment.
Always observe the described measures for preventing this danger. ►
8
BIS M-4xx IO-Link Device
Read/Write Device
Getting started
3
3.1 Mechanical
connection
BIS M-400-...-001
BIS M-400-...-002
BIS M-400-045-001-07-S4 read/write device, values in mmFig.1:
1 Maximum tightening torque 40 Nm2 Sensing surface
BIS M-400-045-002-07-S4 read/write device, values in mmFig.2:
1 Maximum tightening torque 40 Nm2 Sensing surface
www.balluff.com
9
0
[
0
[
A
A
BIS M-4xx IO-Link Device
Read/Write Device
Getting started
3
BIS M-401-...-001
BIS M-402-...-002
BIS M-401-045-001-07-S4 read/write device, values in mmFig.3:
1 Maximum tightening torque 3 Nm2 Earthing connector
3 Sensing surface
BIS M-402-045-002-07-S4 read/write device, values in mmFig.4:
1 Sensing surface2 Maximum tightening torque 25 Nm
3 Cable length 0.5 m4 Maximum tightening torque 2 Nm
10
0
[
A
A
BIS M-4xx IO-Link Device
Read/Write Device
Getting started
3
BIS M-402-...-004
BIS M-451-...-001
BIS M-402-045-004-07-S4 read/write device, values in mmFig.5:
1 Sensing surface 2 Maximum tightening torque 1 Nm
3 Cable length 0.5 m4 Maximum tightening torque 2 Nm
BIS M-451-045-001-07-S4 read/write device, values in mmFig.6:
1 Maximum tightening torque 3 Nm2 Read/write axis
3 Earthing connector4 Sensing surface
www.balluff.com
11
BIS M-4xx IO-Link Device
Read/Write Device
Getting started
3
Distance
between the data
carriers
Distance
between the
read/write
devices
Data carrierDistance
BIS M-101-...
BIS M-106-...
BIS M-107-...
BIS M-108-...
BIS M-110-...
BIS M-111-...
BIS M-115-...
BIS M-400-045-...> 10 cm> 15 cm> 10 cm––
BIS M-401-045-...> 20 cm> 20 cm–> 25 cm–
BIS M-402-045-...> 10 cm–> 10 cm––
BIS M-451-045-...––––> 25 cm
BIS M-102-...
BIS M-112-...
BIS M-105-...
BIS M-122-...
BIS M-120-...BIS M-150-...
BIS M-151-...
Read/write deviceMinimum distance
BIS M-400-045-0xx-...20 cm
BIS M-401-045-001-...60 cm
BIS M-402-045-001-...20 cm
BIS M-451-045-001-...60 cm
Note
When installing two BIS M-4xx-...on metal, there is normally no mutual interference.
Unfavorable use of a metal frame can result in problems when reading a data carrier.
In this case, the read distance is reduced to 80% of the maximum value.
In critical applications, a pre-test is recommended.
3.2 Electrical
connection
IO-Link port (M12, A-coded, female)
PINFunction
1+24 V
2NC
3GND
4C/Q
Connect data line to IO-Link Master. ►
(See Balluff IO-Link catalog for connection cable and accessories)
Shielded cables are recommended in electromagnetically distorted environments.
Note
For all variants, the ground connection of the read/write device or of the function
ground are, depending on the system, to be connected to ground either directly / with
low impedance or via a suitable RC combination.
12
BIS M-4xx IO-Link Device
Read/Write Device
Basic knowledge
4
4.1 Function
principle of
Identification
Systems
The BIS M-4xx-045 Identification System is a contactless read and write system. The read/write
device consists of evaluation electronics with permanently connected read/write head. The
system can be used to program and to read information on a data carrier. The data and current
status messages are transmitted from the Identification System to the host system via a defined
protocol. This protocol can also be used to transmit additional commands to the device, such as
switching off the read-head antenna.
The primary components of the BIS M-4xx-045 Identification System are:
Read/write device, –
Data carrier. –
Data is transmitted to the host system via an IO-Link Master.
Schematic representation of an Identification SystemFig.7:
1 Connection to the IO-LinkMaster
3 Data carriers4 Read/write device
The data carrier is an autonomous unit that is supplied with power by the read/write head. The
read/write head continuously sends a carrier signal that is picked up by the data carrier from
within a certain distance. As soon as the data carrier is powered up by the carrier signal, a static
read operation takes place.
The read/write device manages the data transfer between read/write head and data carrier,
serves as a buffer storage device, and sends the data to the host controller.
The data is passed to the IO-Link Master using IO-Link protocol, and the Master then passes it
to the host system.
Host systems may be the following:
a control computer (e.g. industrial PC), –
as PLC. –
The main areas of application are:
in production for controlling material flow (e.g. in model-specific processes, in workpiece –
transport with conveying systems, for acquiring safety-relevant data),
in warehousing for monitoring material movements, –
transportation, and –
conveying technology. –
2 Read/write device
www.balluff.com
13
1
3
4
5
6
2
BIS M-4xx IO-Link Device
Read/Write Device
Basic knowledge
4
4.2 Example
Topology of a BIS M-4xx-045 Identification SystemFig.8:
1 PLC2 PC
3 Fieldbus
5 Connection to the host system6 BIS M-4xx-045 read/write device
4 IO-Link
Master
14
BIS M-4xx IO-Link Device
Read/Write Device
Basic knowledge
4
4.3 Read distance/
offset
4.4 Product
description
To ensure that data carriers are detected without error and the data can be reliably read, do not
exceed a maximum distance and maximum offset between the data carriers and read heads
(see Chapter 5 "Technical data“, page 16).
The "distance" value refers to the maximum distance from the data carrier to the sensing surface
of the read/write head.
The "offset" value indicates the maximum offset between the center axis of the data carrier and
the center axis of the sensing surface.
Data carriers can only be reliably detected and the data reliably read within the permissible read
distance and offset.
Data carrier detection is indicated by an LED on the device ("TP – Tag Present", see Chapter 5
"Technical data“, page 16). At the same time, the CP bit is set in the input buffer ("CP – Codetag
Present“, see Chapter 9.3 "Process data“, page 32).
BIS M-400-045-0xx-07-S4 read/write device:
M30 threaded tube, –
round connector terminations, –
integrated read/write head, –
the read/write head is suitable for dynamic or static operation, –
data carrier is powered by the read/write head using a carrier signal. –
BIS M-4x1-045-0xx-07-S4 read/write device:
plastic housing, –
round connector terminations, –
integrated read/write head, –
the read/write head is suitable for dynamic or static operation, –
data carrier is powered by the read/write head using a carrier signal. –
4.5 Data integrity
BIS M-402-045-0xx-07-S4 read/write device:
metal housing, –
round connector terminations, –
integrated read/write head, –
the read/write head is head suitable for dynamic or static operation, –
data carrier is powered by the read/write head using a carrier signal. –
read/write head in plastic (...-004-...) or metal housing (...-002-...). –
To ensure data integrity, data transfer between the data carrier and read/write device can be
monitored using a CRC_16 data check.
With the CRC_16 data check, a checksum is written to the data carrier which enables the data
to be checked for validity at any time.
Advantages of the CRC_16 data check:
Very high data integrity, even during the non-active phase (data carrier outside the read/write –
head)
Restrictions of the CRC_16 data check:
Longer write times, as the CRC must also be written. –
User bytes are lost on the data carrier –(see table on page 15).
Use of CRC_16 can be parameterized by the user (see Chapter 7 "Parameterizing the read/write
device“, page 26).
www.balluff.com
15
BIS M-4xx IO-Link Device
Read/Write Device
Basic knowledge
4
4.6 Autoread
4.7 Supported data
carrier types
The Autoread function is used to immediately read out a specific memory area of the data carrier
when the data carrier enters the vicinity of the read head. The data quantity in this case is always
8 bytes; the start address can be parameterized.
If a read error occurs during autoread or if the specified data area lies outside the capacity of the
data carrier, no error is displayed. In this case, no data is output.
Mifare
Balluff data
carrier type
Manufac-
turer
DescriptionMemory
capacity
Usable
bytes with
Memory
type
CRC
BIS M-1_ _-01NXPMifare Classic752 bytes658 bytesEEPROM
ISO15693
Balluff data
carrier type
Manufac-
turer
DescriptionMemory
capacity
Usable
bytes with
Memory
type
CRC
BIS M-1_ _-02FujitsuMB89R1182000 bytes1750 bytesFRAM
BIS M-1_ _-03NXPSL2ICS20112 bytes98 bytesEEPROM
BIS M-1_ _-04Texas Inst.TAG-IT Plus256 bytes224 bytesEEPROM
BIS M-1_ _-05InfineonSRF55V02P224 bytes196 bytesEEPROM
BIS M-1_ _-06EMEM4135288 bytes252 bytesEEPROM
BIS M-1_ _-07InfineonSRF55V10P992 bytes868 bytesEEPROM
BIS M-1_ _-08NXPSL2IC553160 bytes140 bytesEEPROM
BIS M-1_ _-09NXPSL2ICS5032 bytes28 bytesEEPROM
4.8 IO-Link basic
knowledge
Advantages of IO-Link:
Uniform, simple wiring of different devices –
Host system can be used to change the device parameters –
Remote querying of diagnostic information is possible –
Centralized data retention of the device parameters is possible –
The manufacturer-specific standard IO-Link sends not only the actual process signal, but also all
relevant parameter and diagnostic data on the process level over a single standard cable.
Communication is based on a standard UART protocol with 24V pulse modulation; no separate
power supply is required.
The BIS M-4xx-045-... is an IO-Link device which uses three-conductor technology (Physics 2).
The transfer rate can be configured to 4800 (COM1), 38400 (COM2) or 230400 (COM3) baud.
The data quantity of the process data is 10 bytes in each direction (see Chapter 9 "Device
function“, page 31).
16
BIS M-4xx IO-Link Device
Read/Write Device
Technical data
5
5.1 Electrical data
(valid for all
device versions)
5.2 Operating
conditions
(valid for all
device versions)
5.3 BIS M-400-045001-07-S4
Operating voltage VS18...30 VDC LPS/Class 2 supplied only
Ripple1.3 Vss
Current draw150 mA
Load current capacity in SIO modeMaximum 50 mA
Output C/QShort-circuit protected
Device interfaceIO-Link
Storage temperature-20 °C … +85 °C
Ambient temperature0 °C … +70 °C
EMC
EN 301 489-1/-3 –
EN 61000-4-2/-3/-4/-6 –
EN 300 330-1 –
Vibration/shockEN 60068 Part 2 6/27/29/64/32
*For 230.4 kBaud, use shielded cable.
**Verified with shielded cable.
Class B
Severity 2A/2A/4B*/XA**
Power Class 5
Mechanical data
BIS M-400-045-001-07-S4 read/write deviceFig.9:
1 LED2 Maximum tightening torque 40 Nm
Housing materialNickel-plated brass
ConnectionM12, 4-pin plug connection
Enclosure ratingIP 67
Weight100 g
www.balluff.com
17
$
/('
/('
/('
/('
$
BIS M-4xx IO-Link Device
Read/Write Device
Technical data
5
LED
5.4 BIS M-400-045002-07-S4
LEDStatusFunction
LED 1GreenPower
LED 1YellowData carrier detected
LED 1Green flashing
(1 s on / 100 ms off)
IO-Link connection active
BIS M-400-045-002-07-S4 read/write deviceFig.10:
1 LED2 Maximum tightening torque 40 Nm
Mechanical data
LED
Housing materialNickel-plated brass
WiringM12, 4-pin plug connection
Enclosure ratingIP 67
Weight100 g
LEDStatusFunction
LED 1 and LED 2GreenPower
LED 1 and LED 2YellowData carrier detected
LED 1 and LED 2Green flashing
(1 s on / 100 ms off)
IO-Link connection active
18
BIS M-4xx IO-Link Device
Read/Write Device
Technical data
5
5.5 BIS M-401-045001-07-S4
Mechanical data
LED
BIS M-401-045-001-07-S4 read/write deviceFig.11:
1 Maximum tightening torque 3 Nm2 Earthing connector
3 Sensing surface
Housing materialPBT
ConnectionM12, 4-pin plug connection
Enclosure ratingIP 67
Weight190 g
LEDStatusFunction
LED 1GreenPower
LED 2YellowData carrier detected
LED 1Green flashing
(1 s on / 100 ms off)
IO-Link connection active
www.balluff.com
19
BIS M-4xx IO-Link Device
Read/Write Device
Technical data
5
5.6 BIS M-402-045002-07-S4
Mechanical data
LED
BIS M-402-045-002-07-S4 read/write device, values in mmFig.12:
1 Maximum tightening torque 25 Nm2 Maximum tightening torque 2 Nm
3 LED
Housing materialAlMGSIO5
Read/write head housing materialNickel-plated brass
ConnectionM12, 4-pin plug connection
Enclosure ratingIP 67
Weight220 g
LEDStatusFunction
LED 1GreenPower
LED 1YellowData carrier detected
LED 1Green flashing
(1 s on / 100 ms off)
IO-Link connection active
20
BIS M-4xx IO-Link Device
Read/Write Device
Technical data
5
5.7 BIS M-402045-004-07-S4
Mechanical data
LED
BIS M-402-045-004-07-S4 read/write deviceFig.13:
1 Sensing surface 2 Maximum tightening torque 1 Nm
3 LED
Housing materialAlMGSIO5
Read/write head housing materialABS-GF16
ConnectionM12, 4-pin plug connection
Enclosure ratingIP 67
Weight220 g
LEDStatusFunction
LED 1GreenPower
LED 1YellowData carrier detected
LED 1Green flashing
(1 s on / 100 ms off)
IO-Link connection active.
www.balluff.com
21
BIS M-4xx IO-Link Device
Read/Write Device
Technical data
5
5.8 BIS M-451-045001-07-S4
Mechanical data
LED
BIS M-451-045-001-07-S4 read/write deviceFig.14:
1 Maximum tightening torque 3 Nm2 Read/write axis
3 Earthing connector
Housing materialPBT
ConnectionM12, 4-pin plug connection
Enclosure ratingIP 67
Weight360 g
LEDStatusFunction
LED 1GreenPower
LED 2YellowData carrier detected
LED 1Green flashing
(1 s on / 100 ms off)
IO-Link connection active
22
BIS M-4xx IO-Link Device
Read/Write Device
Technical data
5
5.9 Dynamic mode
Memory access
Data carrier
detection time
Read times
Write times
The read/write device can read or write each individual byte on the data carrier. But since the
data carrier is divided into 16-byte memory blocks, the actual writing can only be performed in
blocks. Our processor electronics convert this time accordingly.
To calculate the read/write times, the block read or write time must, therefore, always be estimated.
Data-carrier detection time
[mm]
BIS M1xx-02 data carrier≤ 40-≤ 27
BIS M1xx-01 data carrier≤ 30≤ 18-
Data carrier with 16 byte blocksBIS M-1xx-01BIS M-1xx-02
First block to be read≤ 20≤ 35
Other started 16 bytes≤ 10≤ 25
Data carrier with 16 bytes per blockBIS M-1xx-01BIS M-1xx-02
First block to be read≤ 40≤ 65
Other started 16 bytes≤ 30≤ 55
AllBIS M1xx-01BIS M1xx-02
Parameter "Used data carrier type“
Maximum speed
Note
Fluctuations in the ms range are possible. Electrical noise effects may increase the
read/write time.
To calculate the permissible speed at which the data carrier and head may move relative to one
another, the static distance values are used (see Chapter 5 "Technical data“, pages 16 to 23).
The permissible speed is:
Path2 * |offset value|
max. perm..
V
The offset value is dependent on the read/write distance actually used in the system.
Processing time=
1
Number of started blocks
=
TimeProcessing time
=
Data-carrier
detection time
Read/write time
+
of first block to
be read
+ n
Read/write time
1
X
for other started
blocks
www.balluff.com
23
BIS M-4xx IO-Link Device
Read/Write Device
Technical data
5
Note
The texts, such as "Read time of first block to be read", can also be represented as
variables: t
L1.
Example
calculation
Read and write 44 bytes starting with address 15 of a BIS M-102-01/L data carrier with
EEPROM memory and parameter setting of ALL for "Used data carrier type" using the BIS
M-400-045-001-07-S4 read/write device
The distance from the sensing surface of the read/write head to the data carrier is 12 mm. A
maximum clear zone is assumed, i.e. installation completely in plastic frame.
Address 15 is in block 1 (15/16 = 0.94 block 1)
Address 58 is in block 4 (58/16 = 3.63 block 4)
Therefore, a total of 4 blocks will be processed, where the first block always has a slightly longer
read or write time.
Calculation of read/write time:
Total read time = 30 ms + 20 ms + 3 x 10 ms = 80 ms
Total write time = 30 ms + 40 ms + 3 x 30 ms = 160 ms
For the specified values, this yields an offset of ± 20 mm.
Calculation of maximum speed:
max.perm.read = 40 mm/80 ms = 0.5 m/s
V
max.perm.write = 40 mm/160 ms = 0.25 m/s
V
Note
Fluctuations in the ms range are possible. Electrical noise effects may increase the
read/write time.
24
BIS M-4xx IO-Link Device
Read/Write Device
IO-Link basics
6
6.1 Digital point-topoint connection
Three-conductor
physics
IO-Link integrates conventional and intelligent actuators and sensors into automation systems.
Mixed use of traditional and intelligent devices is possible with no additional expense.
IO-Link is intended as a communications standard below the traditional fieldbus level. Fieldbusneutral IO-Link transmission uses existing communications systems (fieldbuses or Ethernetbased systems).
The actuators and sensors are connected in point-to-point connection using conventional
unshielded cables.
IO-Link devices can send application-specific parameters and data (e.g. diagnostics data) using
a serial communication procedure. Flexible telegrams are possible for sending larger quantities of
data. Communication is based on a standard UART protocol with 24V pulse modulation. Only
one data line is used for communication. This carries both the controller telegram as well as the
device telegram. This means that conventional 3-conductor physics is possible.
IO-Link supports both communication mode as well as standard IO mode (SIO). Standard IO
provides a switching signal on the communication line, as is used by normal binary switching
sensors. This mode is only possible with devices using 3-conductor connection technology.
Three-conductor physics of the IO-LinkFig.15:
Communication
mode
Interleave mode
The BIS M-4xx-045... supports both modes. In SIO mode, the "Data carrier in range" (24 V) or
"No data carrier in range" (0 V) signal is made available to the host system as a switching signal.
If the BIS M-4xx-045… is not used with an IO-Link Master and without triggering IO-Link communication, it works in SIO mode and can be operated on a digital input.
The BIS M-4xx-045-... works in communication mode with Frame Type 1. In this transmission
type, 2 bytes of process data or required data are sent per frame (data block). This can take
place either from the IO-Link Master to the device or vice-versa.Process data are the applicationspecific data; required data may contain parameters, service or diagnostic data.
So-called "Interleave Mode" makes it possible to send larger quantities of data. There, multiple
type 1 frames must be combined into a sequence. One frame with process data and one with
required data are sent in alternation.
With the BIS M-4xx-045-..., a sequence consists of 20 individual frames. 10 bytes of process
data are sent in each direction per sequence. This process data is described in greater detail in
Section 9.3 "Process data“ on page 32.
www.balluff.com
25
BIS M-4xx IO-Link Device
Read/Write Device
IO-Link basics
6
6.2 Process data
container
6.3 Identification
data and device
information
The IO-Link protocol provides a process data container 32 bytes in size. Addressing occurs in
the command byte, which is sent by the IO-Link Master. When process data is sent, addressing
is directly to the subindices 00
hex … 1Fhex.
The BIS M-4xx-045-... processes 10 bytes of input and 10 bytes of output data (input
buffer/output buffer). The process data is mapped to the first 10 bytes of the process data
container (subindices 00
IO-Link protocol
Subaddress
hex
00
...
09hex
hex…09hex).
BIS M-4xx IO-Link device
Subaddress
⇒
hex
00
...
...
⇒
hex
09
0Ahex
...
1Fhex
Via the Service-PDu, in addition to the application-specific parameters, information stored on the
device can also be read.
SPDUObject nameLengthInformation
IndexSubindex
0hex8
Vendor ID2 bytes Balluff Vendor ID = 0378hex
9
10
Device ID3 bytes Balluff Device ID = 0602xxhex
11
12
10hex0Vendor name7 bytes Balluff
hex0Vendor text15
11
www.balluff.com
bytes
hex0Product name23
12
Device designation
bytes
Identification data
hex0Product ID7 bytes Order code
13
hex0Product text27
14
bytes
hex0Hardware revision5 bytes Hardware version
16
hex0Firmware revision5 bytes Firmware version
17
IO-Link RFID read-write
head
26
BIS M-4xx IO-Link Device
Read/Write Device
Parameterizing the read/write device
7
7.1 Required dataThe device-specific parameters of the Identification System can be parameterized via the SPDU.
The parameterization data of the BIS M-4xx-045-... is described in the following in greater detail.
AccessDescriptionData
SPDU
IndexSubindex
40hex1hexCRC yes/no1 byte0 = without CRC
hex2hexDynamic mode
40
- yes/no
hex3hexAction if tag
40
present
hex4hexLow byte of start
40
address for
Parameterization data
hex5hexHigh byte of start
40
hex6hexUsed data-carrier
40
41
hex1hexBaud rate1 byte00hex = 4800 baud
autoread
address for
autoread
type
width
1 = with CRC
1 byte0 = no
1 = yes
1 byte0 = no action
1 = serial number and tag type
7 = automatically read 8 bytes of data beginning at
a set start address after subindex 4 and 5
2 bytesObserve data-carrier specifications.0
1 byteSee Chapter 7.2 "Mapping of parameterization
data“, page 27
hex=ALL
00
hex=BIS M1xx-01
FE
hex=BIS M1xx-02
FF
hex = 38400 baud
01
hex = 230400 baud
02
Value rangeFactory
setting
0
0
1
0
1
Note
An entire index can be addressed via subindex 0 . For example, with index 40
subindex 1
hex, only the "CRCCheck" parameter is accessed. With index 40hex/subin-
hex/
dex 0, on the other hand, all parameters from "RCCheck" to "Used data carrier type"
can be addressed. The parameters are then arranged in byte blocks.
www.balluff.com27
BIS M-4xx IO-Link Device
Read/Write Device
Parameterizing the read/write device
7
7.2 Mapping of
parameterization
data
CRC_16
Data check
To ensure data integrity, data transfer between the data carrier and read/write device can be
monitored using a CRC_16 data check.
With the CRC_16 data check, a checksum is written to the data carrier which enables the data
to be checked for validity at any time.
Advantages of the CRC_16 data check:
Very high data integrity, even during the non-active phase (data carrier outside the read/write –
head)
Restrictions of the CRC_16 data check:
Longer write times, as the CRC must also be written. –
User data capacity is sacrificed. –(see table on page 15).
Note
The CRC_16 data check can only be used in combination with data carriers that have
been appropriately initialized. If a data carrier is not initialized and this parameter is
nevertheless set, CRC errors occur during reading and writing (see Chapter 9.6 "Error
codes" page 43).
The data carriers can be initialized for using CRC16 with command designator 12
The checksum is written on the data carrier as 2 bytes (per block) of information. Thus, 2 bytes
of user data is lost per block.
hex.
Dynamic mode
The following figure applies for this parameter:
Index 40hex, subindex 1hex - 1 byte
7-MSB6543210-LSB
not relevant1/0*
* 0 = CRC_16 data check is not used (default setting).
1 = CRC_16 data check is used.
If dynamic mode is activated, a job can be sent even if no data carrier is located in the read/write
range of the read/write head, which would result in errors without dynamic mode. The job is then
stored and is executed as soon as a data carrier is detected.
The "Action on tag present" parameter specifies how the read/write device is to react if a new
data carrier is detected in the field. The default setting is to send the UID (serial number). In
addition, it is possible to set that nothing or a selected range of 8 bytes is to be sent immediately
as read data. The following values are permissible:
Index 40hex, subindex 3hex - 1 byte
0
hexNo action
1
hexSend UID immediately
7
hexImmediately send 8 bytes of data beginning at a set address
(parameter "Autoread start address“)
This parameter is only valid if "Autoread“ was selected as the action on tag present. The start
address can be set via subindices 4
hex (low byte) and 5hex (high byte). The value range is depen-
dent on the specification of the data carrier; take this into account. An incorrect setting prevents
autoread from functioning; no data is output.
This parameter offers the possibility of specifying certain data carrier models that are to be
detected. All models, all BIS M1xx-01 models or all BIS M1xx-02 models can be selected. The
data carriers are detected more quickly if only those that are used are parameterized. The following values are permissible:
Index 40hex, subindex 6hex - 1 byte
0
hexAll data carrier models supported by Balluff
FE
hexAll BIS M1xx-01 model data carriers
FE
hexAll BIS M1xx-02 model data carriers
Baud rate
The Baud Rate parameter can be used to set the used transfer rate. The Min Cycle Time, i.e. the
time intervals at which the device may be queried by the IO-Link Master, is dependent on the
setting of this parameter. The following table applies:
Index 41hex, subindex 1hex - 1 byte
IO Link
designation
COM1480000
COM23840001
COM323040002
Baud Rate
[baud]
Parameter
Min Cycle Time
setting
hex60hex = 12.8 ms
hex35hex = 5.3 ms
hex20hex = 3.2 ms
Note
Not all IO-Link Masters support COM3. This must absolutely be checked before
parameterizing! After the speed has been parameterized once, the device is only
parameterized for this speed and can only be reparameterized using a COM3-capable IO-Link Master. The Balluff-USB-Master is recommended for this purpose. Please
contact Balluff Sales for further information.
After saving the parameter, the M-4xx-045-... performs a reset. During this process,
IO Link communication is interrupted and errors can be displayed in the controller.
Only after this reset does the device restart with the newly set baud rate.
www.balluff.com29
BIS M-4xx IO-Link Device
Read/Write Device
Parameterizing the read/write device
7
7.3 Storing the
parameterization
data
The set parameters are stored in the EEPROM memory of the BIS M-4xx-045-... On restart, the
most recently used parameters are used.
Note
Should it be necessary to exchange a BIS M-400-045-... in the system, make certain
that the correct parameter settings are programmed in the new device.
30
BIS M-4xx IO-Link Device
Read/Write Device
Startup
8
For information on starting up, please read the instructions for your IO-Link Master. BIS M4-xx
IO-Link devices use a process buffer of 10 bytes for both the input and the output.
www.balluff.com31
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
9.1 Functional
principle
The BIS M-4xx-045 Identification System is a contactless read and write system. The read/write
device consists of evaluation electronics with permanently connected read/write head.
The primary components of the BIS M-4xx-045 Identification System are:
Read/write device, –
Data carrier. –
9.2 Functional
principle
Schematic representation of an Identification SystemFig.16:
1 Connection to the IO-LinkMaster
3 Data carriers4 Read/write device
The data carrier is an autonomous unit which is supplied with power by the read/write head. The
read/write head continuously sends a carrier signal which is picked up by the data carrier from
within a certain distance. Once the data carrier is powered, a static read operation takes place.
The processor manages the data transfer between read/write head and data carrier, serves as a
buffer storage device, and sends the data to the controller.
The data is passed to the IO-Link Master using IO-Link protocol, and the Master then passes it
to the host system.
Host systems may be the following:
A control computer (e.g. industrial PC), –
A PLC. –
The BIS M-4xx-045 supports cyclical data exchange via IO-Link protocol and standard IO mode.
Detection of a data carrier (Codetag Present, 24 V) or no data carrier present (0 V) is sent on
data line C/Q as a digital switching signal.
With cyclical data exchange, read data from the BIS M-4xx-045 are cyclically exchanged with
the controller. It is also possible to read or enter parameter data in this operating mode.
2 Read/write device
32
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
9.3 Process data
Output/Input
buffer
Data exchange occurs via the process data, which, depending on the control system that is
used, is mapped in the input and output buffer or in a memory field. The BIS M-4xx-045 uses 10
bytes of input data and
10 bytes of output data; the assignments are described in the following. Subaddress 00
hex
corresponds to the respective start address in the corresponding data field.
To transfer commands and data between the BIS M-4xx-045 read/write device and the host system, the BIS M-4xx-045 provides two fields:
– Output buffer
– Input buffer
These fields are embedded in process data transmission via the IO-Link Master. As already
described, 10 bytes of process data are sent in each direction.
The mapping of this process data is described in the following:
Output buffer:
Bit-No.
76543210
Subaddress
hex - 1st bit headerTIKAGRAV
00
01
hexCommand designator or data
02
hexStart address (low byte) or data
03
hex
04
hexNumber of bytes (low byte) or data
05
hexNumber of bytes (high byte) or data
06
hexData
07
hexData
08
hexData
09
hex - 2nd bit
TIKAGRAV
Start address (high byte) or data
header
Explanations for output buffer:
Subaddress Bit
MeaningFunction description
name
hex1st bit header
00
TIToggle bitA state change during a job indicates that the
KAHead on/off1 = Head off (read/write head switched off)
GRGround state1 = Software reset - causes the BIS to switch to
AVJob1 = New job pending
controller is ready to receive additional data made
available by the read/write device.
0 = Head on (read/write head in operation)
the ground state
0 = Normal operation
0 = No new job or job no longer pending
www.balluff.com
33
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
Subaddress Bit
MeaningFunction description
name
hexCommand
01
designator
or dataData that is to be written on the data carrier
hexStart address
02
Low byte
or dataData that is to be written on the data carrier
hexStart address
03
High byte
or dataData that is to be written on the data carrier
hexNo. of bytes
04
Low byte
or dataData that is to be written on the data carrier
hexNo. of bytes
05
High byte
or dataData that is to be written on the data carrier
00hex = No command
01
hex = Read data carrier
02
hex = Write data carrier
12
hex = Initialize the CRC_16 data check on the
data carrier
hex = Write a constant value on the data carrier
32
Low byte of the start address on the data carrier
for the current job
High byte of the start address on the data carrier
for the current job
Low byte of the data length for the current job
High byte of the data length for the current job
hexDataData that is to be written on the data carrier
06
hexDataData that is to be written on the data carrier
07
hexDataData that is to be written on the data carrier
08
hex2nd bit header
09
TI, KA,
GR, AV
If 1st and 2nd bit headers agree, valid commands
or data are present.
Note
To specify the start address and the number of bytes, the specifications of the used
data carrier and the maximum job size of 256 bytes are to be observed!
34
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
Input buffer:
Bit-No.
Subaddress
hex - 1st bit headerBBHFTOAFAEAACP
00
hexError code or data or high-byte version
01
hexData or low-byte version
02
hexData
03
hexData
04
hexData
05
hexData
06
hexData
07
heData
08
hex - 2nd bit
09
header
76543210
BBHFTOAFAEAACP
Explanations for input buffer:
Subaddress Bit
MeaningFunction description
name
hex1st bit header
00
BBPower1 = Device is ready
HFHead Failure1 = Head is turned off
TOToggle BitA state change during a job indicates that the read/
AFJob Error1 = Job incorrectly processed
AEJob End1 = Job processed without errors
AAJob accepted1 = The job was detected and accepted. Is being
CPCodetag Present Data carrier is in the read range of the read/write
0 = Device is in ground state
0 = Head is turned on
write device is ready to transfer other data
0 = Job processed without errors
0 = No job or job running
processed.
0 = No job active
head
No data carrier in read range
www.balluff.com
35
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
Subaddress Bit
MeaningFunction description
name
hexError codeError number is entered if the job was incorrectly
01
processed or canceled.
Only valid with AF bit!
hex = No error
00
hex = No data carrier in read/write range
01
hex = Error during reading
02
hex = Data carrier was removed from the read
03
range of
the head during reading
hex = Error during writing
04
hex = Data carrier was removed from the write
05
range of
the read/write head during writing.
hex = AV-bit is set but command designator is
07
invalid or missing. Or: number of bytes is 00
hex = The CRC on the data carrier does not
0E
agree with the calculated CRC for the read data.
hex = 1st and 2nd bit header of the output buffer
0F
do not agree.
hex = Addressing of the job lies outside of the
20
memory range of the data carrier
hex = Calls up a function that is not possible with
21
the current data carrier.
or dataData which was read from the data carrier
or SW versionHigh byte of the software version
hex.
hexDataData which was read from the data carrier
02
or SW versionLow byte of the software version
hexDataData which was read from the data carrier
03
hexDataData which was read from the data carrier
04
hexDataData which was read from the data carrier
05
hexDataData which was read from the data carrier
06
hexDataData which was read from the data carrier
07
hexDataData which was read from the data carrier
08
hex2nd bit header
09
BB, HF, TO, AF, AE, AA, CPIf 1st and 2nd bit headers agree, there is valid data
present
36
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
Note
The 1st and 2nd headers must be compared by the user (host system) in order to
query the validity of the sent data.
9.4 Protocol
sequence
When communication is initiated by the IO-Link Master, transmission of the current process data
begins.
As long as no data carrier was detected after start-up of the device, the firmware version of the
device is displayed in the first two user bytes (see Chapter 9.5 "Protocol examples“, page 37).
If a data carrier is detected, the "Reaction to Tag Present" set in the parameterization is executed. If, for example, display serial number is set here, the serial number of the currently detected
data carrier is displayed in index 01
The bit headers of the output buffer can be used to control the device. For example, a device
restart can be triggered by setting the GR bit or a new job can be passed by setting the AV bit.
Furthermore, the write data can be passed to the device here.
The state of the device is displayed in the input buffer. Here, for example, the AF bit indicates an
error in the current job and the HF bit indicates that the head is currently switched off. In addition, the input buffer is used to pass read data and status codes. If no data carrier is present, the
most recent data is displayed in the input buffer. The deleted CP bit indicates that no data carrier
is in the field.
By means of this method, all functions of the read/write device can be used. This includes
reading, –
writing, –
dynamic reading, –
dynamic writing, –
writing a constant value, –
initializing CRC16 on the data carrier. –
hex...08hex.
Note
Note here that a job is limited to a maximum of 256 bytes. If more than 256 bytes are
to be processed, multiple, individual jobs must be started.
Functions can only be executed if a data carrier is in the read/write range. If a command is to be
sent that is not to be executed until the next tag is encountered, the device must be parameterized for dynamic mode (see Chapter 7 "Parameterizing the read/write device“, page 26).
www.balluff.com
37
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
9.5 Protocol
examples
1st example
2nd example
The following examples show the protocol sequence in various situations.
Start the device, still no data in the output buffer:
Command from controller
BIS M-4xx-045-... reaction
1.Process output buffer: 2.Process input buffer:
hexGR, KA, AV = 000hexSet BB
00
hexGR, KA, AV = 001hexe.g. 10hex
09
02
hexe.g. 10hex
09hexSet BB
Reaction to Tag Present = no and new data carrier in the read range:
Command from controller
BIS M-4xx-045-... reaction
1.Process output buffer: 2.Process input buffer:
hexGR, KA, AV = 000hexSet CP
00
hexGR, KA, AV = 009hexSet CP
09
= V 1.00
3rd example
4th example
Reaction to Tag Present = serial number and new data carrier in the read range:
Command from controller
BIS M-4xx-045-... reaction
1.Process output buffer: 2.Process input buffer:
hexGR, KA, AV = 000hexSet CP
00
hexGR, KA, AV = 001 ... 08hexUID
09
hexSet CP
09
Reaction to TagPresent = read (start address 5) and data carrier in the read range:
Command from controller
BIS M-4xx-045-... reaction
1.Process output buffer: 2.Process input buffer:
hexGR, KA, AV = 000hexSet CP
00
hexGR, KA, AV = 001hexAddress 5 read data
09
...
01 ... 08
hexSet CP
09
Address 12 read data
hexUID
38
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
5th example
6th example
Data carrier no longer in detection range of the read/write head:
Command from controller
BIS M-4xx-045-... reaction
1.Process output buffer: 2.Process input buffer:
hexGR, KA, AV = 000hexDelete CP
00
hexGR, KA, AV = 009hexDelete CP
09
Initialization of the CRC_16 data check on the data carrier (256 bytes beginning with
address 0):
Command from controller
1. Process subaddresses in the order
BIS M-4xx-045-... reaction
2. Process input buffer:
shown:
hexCommand designator 12hex00hex/09hexSet AA
01
hexStart address 00hex
02
03hex
Start address 00hex
04hexNo. of bytes 00hex
05hexNo. of bytes 01hex
00hex/09hexSet AV
3. Process subaddresses:4. Copy received data, process subaddresses of the input buffer:
hex... 08hex Enter the first 8 bytes of data00hex/09hexInvert TO
01
hex... 07hex Invert TI
00
5. Process subaddresses:6. Copy received data, process subaddresses of the input buffer:
hex... 08hex Enter the second 8 bytes of
01
00hex/09hexInvert TO
data
hex... 09hex Invert TI
00
65. Process subaddresses:66. Copy received data, process subaddresses of the input buffer:
01
hex... 08hex Enter the last 8 bytes of data00hex/09hexSet AE
hex... 09hex Invert TI
00
67. Process subaddresses:68. Process subaddresses:
00
hex/09hexDelete AV00hex/09hexDelete AA and AE
Note
Repeat the process with the new addresses until the entire memory range of the data
carrier is initialized.
www.balluff.com
39
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
7th example
Read 17 bytes starting at data carrier address 10:
Command from controller
1. Process subaddresses in the order
BIS M-4xx-045-... reaction
2. Process input buffer:
shown:
hexCommand designator 01hex00hex/09hexSet AA
01
hexStart address 0Ahex01hex... 08hex Enter the first 8 bytes of data
02
hexStart address 00hex
03
04hexNo. of bytes 11hex
05hexNo. of bytes 00hex
00hex/09hexSet AV
3. Copy received data, process subaddresses of the input buffer:
hex... 09hex Invert TI01hex... 08hex Enter second 8 bytes of data
00
5. Copy received data, process subaddresses of the input buffer:
hex... 09hex Invert TI01hexEnter last byte of data
00
4. Process subaddresses of the input
buffer:
hex/09hexInvert TO
00
6. Process subaddresses of the input
buffer:
hex... 08hex 0x00 (empty)
02
hex/09hexInvert TO, set AE
00
7. Copy received bytes, process subaddresses of the input buffer:
hex... 09hex Delete AV00hex/09hexDelete AF and AA
00
8. Process subaddresses of the input
buffer:
40
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
8th exampleRead 30 bytes starting at address 10 with read error:
9th exampleWrite 18 bytes starting at data carrier address 20
Command from controller
1. Process subaddresses in the order
BIS M-4xx-045-... reaction
2. Process input buffer:
shown:
hexCommand designator 02hex00hex/09hexSet AA
01
hexStart address 14hex
02
03hexStart address 00hex
04hexNo. of bytes 12hex
05hexNo. of bytes 00hex
00hex/09hexSet AV
3. Process subaddresses:4. Copy received data, process subaddresses of the input buffer:
hex... 08hex Enter the first 8 bytes of data00hex/09hexInvert TO
01
hex... 07hex Invert TI
00
5. Process subaddresses:6. Copy received data, process subaddresses of the input buffer:
hex... 08hex Enter the second 8 bytes of
01
00hex/09hexInvert TO
data
hex... 09hex Invert TI
00
7. Process subaddresses:8. Copy received data, process subaddresses of the input buffer:
01
hex... 02hex Enter the remaining 2 bytes of
00hex/09hexSet AE
data
hex... 09hex Invert TI
00
9. Process subaddresses:10. Process subaddresses:
00
hex/09hexDelete AV00hex/09hexDelete AA and AE
42
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
10th
example
11th
example
Write constant data. 20 bytes, value 5A
Command from controller
1. Process subaddresses in the order
hex, starting at address 0:
BIS M-4xx-045-... reaction
2. Process input buffer:
shown:
hexCommand designator 32hex00hex/09hexSet AA
01
hexStart address 00hex
02
03hexStart address 00hex
04hexNo. of bytes 14hex
05hexNo. of bytes 00hex
06hexValue 5Ahex
00hex/09hexSet AV
3. Data is written
hex/09hexSet AE
00
4. Process subaddresses:5. Process subaddresses:
00
hex/09hexDelete AV00hex/09hexDelete AA and AE
Move read/write device to ground state:
Command from controller
BIS M-4xx-045-... reaction
1. Process subaddresses:2. Process input buffer:
12th
example
hex/09hexSet GR01...08hex00hex (empty)
00
hex/09hexDelete BB
00
3. Process subaddresses:4. Process input buffer:
00
hex/09hexDelete GR00hex/09hexSet BB
Perform head shutdown:
Command from controller
BIS M-4xx-045-... reaction
1. Process subaddresses:2. Process input buffer:
hex/09hexSet KA00hex/09hexSet HF, delete CP
00
New data carriers are not detected,
antenna is shut down.
3. Process subaddresses:4. Process input buffer:
hex/09hexDelete KA00hex/09hexSet HF
00
New data carriers are now detected
again.
www.balluff.com
43
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
9.6 Error codes
Error
MeaningRemedy
code
hexNo data carrier in read/write rangeData carriers must already be in the
01
read/write range when a command is
sent; otherwise dynamic mode must be
parameterized.
hexRead errorRepeat job.
02
hexData carrier was removed from the read
03
range of the head during reading.
hexWrite errorRepeat job.
04
hexData carrier was removed from the write
05
range of the read/write head during
writing.
hexAV is set, but the command designator is
07
Please check and correct.
invalid or missing. Or: number of bytes is
hex.
00
0E
hexCRC errorData carrier was not successfully read.
Possible causes:
Data carrier defective –
Transmission failed –
Data carrier not CRC capable –
hexBit header errorThe two headers in the output buffer and
0F
in the host system do not agree.
The headers must be matched (see
"Output buffer“,
page 32).
hexAddressing of the job lies outside of the
20
memory range of the data carrier.
hexCalls up a function that is not possible
21
with the current data carrier.
Please correct addressing, taking into
account the used data carrier.
Observe permissible commands for the
current data carrier.
Note
If an error occurs, a new command cannot be executed until the AV has first been
deleted, i.e. the faulty job has been completed in full.
44
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
9.7 Data
transmission
timing
The sequence of the IO-Link communication is shown in the following diagram. Exchange alternates between the input buffer and the output buffer. As soon as current data is pending in one
of the buffers, it is exchanged on the next in or out data cycle. The problem arises here that the
transmission times can vary greatly. If data is updated shortly before the start of the respective
exchange cycle, the transfer lasts just over 10 x cycle time (e.g. t2). If, however, data is updated
shortly after the start of an exchange cycle, it lasts a maximum of 3 x 10 x cycle time (e.g. t3).
The processing sequence of a command is shown on the next page using a read job of 9…16
bytes (2 x input buffer for read data) as an example.
IO-Link transmission sequenceFig.17:
t1 Cycle timeIn-Data: Input data
t2 Polling timeOut-Data: Output data
3 Cycle timeProcess Data Cycle: Process data cycle
t
Byte a+b: Process data
x: Required data
Cycle time t1:
Time until the data of a data carrier that enters the read range is read. The read time is 70 ms x
number of parameterized data comparison counts, default = 2 (see Chapter 7.2 "Mapping of
parameterization data“, page 27).
Polling time t
Time until it is recognized that the data carrier is no longer in the read range (polling time). The
polling time is xx ms.
Cycle time t
Time between the sending of two frames. The cycle time is dependent on the set baud rate and
on the respective Master.
2:
3:
www.balluff.com45
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
In-Data/Out-Data:
Sending of the input data and output data. 10 frames of 2 bytes each are sent, alternating
between process data and required data (x).
Process Data Cycle:
A process data cycle consists of the complete sending of the input and output data. At the
beginning of each process data cycle, the current data are polled and immediately sent.
IO-Link transmission sequenceFig.18:
1 The command is passed on to the IO-LinkMaster by the controller via a bus system.
2 After the synchronization time t1, the command is passed on to the BIS M-400-045-… via IO-Link. The
duration is dependent on the bus system, the Master, the cycle time and the current state of the IOLinkcommunication (see problem described above).
3 The processing time begins with the arrival of the command at the M-400-045-…This is composed of
the time for the command processing t2, the time for the actual read operation t3 and the evaluation
time for the read data t4. A flat value of max. 3 ms can be estimated for t2 and t3. The pure read time is
calculated as described (see Chapter 5.9 "Dynamic mode", page 22). Please note: If the data carrier that
is to be read was already detected by the device, the time for data carrier detection is eliminated.
4 The pure time for data carrier processing is shown here.
5 Following another synchronization time t5, the first data is passed on to the IO-LinkMaster with the next
In-Data cycle. In addition, the AE-bit is set in the bit header. The time for this is t7 = 10 x cycle time.
6 The data is only passed on to the controller via the host bus system. The latency period t6 is dependent
on the bus system and the IO-LinkMaster.
7 After the first data arrives at the controller, the toggle-bit in the output buffer must be inverted (see
Chapter 9 "Device function“, page 31). In the example, it is assumed that the this occurs immediately
and that the transfer to the IO-LinkMaster happens fast enough that the BIS M-400-045-… receives the
new data on the next Out-Data cycle.
46
BIS M-4xx IO-Link Device
Read/Write Device
Device function
9
8 Now, the device places the next and, thus, the last bytes of the read data in the input buffer and inverts
the toggle bit.
9 The controller retrieves the data and deletes the AV bit.
10 The re-updated output buffer is sent to the BIS M-400-045-….
11 The device ends the read command and deletes the bits in the bit header in the input buffer that belong
to the job .
A maximum command processing time can be approximated as follows:
Note
The sequence for a write command occurs analogously. Here, the data is transfered
via IO-Link and the actual writing on the data carrier is interchanged.
proc.max = 40 x tcyc + read/write speed + 5 ms + 30 x tcyc + 20 x tcyc x n
Ttot
5 ms + t
1
2
3
read/write speed
Number of bytes/8 (rounded to the next whole number)
Calculated time for data carrier processing (see Chapter 5.9 "Dynamic mode“, page 22)
Master Cycle Time.
2
+ tcyc3 x (70 + 20 x n)
1
=
Note
The actual required time may be considerably less than the maximum processing
duration.
Note
Prerequisite for calculating the maximum command processing time is that no delays
occur in the host bus system and in the controller.
www.balluff.com
47
BIS M-4xx IO-Link Device
Read/Write Device
Appendix
Type designation
code
Accessories
(optional, not
included)
BIS M – 4xx – 045 – 0xx –07–S4
Balluff Identification System
Series
M = Read and write system, 13.56 MHz
Hardware type
4xx = Read/write device
Software type
045 = Software number, IO-Link
Version
001 = Standard
002 = Tapered
interface
0 7 = IO-Link
module
S4 = M12 4-pin male
Accessories for the BIS M-4xx-... can be found in the Balluff IO-Link catalog.
The catalog can be downloaded on the Internet at "www.balluff.de".