IO Data Mapping
DeviceNet Objects
Indicators and Switches
Version: 1.5
2006-11-08
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.
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 AssembIy Objects 7
2.2 IP10xx-B520 9
2.3 IP20xx-B520 9
2.4 IP23xx-B520 10
2.5 IP24xx-B520 11
2.6 IP3xxx-B520 12
2.7 IP4xxx-B520 13
2.8 IP1502-B520 14
2.9 IP60xx-B520 15
3 IP CONFIG OBJECT 16
4 DISCRETE INPUT POINT OBJECT 19
5 DISCRETE OUTPUT POINT OBJECT 20
6 ANALOG INPUT POINT OBJECT 21
7 ANALOG OUTPUT POINT OBJECT 23
8 ANALOG INPUT CHANNEL OBJECT 26
9 ANALOG OUTPUT CHANNEL OBJECT 28
2 IPxxxx-B520
Table of Contents
10 INDICATORS AND SWITCHES 31
10.1
Start-up procedure and Diagnostics LEDs 31
10.2
Fieldbus / DeviceNet LEDs 32
10.3
DeviceNet Node Address Switches 32
11 APPENDIX 34
11.1
Support and Service 34
11.1.1 Beckhoff's branch offices and representatives 34
11.2
Beckhoff Headquarters 34
3 IPxxxx-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.
IPxxxx-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 IPxxxx-B520
Introduction
Introduction
IPxxxx-B520
DeviceNet Characteristics
Characteristic Description
DeviceNet Functionality Group Two Only Slave for DeviceNet Master / Scanner
IO – Modes Polling, Bit Strobe, Change of State / Cyclic
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 IPxxxx-bB520 (www.beckhoff.com)
Connector Sealed Micro Style Connector
Baud Rates 125 Kbaud, 250 Kbaud, 500 Kbaud
The purpose of this document is to provide DeviceNet Specific Information
needed to run Beckhoff IPxxxx-B520 fieldbus boxes in a DeviceNet Network.
(EDS)
IPxxxx-B520 6
Input or Output Data of the
IO Data Mapping
2 IO Data Mapping
IO Data Mapping
2.1 AssembIy Objects
The Assembly Object binds attributes of multiple objects, which allows data to or from each object to be sent
or received over a single connection (IO or Explicit). Assembly objects are used to bind input data and output
data.
Class Code: 4 (04
Class Attributes
Attribute
ID
1 Get Revision UINT Revision of implementation 2
Access
hex
Rule
The IO Data Mapping describes the contents of the IO Data of the Ipxxx in
Receive and Transmit direction.
The description is done by DeviceNet Assembly Objects.
Each of the IPxxxx supports one Assembly Object 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.
For all possible IO-Modes (Poll, Bit-Strobe, Change of State / Cyclic) the
same IO Assembly is used
)
Name Data
Type
Description Semantics of
Value
Instance Attributes
Attribute
ID
3
(03hex)
Common Services
Service Code Service Name Description
Access
Rule
Get/set Value Array of
14
(0Ehex)
16
(10hex)
NameData
Get_Attribute_Single Returns the contents of the specified
Set_Attribute_Single Modifies an attribute Value
Type
Byte
DescriptionSemantics of
IPxxxx.
attribute
Value
7 IPxxxx-B520
IO Data Mapping
IO Assembly Instances
Number Type Name IPxxxx
24 Input 8-Point Input with multiple Status Bits IP10xx-B520
44 Input 8-Point Output Status Bits IP20xx-B520
63 Input 4-Point Input with multiple Status Bits
and multiple Output Status Bits
64 Input 8-Point Input with multiple Status Bits
and multiple Output Status Bits
150 Input 4-Point Input with multiple Status Bits IP3xxx-B520
151 Input 4-Point Output Status Bits IP4xxx-B520
171 Input Serial Interface IP60xx-B520
172 Input Up/Down Counter IP1502-B520
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
24 0
1
Discrete
Input8
Status
Discrete
Input8
No Output Data (0 Bytes)
Mapping IO Assembly Data to DeviceNet Objects
Data Component Name Class Instance Attribute Name Number Name Number
Discrete Input n Discrete Input Point 8 1 – 8 Value 3
Status Discrete Input n Discrete Input Point 8 1 – 8 Status 4
Discrete
Input7
Status
Discrete
Input7
Discrete
Input6
Status
Discrete
Input6
Discrete
Input5
Status
Discrete
Input5
Discrete
Input4
Status
Discrete
Input4
Discrete
Input3
Status
Discrete
Input3
Discrete
Input2
Status
Discrete
Input2
Discrete
Input1
Status
Discrete
Input1
2.3 IP20xx-B520
Input Data (1 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
44 0
Status
Discrete
Output8
Output Data (1 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
34 0
Discrete
Output8
Mapping IO Assembly Data to DeviceNet Objects
Data Component Name Class Instance Attribute Name Number Name Number
Discrete Output n Discrete Output Point
Status Discrete Output n Discrete Output Point
Status
Discrete
Output7
Discrete
Output7
Status
Discrete
Output6
Discrete
Output6
Status
Discrete
Output5
Discrete
Output5
Status
Discrete
Output4
Discrete
Output4
Status
Discrete
Output3
Discrete
Output3
Status
Discrete
Output2
Discrete
Output2
Status
Discrete
Output1
Discrete
Output1
9 1 – 8 Value 3
9 1 – 8 Status 4
9 IPxxxx-B520
IO Data Mapping
2.4 IP23xx-B520
Input Data (2 Bytes)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
63 0
1
Status
Discrete
Input4
Reserved Reserved Reserved Reserved Status
Output Data (1 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
33 0
Reserved Reserved Reserved Reserved Discrete
Mapping IO Assembly Data to DeviceNet Objects
Data Component Name Class Instance Attribute Name Number Name Number
Discrete Input n Discrete Input Point 8 1 – 4 Value 3
Status Discrete Input n Discrete Input Point 8 1 – 4 Status 4
Discrete Output n Discrete Output Point
Status Discrete Output n Discrete Output Point
Status
Discrete
Input3
Status
Discrete
Input2
Status
Discrete
Input1
Discrete
Input4
Discrete
Output4
Output4
Discrete
Input3
Status
Discrete
Output3
Discrete
Output3
Discrete
Input2
Status
Discrete
Output2
Discrete
Output2
Discrete
Input1
Status
Discrete
Output1
Discrete
Output1
9 1 – 4 Value 3
9 1 – 4 Status 4
IPxxxx-B520 10
IO Data Mapping
2.5 IP24xx-B520
Input Data (3 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
64 0
1
2
Discrete
Input8
Status
Discrete
Input8
Status
Discrete
Output8
Output Data (1 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
34 0
Discrete
Output8
Mapping IO Assembly Data to DeviceNet Objects
Data Component Name Class Instance Attribute Name Number Name Number
Discrete Input n Discrete Input Point 8 1 – 8 Value 3
Status Discrete Input n Discrete Input Point 8 1 – 8 Status 4
Discrete Output n Discrete Output Point
Status Discrete Output n Discrete Output Point
Discrete
Input7
Status
Discrete
Input7
Status
Discrete
Output7
Discrete
Output7
Discrete
Input6
Status
Discrete
Input6
Status
Discrete
Output6
Discrete
Output6
Discrete
Input5
Status
Discrete
Input5
Status
Discrete
Output5
Discrete
Output5
Discrete
Input4
Status
Discrete
Input4
Status
Discrete
Output4
Discrete
Output4
Discrete
Input3
Status
Discrete
Input3
Status
Discrete
Output3
Discrete
Output3
Discrete
Input2
Status
Discrete
Input2
Status
Discrete
Output2
Discrete
Output2
Discrete
Input1
Status
Discrete
Input1
Status
Discrete
Output1
Discrete
Output1
9 1 – 8 Value 3
9 1 – 8 Status 4
11 IPxxxx-B520
IO Data Mapping
2.6 IP3xxx-B520
Input Data (9 Bytes)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
150 0 Low Byte Analog Input 1
1 High Byte Analog Input 1
2 Low Byte Analog Input 2
3 High Byte Analog Input 2
4 Low Byte Analog Input 3
5 High Byte Analog Input 3
6 Low Byte Analog Input 4
7 High Byte Analog Input 4
8
Reserved Reserved Reserved Reserved Status
Analog
Input4
No Output Data (0 Bytes)
Mapping IO Assembly Data to DeviceNet Objects
Data Component Name Class Instance Attribute Name Number Name Number
Analog Input n Analog Input Point 10 1 – 4 Value 3
Status Analog Input n Analog Input Point 10 1 – 4 Status 4
Status
Analog
Input3
Status
Analog
Input2
Status
Analog
Input1
IPxxxx-B520 12
IO Data Mapping
2.7 IP4xxx-B520
IO Assembly Instances
Input Data (1 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
151 0
Reserved Reserved Reserved Reserved Status
Analog
Output4
Output Data (8 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
160 0 Low Byte Analog Output 1
1 High Byte Analog Output 1
2 Low Byte Analog Output 2
3 High Byte Analog Output 2
4 Low Byte Analog Output 3
5 High Byte Analog Output 3
6 Low Byte Analog Output 4
7 High Byte Analog Output 4
Mapping IO Assembly Data to DeviceNet Objects
Data Component Name Class Instance Attribute Name Number Name Number
Analog Output n Analog Output Point 11 1 – 4 Value 3
Status Analog Output n Analog Output Point 11 1 – 4 Status 4
Status
Analog
Output3
Status
Analog
Output2
Status
Analog
Output1
13 IPxxxx-B520
IO Data Mapping
2.8 IP1502-B520
IO Assembly Instances
Input Data (11 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Data Component Name Class Instance Attribute Name Number Name Number
State + Data In n Analog Input Channel 103 1 Value 3
Control + Data Out n Analog Output
104 1 Value 3
Channel
IP Status n IP Config Object 100 1 IP-Status 5
IPxxxx-B520 14
IO Data Mapping
2.9 IP60xx-B520
IO Assembly Instances
Input Data (7 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
171 0 State
1 Data In 0
2 Data In 1
3 Data In 2
4 Data In 3
5 Data In 4
6 FB_Error res. res. res. Diag res. IP_Cfg IP_Error
Output Data (6 Byte)
IO Assembly Instances
Number Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
180 0 Control
1 Data Out 0
2 Data Out 1
3 Data Out 2
4 Data Out 3
5 Data Out 4
Mapping IO Assembly Data to DeviceNet Objects
Data Component Name Class Instance Attribute Name Number Name Number
Ser. State + Data In n Analog Input Channel
Ser. Control + Data Out n
IP Status n IP Config Object 100 1 IP-Status 5
Analog Output
Channel
103 1 Value 3
104 1 Value 3
15 IPxxxx-B520
IP Config Object
3 IP Config Object
IP Config Object
Class Code: 100 (64
Class Attributes
Attribute
ID
1 Get Revision UINT Revision of implementation 1
2 Get Max. Instance UINT Max. number of instances 1
Instance Attributes
Attribute
ID
1 Get/Set Terminal
2 Get/Set Table Number USINT Number of table See IPxxxx
3 Get/Set Register Num-
4 Get/Set Register Data DWORD Register Value See semantics
5 Get IP-Status BYTE Status of the IPxxxx See semantics
6 Get Channel Status WORD Status of the Ipxxxx
10 Get/Set IO Error Action BYTE Action to be performed if a
15 Get Input Size Poll
16 Get Input Size Bit
17 Get Input Size COS
18 Get Output Size
25 Get/Set Bus Off
Access
Rule
Access
Rule
The coupler provides the vendor specific object class to access its status,
diagnostic and configuration data. Within the IP Config Object the full
range of Registers and Status-Information of the IPxxxx and the channels
is accessible.
)
hex
Name Data
Name Data
Number
ber
Mode
Strobe Mode
/ Cyclic Mode
Poll / COS/
Cyclic Mode
Behavior
Type
Type
USINT Number of terminal 0: Coupler
USINT Number of Register See IPxxxx
Channel
fieldbus error occurs
BYTE Number of Bytes pro-
duced via the Poll mode
BYTE Number of Bytes pro-
duced via the Bit Strobe
mode
BYTE Number of Bytes pro-
duced via the Change of
State / Cyclic mode
BYTE Number of Bytes con-
sumed via the Poll /
Change of State /Cyclic
mode
BYTE Behavior of IPxxxx-B520
after detection of a BusOff event
Description Semantics of
Description Semantics of
>0: Channels
/Channel Descrip-
tion
/Channel Descrip-
tion
See semantics
see semantics
see semantics
Value
Value
IPxxxx-B520 16
IP Config Object
Semantics
Register Data
Within the response of a Get_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading and the registers data is
returned by the IPxxxx. The meaning of the registers data is described in
the IPxxxx manual.
Within the request of a Set_Attribute_Single Service to the „Register Data“
Attribute the Low-Word of the attribute „RegisterData“ is used to send the
Register data to the IPxxxx. The meaning of the registers data is described
in the IPxxxx manual.
Response Data of Get_Attribute_Single
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
2 Register data (Low Byte)
3 Register data (High Byte)
Request Data of Set_Attribute_Single
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Register data (Low Byte)
1 Register data (High Byte)
2 Not used
3 Not used
Response Data of Set_Attribute_Single
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
17 IPxxxx-B520
IP Config Object
IP_Status
The „IP Status“ attribute shows the actual status of the IPxxxx.
ByteBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Byte FB_Error
res. res. res. Diag res. IP_Cfg IP_Error
IP_Error : IO Error, internal Data exchange IPxxxx has failed
IP_Cfg : IPxxxx Configuration Error
Diag : Diagnosis of analog Channel, cleared by reading Channel Status Attribute
FB_Error : Fieldbus Error / Idle Mode
Channel Status
The Channel Status attribute describes which channel of the Ipxxxx-B520
has encountered a diagnosis event. After reading the diagnosis data,
the attribute is cleared until the next diagnosis appears. Reading of
the attribut also clears the Diag-Bit within the attribute „IP Status“
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Terminal Number
1 Status Error Code Channel Number
Terminal Number : Number of faulty terminal
Channnel Number : Number of faulty channel of the terminal
Error Code : Terminal specific Error Code
Status : 0 = Error is reseted
1 = Error occured
IO Error Action
Note
Action to be performed if a fieldbus error occurred.
To activate a new IO error Action setting a device reset has to be performed either by executing a power cycle to the ILxxxx-B520 or by
executing a Reset Service (Service Code 5) to the ILxxxx-B520 Identity Object (Class Id 1, Instance 1)
Value
0
1
2
Description
Leave local IO Cycle
Leave local IO Cycle and reset outputs (default)
freeze outputs
Bus Off Behaviour
Note
Action to be performed if a fieldbus error occurred.
To activate a new Bus Off Behaviour setting a device reset has to be
performed either by executing a power cycle to the ILxxxx-B520 or by
executing a Reset Service (Service Code 5) to the ILxxxx-B520 Identity Object (Class Id 1, Instance 1)
Value
0
1
Description
Hold CAN in Bus Off (default)
Reset Communication / Device
IPxxxx-B520 18
Discrete Input Point Object
4 Discrete Input Point Object
Discrete Input Points
For a detailed description of the Discrete Input Point Object see
Class Code: 8 (08
Class Attributes
Attribute
ID
1 Get Revision UINT Revision of implementation 1
2 Get Max. Instance UINT Max. number of instances
Instance Attributes
Attribute
ID
3
(03hex)
4
(04hex)
Common Services
Service Code Service Name Description
Access
Access
14
(0Ehex)
hex
Rule
Rule
Get Value BOOL Input Point Value 0: OFF
Get Status BOOL Input Point Status 0: OK
The IPxxxx provides Discrete Input Point Objects to access the discrete
input channels data of the IPxxxx. For each discrete input point exits one
instance of the Discrete Input Point Object Class.
DeviceNet Specification Volume 2
)
Name Data
Type
Name Data
Type
Get_Attribute_Single Returns the contents of the specified
Description Semantics of
Value
Description Semantics of
Value
1: ON
1: alarm / error,
idle mode,
data not valid
attribute
19 IPxxxx-B520
Discrete Output Point Object
5 Discrete Output Point Object
Discrete Output Points
For a detailed description of the Discrete Output Point Object see
Class Code: 9 (09
hex
Class Attributes
Attribute
ID
Access
Rule
1 get Revision UINT Revision of implementation 1
2 get Max. Instance UINT Max. number of instances
Instance Attributes
Attribute
ID
3
Access
Rule
Get/Set Value BOOL Output Point Value 0: OFF
(03hex)
4
Get Status BOOL Output Point Status 0: OK
(04hex)
5
Get Fault Action BOOL Action taken on Out-
(01hex)
7
Get Idle Action BOOL Action taken on Out-
(01hex)
Semantics
Fault Action / Idle Action
The IPxxxx provides Discrete Output Point Objects to access the discrete
output channels data of the IPxxxx. For each discrete output point exits
one instance of the Discrete Output Point Object Class.
DeviceNet Specification Volume 2
)
Name Data
Type
Name Data
Description Semantics of
Value
Description Semantics of Value
Type
1: ON
1: failure or alarm, idle
mode
data not valid
see semantics
puts value in Recoverable Fault State
see semantics
puts value in Recoverable Fault State
The attribute values are according to the adjustment of the “IO Error Action
Attribute” of the IP Config Object. (see chapter IP Config Object)
Value
0
1
Description
reset output, Fault Value Attribute default (“0”)
hold last state
Common Services
Service Code Service Name Description
14
(0Ehex)
16
Get_Attribute_Single Returns the contents of the specified
attribute
Set_Attribute_Single Modifies an attribute Value
(10hex)
IPxxxx-B520 20
Analog Input Point Object
6 Analog Input Point Object
Analog Input Points
Class Code: 10 (0A
Class Attributes
Attribute
ID
1 get Revision UINT Revision of implementation 1
2 get Max. Instance UINT Max. number of instances
Instance Attributes
Attribute
ID
3
(03hex)
4
(04hex)
7
(07hex)
8
(08hex)
100
(64hex)
Access
Rule
Access
Rule
get/set1 Register 0 DWORD Value of Register 0 of
hex
get Value INT or
get Status BOOL Indicates fault or alarm
get Input Range USINT Input Range 0 = -10 to 10V,
get Value Data
The Analog Input Point Class allows the access to the IO-Data and the
Register Data of each analog channel of the IPxxxx. At Boot Up the IPxxxx
determines the number of analog input channels and creates one instance
of the object class for each channel.
)
Name Data
Type
Name Data
Type
Value of analog input Number of Bytes
based on
Attribute 8
conditions
USINT Datatype of Value 0 = INT
Type
the analog input chan-
nel
Description Semantics of
Description Semantics of Value
differs between analog and special signal
boxes
0 = OK,
1 = alarm or fault
see semantics
2 = 0V to 10V
3 = 4mA to 20mA
8 = 0mA to 20mA
100 = Vendor Spec.
101 = Resistor
102 = Thermo
103 = SSI
104 = Increment
105 = Serial
6 = UINT
100 = Vendor specific
See semantics
Value
: : : : : :
106
(6Ahex)
get Register 6 DWORD Diagnosis Register see semantics
: : : : : :
163
(A3hex)
170
(AAhex)
1: before writing the registers the write protection of the registers has to be disabled.
21 IPxxxx-B520
get/set1 Register 63 DWORD Value of Register 63 of
the analog input chan-
nel
get Value Length USINT Value length in Bytes
see semantics
Analog Input Point Object
Semantics
Status
The Status of an Analog Input Point indicates the following conditions:
Value
0
1
Description
OK, no failure
internal IO Error
Over range
Under range
Diagnostics (depends on IPxxxx, see manual)
Idle Mode, no Output data via DeviceNet
Register 0 – 63
Within the response of a Get_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading and the registers data is
returned by the IPxxxx. The meaning of the registers data is described in
the IPxxxx manual.
Within the response of a Set_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading is returned by the coupler.
Get_Attribute Response
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
2 Register data (Low Byte)
3 Register data (High Byte)
Set_Attribute Request
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Register data (Low Byte)
1 Register data (High Byte)
2 Not used
3 Not used
Set_Attribute Responset
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
Common Services
Service Code Service Name Description
14
(0Ehex)
16
Get_Attribute_Single Returns the contents of the specified
attribute
Set_Attribute_Single Modifies an attribute Value
(10hex)
IPxxxx-B520 22
Analog Output Point Object
7 Analog Output Point Object
Analog Output Points
Class Code: 11 (0B
Class Attributes
Attribute
ID
1 get Revision UINT Revision of implementation 1
2 get Max. Instance UINT Max. number of instances
Instance Attributes
Attribute
ID
3
(03hex)
4
(04hex)
7
(07hex)
8
(08hex)
9
(09hex)
10
(0Ahex)
Access
Rule
Access
Rule
Get/set Value INT or
Get Status BOOL Indicates fault or alarm
Get Output Range USINT Output Range 0 = 4mA to 20mA
Get Value Data
Get Fault State BOOL Output Value if failure
Get Idle State BOOL Output Value if idle
hex
The Analog Output Point Class allows the access to the IO-Data and the
Register Data of each analog output channel of the IPxxxx. At Boot Up the
IPxxxx determines the number of analog output channels and creates one
instance of the object class for each channel.
)
Name Data
Type
Name Data
Type
Value of analog output Number of Bytes
based on
Attribute 8
conditions
USINT Data type of Value 0 = INT
Type
occurs
mode
Description Semantics of
Description Semantics of Value
differs between analog and special signal
boxes
0 = OK,
1 = alarm or fault
see semantics
1 = 0V to 10V
2 = 0mA to 20mA
3 = -100V to 10V
100 = Vendor Spec.
101 = Resistor
102 = Thermo
103 = SSI
104 = Increment
105 = Serial
6 = UINT
100 = Vendor specific
See semantics
See semantics
Value
23 IPxxxx-B520
Analog Output Point Object
Instance Attributes
100
(64hex)
get/set1 Register 0 DWORD Value of Register 0 of
the analog output
See semantics
channel
: : : : : :
106
(6Ahex)
get Register 6 DWORD Diagnosis Register See semantics
: : : : : :
163
(A3hex)
170
(AAhex)
1: before writing the registers the write protection of the registers has to be disabled.
Semantics
Status
Value
Fault State / Idle State
get/set1 Register 63 DWORD Value of Register 63 of
the analog output
channel
get Value Length USINT Value length in Bytes
The Status of an Analog Output Point indicates the following conditions:
Description
0
1
OK, no failure
internal IO Error
Idle Mode, no Output data via DeviceNet
Diagnostics (depends on IPxxxx, see manual)
dle Mode, no Output data via DeviceNet
The attribute values are according to the adjustment of the “IO Error Action
Attribute” of the IP Config Object. (see chapter IP Config Object)
See semantics
Value
0
1
Description
hold last state
Low Limit, reset output
IPxxxx-B520 24
Analog Output Point Object
Register 0 – 63
Within the response of a Get_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading and the registers data is
returned by the IPxxxx. The meaning of the registers data is described in
the IPxxxx manual.
Within the response of a Set_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading is returned by the coupler.
Get_Attribute Response
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
2 Register data (Low Byte)
3 Register data (High Byte)
Set_Attribute Request
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Register data (Low Byte)
1 Register data (High Byte)
2 Not used
3 Not used
Set_Attribute Responset
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
Common Services
Service Code Service Name Description
14
(0Ehex)
16
Get_Attribute_Single Returns the contents of the specified
attribute
Set_Attribute_Single Modifies an attribute Value
(10hex)
25 IPxxxx-B520
Analog Input Channel Object
8 Analog Input Channel Object
Analog Input Channels
Class Code: 103 (67
Class Attributes
Attribute
ID
1 get Revision UINT Revision of implementation 1
2 get Max. Instance UINT Max. number of instances
Instance Attributes
Attribute
ID
3
(03hex)
4
(04hex)
7
(07hex)
8
(08hex)
100
(64hex)
Access
Rule
Access
Rule
get Value INT or
get Status BOOL Indicates fault or alarm
get Input Range USINT Input Range 100 = Vendor Spec.
get Value Data
get/set1 Register 0 DWORD Value of Register 0 of
The Analog Input Channel Class allows the access to the IO-Data and the
Register Data of analog channels of the IPxxxx. At Boot Up the IPxxxx
determines the number of analog input channels and creates one instance
of the object class for each channel.
)
hex
Name Data
Type
Name Data
Type
Value of analog input Number of Bytes
based on
Attribute 8
conditions
USINT Datatype of Value 100 = Vendor specific
Type
the analog input chan-
nel
Description Semantics of
Description Semantics of Value
differs between analog and special signal
boxes
0 = OK,
1 = alarm or fault
see semantics
get Register 6 DWORD Diagnosis Register see semantics
: : : : : :
163
(A3hex)
170
(AAhex)
1: before writing the registers the write protection of the registers has to be disabled.
IPxxxx-B520 26
get/set1 Register 63 DWORD Value of Register 63 of
the analog input chan-
nel
get Value Length USINT Value length in Bytes
see semantics
Analog Input Channel Object
Semantics
Status
The Status of an Analog Input Channel indicates the following conditions:
Value
0
1
Description
OK, no failure
internal IO Error
Over range
Under range
Diagnostics (depends on IPxxxx, see manual)
Idle Mode
Register 0 – 63
Within the response of a Get_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading and the registers data is
returned by the IPxxxx. The meaning of the registers data is described in
the IPxxxx manual.
Within the response of a Set_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading is returned by the coupler.
Get_Attribute Response
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
2 Register data (Low Byte)
3 Register data (High Byte)
Set_Attribute Request
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Register data (Low Byte)
1 Register data (High Byte)
2 Not used
3 Not used
Set_Attribute Responset
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
Common Services
Service Code Service Name Description
14
(0Ehex)
16
Get_Attribute_Single Returns the contents of the specified
attribute
Set_Attribute_Single Modifies an attribute Value
(10hex)
27 IPxxxx-B520
Analog Output Channel Object
9 Analog Output Channel Object
Analog Output Channels
Class Code: 104 (68
Class Attributes
Attribute
ID
1 get Revision UINT Revision of implementation 1
2 get Max. Instance UINT Max. number of instances
Instance Attributes
Attribute
ID
3
(03hex)
4
(04hex)
7
(07hex)
8
(08hex)
9
(09hex)
10
(0Ahex)
Access
Rule
Access
Rule
Get/set Value INT or
Get Status BOOL Indicates fault or alarm
Get Output Range USINT Output Range 100 = Vendor Spec.
Get Value Data
Get Fault State BOOL Output Value if failure
Get Idle State BOOL Output Value if idle
The Analog Output Point Class allows the access to the IO-Data and the
Register Data of each analog output channel of the IPxxxx. At Boot Up the
Ipxxxx determines the number of analog output channels and creates one
instance of the object class for each channel.
)
hex
Name Data
Type
Name Data
Type
Value of analog output Number of Bytes
based on
Attribute 8
conditions
USINT Data type of Value 100 = Vendor specific
Type
occurs
mode
Description Semantics of
Description Semantics of Value
differs between analog and special signal
boxes
0 = OK,
1 = alarm or fault
see semantics
0: Hold Last Value
1: Low Limit
See semantics
0: Hold Last Value
1: Low Limit
See semantics
Value
IPxxxx-B520 28
Analog Output Channel Object
Instance Attributes
100
(64hex)
get/set1 Register 0 DWORD Value of Register 0 of
the analog output
See semantics
channel
: : : : : :
106
(6Ahex)
get Register 6 DWORD Diagnosis Register See semantics
: : : : : :
163
(A3hex)
170
(AAhex)
1: before writing the registers the write protection of the registers has to be disabled.
Semantics
Status
Value
Fault State / Idle State
get/set1 Register 63 DWORD Value of Register 63 of
the analog output
channel
get Value Length USINT Value length in Bytes
The Status of an Analog Output Point indicates the following conditions:
Description
0
1
OK, no failure
internal IO Error
Idle Mode, no Output data via DeviceNet
Diagnostics (depends on IPxxxx, see manual)
dle Mode, no Output data via DeviceNet
The attribute values are according to the adjustment of the “IO Error Action
Attribute” of the IP Config Object. (see chapter IP Config Object)
See semantics
Value
0
1
Description
hold last state
Low Limit, reset output
29 IPxxxx-B520
Analog Output Channel Object
Register 0 – 63
Within the response of a Get_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading and the registers data is
returned by the IPxxxx. The meaning of the registers data is described in
the IPxxxx manual.
Within the response of a Set_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading is returned by the coupler.
Get_Attribute Response
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
2 Register data (Low Byte)
3 Register data (High Byte)
Set_Attribute Request
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Register data (Low Byte)
1 Register data (High Byte)
2 Not used
3 Not used
Set_Attribute Responset
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status (Low Byte)
1 Status (High Byte) : 0 = OK, >0 = Error
Common Services
Service Code Service Name Description
14
(0Ehex)
16
Get_Attribute_Single Returns the contents of the specified
attribute
Set_Attribute_Single Modifies an attribute Value
(10hex)
IPxxxx-B520 30
10 Indicators and Switches
10.1 Start-up procedure and Diagnostics LEDs
Start-up procedure and
Diagnostic
The diagnostic LEDs
Local errors
Blink code
Error location
After switching on, the IPxxxx-B520 immediately checks the configuration.
Error-free start-up is signalled by the red "I/O ERR“ LED being extinguished. If the “I/O ERR” LED blinks, an error is indicated. The error code
can be determined from the frequency and number of blinks. This permits
rapid rectification of the error. There is a detailed description in the section
on "The diagnostic LEDs".
The IPxxxx-B520 has two groups of LEDs for the display of status. The
upper group with two LEDs indicates the status of the respective fieldbus.
The significance of the “fieldbus status“ LED is explained in the relevant
sections of this manual - it conforms to conventional fieldbus displays.
On the bottom of the IPxxxx-B520 are two more green LEDs that indicate
the supply voltage. The left hand LED indicates the presence of the 24 V
supply for the IPxxxx-B520. The right hand LED indicates the presence of
the supply to the power contacts.
Two LEDs, the “I/O LEDs”, in the area below the field bus status LEDs
referred to above, serve to indicate the operating status of the IPxxxxB520. The green LED lights up in order to indicate fault-free operation. The
red LED blinks with two different frequencies in order to indicate an error.
The error is encoded in the blinks as follows:
Fast blinking
First slow sequence
Second slow sequence
Error code Error code ar-
gument
1 pulse
2 pulses
3 pulses
4 pulses
5 pulses
6 pulses
0
1
2
0 Programmed configuration
0 IP command error
0 IP data error
0 IP error in register communication
0
n (n > 0)
Start of the error code
Error code
Error code argument
Description
EEPROM checksum error
Inline code buffer overflow
Unknown data type
Incorrect table entry / IPxxxx-B520
Special fieldbus error
The number of pulses in the first sequence indicates the error type, while
the second sequence indicates the position of the the fault.
In the case of some errors, rectification does not cause the IPxxxx-B520 to
leave the blink sequence. The IPxxxx-B520 stays in the "Stop" state. The
IPxxxx-B520 can only be re-started either by switching the power supply off
and on again, or by a scanner reset.
Indicators and Switches
31 IPxxxx-B520
Indicators and Switches
10.2 Fieldbus / DeviceNet LEDs
DeviceNet Status LED
The LED Pair is located next to the configuration interface for adjustment of
States of Module / Status
LED
The red/green LED pair provides information about the device and communication status of the IPxxxx-B520. The LEDs acts as the bi-color combined Module/Network Status LED defined in the DeviceNet Specification.
the DeviceNet address (MacId)
LED State Description
Green Flashing
Green ON
Green OFF
Red Flashing
Red ON
Red OFF
Boot Up OK, Device has executed Duplicate MacId Check and
is ON-Line. The IPxxxx-B520 is not allocated by a Master /
Scanner, no Data Exchange with a Master / Scanner
No Error, IPxxxx-B520 is allocated by a Master / Scanner, Data
Exchange (Explicit or IO) with Master / Scanner is OK
- Bus Sense Error (24V DeviceNet Voltage in not available)
(all LEDs off, including IO-Run, IO-Error LEDs)
- No BaudRate, IPxxxx-B520 is not able to detect BaudRate
(IO-Run, IO-Error LEDs On)
Time Out, IO-Connection has timed out
- Duplicate MacId Fault, check for same Address in Network
- Bus-Off, check cabling, check bus termination, check bus
length
- Receive/Transmit Overrun, reduce IO-Cycle Time / Interscan
delay at Master / Scanner
- Bus Sense Error (24V DeviceNet Voltage in not available)
(all LEDs off, including IO-Run, IO-Error LEDs)
- No BaudRate, IPxxxx-B520 is not able to detect BaudRate
(IO-Run, IO-Error LEDs On)
10.3 DeviceNet Node Address Switches
Node Address Switches
Node Address Switches
Node Address Switch
IPxxxx-B520 32
The Node Address Switches consist of two, ten position rotary switches
within the Configuration Interface of the IPxxxx-B520
Node Address Description
0 - 63
> 63
Node Address from Switches is valid, not programmable
Node Address is programmable by Master / Scanner
For further information please contact your local Beckhoff representative or
Support North America
Beckhoff and their partners around the world offer comprehensive support and service, making available fast
and competent assistance with all questions related to Beckhoff products and system solutions.
11.1.1 Beckhoff's branch offices and representatives
Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products!
The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet
pages: http://www.beckhoff.com
You will also find further documentation for Beckhoff components there.
Support offers you comprehensive technical assistance, helping you no only with the application of individual
Beckhoff products, but also with other, wide-ranging services:
• support
• design, programming and commissioning of complex automation systems
• and extensive training program for Beckhoff system components