IO Data Mapping
DeviceNet Objects
Indicators and Switches
Version: 1.2
08.11.2006
Please note the following
Target group
Safety requirements
This description is only intended for the use of trained specialists in control
and automation engineering who are familiar with the applicable national
standards.
The responsible staff must ensure that the application or use of the products described satisfy all the requirements for safety, including all the relevant laws, regulations, guidelines and standards.
The documentation has been prepared with care. The products described are,
however, constantly under development. For that reason the documentation is not
in every case checked for consistency with performance data, standards or other
characteristics, and does not represent an assurance of characteristics in the sense
of § 459, Para. 2 of the German Civil Code. In the event that it contains technical or
editorial errors, we retain the right to make alterations at any time and without warning. No claims for the modification of products that have already been supplied may
be made on the basis of the data, diagrams and descriptions in this documentation.
This manual is copyrighted. Any reproduction or third party use of this protected
publication, whether in whole or in part, without the written permission of Elektro
Beckhoff GmbH, is forbidden.
ILxxx-B520
Table of Contents
Table of Contents
1 FOREWORD 4
1.1
Notes on the documentation 4
1.1.1
Liability Conditions 4
1.1.2
Delivery conditions 4
1.1.3
Copyright 4
1.2
Safety Instructions 5
1.2.1
State at Delivery 5
1.2.2
Description of safety symbols 5
INTRODUCTION 6
2 IO DATA MAPPING 7
2.1
IO Data Assignment of IL230x and Extension Boxes 7
2.1.1
IL230x-B520 9
2.1.2
IE100x 9
2.1.3
IE1502 9
2.1.4
IE200x 10
2.1.5
IE230x 10
2.1.6
IE240x 10
2.1.7
IE3102 10
2.1.8
IE3112 11
2.1.9
IE3202 11
2.1.10 IE3312 12
2.1.11 IE4112 12
2.1.12 IE4132 13
2.1.13 IE5009 13
2.1.14 IE5109 14
2.1.15 IE6002 14
2.1.16 IE6012 15
2.1.17 IE6022 15
2.2
IO Mapping Example 16
2.3
Assembly Objects 18
2.3.1
Input Assembly 19
2.3.2
Output Assembly 19
2.3.3
Mapping IO Assembly Data to DeviceNet Objects 19
3 IL CONFIG OBJECT 20
4 DIGITAL INPUT CHANNEL OBJECT 25
5 DIGITAL OUTPUT CHANNEL OBJECT 26
6 ANALOG INPUT CHANNEL OBJECT 27
7 ANALOG OUTPUT CHANNEL OBJECT 29
ILxxx-B520 2
Table of Contents
8 INDICATORS AND SWITCHES 31
8.1
Start-up procedure and Diagnostics LEDs 31
8.2
Fieldbus / DeviceNet LEDs 32
8.3
DeviceNet Node Address Switches 33
9 APPENDIX 34
9.1
Support and Service 34
9.1.1
Beckhoff's branch offices and representatives 34
9.2
Beckhoff Headquarters 34
3 ILxxxx-B520
Foreword
1 Foreword
1.1 Notes on the documentation
This description is only intended for the use of trained specialists in control and automation engineering who
are familiar with the applicable national standards. It is essential that the following notes and explanations are
followed when installing and commissioning these components.
1.1.1 Liability Conditions
The responsible staff must ensure that the application or use of the products described satisfy all the requirements for safety, including all the relevant laws, regulations, guidelines and standards.
The documentation has been prepared with care. The products described are, however, constantly under
development. For that reason the documentation is not in every case checked for consistency with performance data, standards or other characteristics. None of the statements of this manual represents a guarantee
(Garantie) in the meaning of § 443 BGB of the German Civil Code or a statement about the contractually
expected fitness for a particular purpose in the meaning of § 434 par. 1 sentence 1 BGB. In the event that it
contains technical or editorial errors, we retain the right to make alterations at any time and without warning.
No claims for the modification of products that have already been supplied may be made on the basis of the
data, diagrams and descriptions in this documentation.
1.1.2 Delivery conditions
In addition, the general delivery conditions of the company Beckhoff Automation GmbH apply.
This documentation is copyrighted. Any reproduction or third party use of this publication, whether in whole
or in part, without the written permission of Beckhoff Automation GmbH, is forbidden.
ILxxxx-B520 4
i
Foreword
1.2 Safety Instructions
1.2.1 State at Delivery
All the components are supplied in particular hardware and software configurations appropriate for the application. Modifications to hardware or software configurations other than those described in the documentation
are not permitted, and nullify the liability of Beckhoff Automation GmbH.
1.2.2
The following safety symbols are used in this documentation. They are intended to alert the reader to the
associated safety instructions..
Description of safety symbols
This symbol is intended to highlight risks for the life or health of personnel.
Danger
This symbol is intended to highlight risks for equipment, materials or the environ-
Attention
Note
ment.
This symbol indicates information that contributes to better understanding.
5 ILxxxx-B520
Introduction
Introduction
ILxxxx-B520
DeviceNet Characteristics
Characteristic Description
DeviceNet Functionality Group Two Only Slave for DeviceNet Master / Scanner
DeviceType Communications Adapter
IO – Modes Polling, Bit Strobe, Change of State / Cyclic
IO – Data Length The IO Data length for the IO-Modes Polling and COS/Cyclic is limited to
Configuration Switches (node address) , Configuration Objects, Electronic Data Sheet
LEDs Module / Network Status LED, Vendor Specific IO LEDs
Electronic Data Sheet Electronic Data Sheet for each type of ILxxxx-B520 (www.beckhoff.com)
The purpose of this document is to provide DeviceNet Specific Information
needed to run Beckhoff ILxxxx-B520 fieldbus coupler boxes in a DeviceNet
Network.
512 Bytes in each direction
(EDS)
ILxxxx-B520 6
IO Data Mapping
2 IO Data Mapping
IO Data Mapping
2.1 IO Data Assignment of IL230x and Extension Boxes
Digital Signals
(bit-oriented)
Analog Signals
(byte-oriented)
Special Signals and interfaces
(byte-oriented)
Assignment of inputs/ outputs to the process image
(Default Assignment / Assembly Object)
The IO Data Mapping describes the contents of the IO Data of the ILxxxxB520 in Receive and Transmit direction. The description is done by DeviceNet Assembly Objects. Each of the ILxxxx-B520 supports Assembly
Objects in each data direction. The input data/status or output data is mapped to a byte stream exchanged with the DeviceNet Master / Scanner by
IO-Data transfer.
The digital Signals are bit-oriented. This means that one bit in the process
image is assigned to each channel. The ILxxxx-B520 creates a memory
area containing the current input bits and ensures that the bits in a second
memory area dedicated to the output channels are written out immediately
The processing of analog signals is always byte-oriented. Analog input and
output values are represented in memory by two bytes each. Values are
represented in unsigned/signed integer or two’s complement format ( see
IExxxx manual). The number “0” stands for the input/output value “0 V”, “0
mA” or “4 mA”. Per default, Control and Status Bytes for each analog
channel are not mapped to the IO-data image. An analog channel is represented in the process image by two bytes
The ILxxxx-B520 supports extension boxes with other interfaces such as
RS232, RS485 incremental encoder, SSI Sensor interface. These signals
can considered similarly to the analog signals named above. For some
special signals the width of 16 Bit is not sufficient. The IL230x can Support
any byte width.
Once it has been switched on, the ILxxxx-B520 finds out how many Extension Boxes are connected and creates an assignment list. The analog and
digital channels, divided into inputs and outputs, are assembled into different parts of the list. The assignment starts on the first extension box next to
the ILxxxx-B520. The software in the ILxxxx-B520 collects the individual
entries for each of the channels in order to create the assignment list.
7 ILxxxx-B520
IO Data Mapping
Byte Data
...
...
...
...
...
Byte n
Bit Data
Byte 0
IO Data from Master /
...
...
...
...
...
Byte n
Byte 0
IO Data from ILxxxx
-
Bit Data
Byte Data
Status Byte
...
IO Data from Master /
Scanner to ILxxxx-B520
(Default Assignment / Assembly Object)
IO Data from ILxxxx-B520
to Master / Scanner to
(Default Assignment / Assembly Object)
Status Byte at the end of
the input data
Scanner to ILxxxx-B520
IO-Data which is transferred from the DeviceNet Master / Scanner to the
ILxxxx-B520 begins with byte-oriented values which is the data for the analog output and special signal extension boxes. The bit-oriented data for the
digital outputs of the ILxxxx-B520 and the digital output extension boxes is
transmitted after the byte-oriented data. If the total number of digital inputs
is not a multiple of 8, there will be a number of bits left over in the last data
byte. These will be discarded.
IO-Data which is transferred from the ILxxxx-B520 to the DeviceNet Master
/ Scanner begins with byte-oriented values which is the data from the analog input and special signal extension boxes. The bit-oriented data for the
digital inputs of the ILxxxx-B520 and the digital input extension boxes is
transmitted after the byte-oriented data. If the total number of digital outputs is not a multiple of 8, there will be a number of bits left over in the last
data byte. These will be discarded.
An extra status byte is transferred at the end of the Input Data and returns
the status of the ILxxxx-B520 with the following meaning:
Bit0: IL_Error : IO Error, internal Data exchange ILxxxx-B520 has failed
Bit1: IL-Cfg : ILxxxx-B520 Configuration Error
Bit2: reserved
Bit3: Diag : Diagnosis of analog Channel
Bit4: reserved
Bit5: reserved
Bit6: reserved
Bit7: FB_Error : Fieldbus Error / Idle Mode
The status byte corresponds to the Attribute “IL-Status” of the IL-Config
Object.
B520 to Master / Scanner
ILxxxx-B520 8
2.1.1 IL230x-B520
Description
IO Data Type
Input Data
Output Data
4 x Digital Input + 4 x Digital Output, 24 V DC
Digital Signal, bit-oriented
4 Bit
4 Bit
2.1.2 IE100x
Description
IO Data Type
Input Data
Output Data
8 Channel Digital Input, 24 V DC
Digital Signal, bit-oriented
8 Bit
none
2.1.3 IE1502
Description
IO Data Type
Input Data
Output Data
2 Channel Up/Down Counter, 24 V DC, 100 kHz
Analog Signal, byte-oriented
10 Byte
Byte 0: Status, Channel 1