Catalogo manual-de-la-interface-as-vbg-en-k20-d

Catalogo manual-de-la-interface-as-vbg-en-k20-d
FACTORY AUTOMATION
MANUAL
VBG-EN-K20-D(MD)
AS-Interface/Ethernet IP-Gateway
VBG-EN-K20-D(MD)
With regard to the supply of products, the current issue of the following document is applicable: The General Terms of Delivery for Products and Services of the Electrical Industry,
published by the Central Association of the Electrical Industry (Zentralverband Elektrotechnik und Elektroindustrie (ZVEI) e.V.) in its most recent version as well as the supplementary
clause: "Expanded reservation of proprietorship"
AS-i EtherNet Gateway
Table of contents
Table of contents
1
The Used Symbols .............................................................................. 7
2
Safety .................................................................................................... 8
2.1
2.2
2.3
Intended use ...................................................................................................... 8
General safety information ............................................................................... 8
Waste disposal .................................................................................................. 8
3
General information ............................................................................ 9
4
AS-i Specification 3.0 ........................................................................ 10
4.1
Accessories ..................................................................................................... 10
5
Connections, Displays and Operating Keys ................................... 11
5.1
5.1.1
5.2.1.1
5.2.2
5.3
5.3.1
5.3.2
Single Master ................................................................................................... 12
Connections of the AS-i 3.0 EtherNet/IP Gateway
VBG-EN-K20-D 12
Function ground ................................................................................................. 13
Double Master .................................................................................................. 14
Connections of the AS-i 3.0 EtherNet/IP Gateway
VBG-EN-K20-DMD 14
Function ground ................................................................................................. 15
EtherNet/IP interface ......................................................................................... 15
Display and operating elements .................................................................... 16
LED-display ...................................................................................................... 16
Push-buttons ..................................................................................................... 16
6
First commissioning ......................................................................... 17
6.1
6.1.1
6.1.2
6.1.3
6.1.4
6.1.5
6.1.5.1
6.1.5.2
6.1.6
6.1.6.1
6.2
6.2.1
6.2.2
6.2.3
6.2.4
6.2.5
6.2.5.1
6.2.5.2
6.2.6
Singlemaster VBG-EN-K20-D ......................................................................... 17
Switching to advanced display mode ................................................................ 17
Setting of ethernet properties ............................................................................ 17
Connecting of AS-i slaves ................................................................................. 18
Quick setup ........................................................................................................ 19
Error tracing ....................................................................................................... 20
Faulty slaves ...................................................................................................... 20
Error display (last error) ..................................................................................... 20
Addressing ......................................................................................................... 21
Programming slave 2 to address 6 .................................................................... 21
Double Master VBG-EN-K20-DMD .................................................................. 22
Switching to advanced display mode ................................................................ 22
Setting of ethernet properties ............................................................................ 22
Connecting of AS-i slaves ................................................................................. 23
Quick setup ........................................................................................................ 24
Error tracing ....................................................................................................... 25
Faulty slaves ...................................................................................................... 25
Error display (last error) ..................................................................................... 25
Addressing ......................................................................................................... 26
Issue date - 24.4.2007
5.1.1.1
5.2
5.2.1
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
1
6.2.6.1
Programming slave 2 to address 6 .................................................................... 26
7
Operating in Advanced Display Mode ............................................. 27
7.1
7.1.1
7.1.2
7.1.2.1
7.1.2.2
7.1.2.3
7.1.2.4
7.1.2.5
7.2
7.3
7.3.1
7.3.1.1
7.3.1.2
7.3.1.3
7.3.1.4
7.4
7.5
7.6
7.6.1
7.6.2
7.6.3
7.6.4
7.6.5
7.6.6
7.6.7
7.6.8
7.6.9
7.6.10
7.6.11
7.6.12
7.7
7.7.1
7.7.2
EtherNet/IP (main menu) ................................................................................. 30
ARM Firmware ................................................................................................... 30
TCP/IP Object .................................................................................................... 30
IF Status ............................................................................................................ 31
IF Capability ....................................................................................................... 31
IF Control ........................................................................................................... 31
Path to Link Object ............................................................................................. 31
TCP/IP configuration .......................................................................................... 32
Ethernet Object ................................................................................................ 32
Quick setup ...................................................................................................... 33
Control menu (option) ........................................................................................ 34
AS-i control ........................................................................................................ 34
AS-i control information ...................................................................................... 34
AS-i control run .................................................................................................. 34
AS-i control flags (flag memory control program) .............................................. 35
Slave Adr Tool (slave addressing tool) .......................................................... 35
Slave Test Tool ................................................................................................. 36
Setup (configuration of AS-i circuit) .............................................................. 38
AS-i circuit .......................................................................................................... 38
Description of setup mode ................................................................................. 38
AS-i Slave Adr (set/change slave address) ....................................................... 39
Force offline ....................................................................................................... 39
Operation mode ................................................................................................. 39
Store Act Cfg (store actual detected configuration) ........................................... 40
Permanent Param (projected parameter) .......................................................... 40
Permanent Config (projected configuration data) .............................................. 40
AS-i address assistent ....................................................................................... 41
LOS (list of offline slaves) .................................................................................. 41
Auto Adr Enable (enable automatic address) .................................................... 41
Factory reset ...................................................................................................... 42
IO + Param. Test ............................................................................................... 42
AS-i circuit .......................................................................................................... 42
IO + Param. Test (Testing AS-i In- and Outputs as well as reading and
writing AS-i Parameters) .................................................................................... 43
Binary input ........................................................................................................ 43
Binary outputs .................................................................................................... 44
Analog inputs ..................................................................................................... 44
Analog outputs ................................................................................................... 45
Parameter .......................................................................................................... 45
Diagnosis (normal AS-i diagnosis) ................................................................ 46
AS-i circuit .......................................................................................................... 46
Diagnosis (normal AS-i diagnosis) ..................................................................... 46
Flags .................................................................................................................. 47
Actual Config (actual configuration) ................................................................... 49
LPF (List of periphery faults) .............................................................................. 49
AS-i master (info) ............................................................................................... 50
7.7.3
7.7.4
7.7.5
7.7.6
7.7.7
7.8
7.8.1
7.8.2
7.8.3
7.8.4
7.8.5
7.8.6
Subject to reasonable modifications due to technical advances.
2
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
AS-Interface
Table of contents
AS-i EtherNet Gateway
Table of contents
7.9
7.9.1
7.9.2
7.9.3
7.10
7.10.1
7.10.2
7.10.3
7.11
7.12
Adv. Diagnosis (advanced AS-i diagnosis) ................................................... 50
Error counters .................................................................................................... 50
LCS (list of slaves having caused a configuration error) ................................... 51
Fault detector ..................................................................................................... 51
AS-i safety ........................................................................................................ 52
Safety slaves (safety oriented slaves) ............................................................... 52
Safety monitor ................................................................................................... 53
Safety Subst Value ............................................................................................ 53
Display contrast ............................................................................................... 54
Language of displayed messages ................................................................. 54
8
Command Interface ........................................................................... 55
Issue date - 24.4.2007
8.1
8.2
8.2.1
8.3
8.3.1
8.3.1.1
8.3.1.2
8.3.1.3
8.3.1.4
8.3.1.5
8.3.1.6
8.3.1.7
8.3.1.8
8.3.1.9
8.3.2
8.3.2.1
8.3.2.2
8.3.2.3
8.3.2.4
8.3.2.5
8.3.3
8.3.3.1
8.3.3.2
8.3.3.3
8.3.4
8.3.4.1
8.3.4.2
Construction .................................................................................................... 55
List of all commands ....................................................................................... 56
Values for results ............................................................................................... 58
Commands of the Command Interface .......................................................... 58
AS-i 16-bit data .................................................................................................. 58
Overview of the commands ............................................................................... 58
Read 1 16-bit Slave in.Data (RD_7X_IN) .......................................................... 58
Write 1 16-bit Slave out.Data (WR_7X_OUT) ................................................... 59
Read 1 16-bit Slave out.Data (RD_7X_OUT) .................................................... 59
Read 4 16-bit Slave in.Data (RD_7X_IN_X) ...................................................... 60
Write 4 7.3 Slave out.Data (WR_7X_OUT_X) ................................................... 60
Read 4 7.3 Slave out.Data (RD_7X_OUT_X) ................................................... 61
Read 16 channels 16-bit Slave in.Data (OP_RD_16BIT_IN_CX) ..................... 61
Write 16 channels 16-bit slave out.Data (OP_WR_16BIT_IN_CX) ................... 62
Commands acc. to Profile S-7.4/S-7.5 .............................................................. 63
Overview of the commands ............................................................................... 63
WR_74_75_PARAM .......................................................................................... 63
RD_74_75_PARAM ........................................................................................... 64
RD_74_75_ID .................................................................................................... 65
RD_74_DIAG ..................................................................................................... 65
Acyclic commands ............................................................................................. 66
Overview of the commands ............................................................................... 66
WRITE_ACYCLIC_TRANS ............................................................................... 66
READ_ACYCLIC_TRANS ................................................................................. 68
AS-i Diagnosis ................................................................................................... 69
Overview of the commands ............................................................................... 69
Get Lists and Flags (Get_LPS, Get_LAS, Get_LDS, Get_Flags)
(GET_LISTS) ..................................................................................................... 69
8.3.4.3
Get Flags (GET_FLAGS) .................................................................................. 71
8.3.4.4
Get Delta List (GET_DELTA) ............................................................................ 72
8.3.4.5
Get list of corrupted Slaves (GET_LCS and GET_LCS_R6 (6CH)) .................. 73
8.3.4.6
Get list of activated Slaves (GET_LAS) ............................................................. 73
8.3.4.7
Get list of detected AS-i Slaves (GET_LDS) ..................................................... 74
8.3.4.8
Get list of peripheral faults (GET_LPF) ............................................................. 75
8.3.4.9
Get list of offline Slaves (GET_LOS) ................................................................. 75
8.3.4.10 Set list of offline Slaves (SET_LOS and SET_LOS_R6 (6Dh)) ......................... 76
8.3.4.11 Get transm.err.counters (GET_TECA) .............................................................. 77
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
3
8.3.4.12
8.3.4.13
8.3.4.14
8.3.4.15
8.3.5
8.3.5.1
8.3.5.2
8.3.5.3
8.3.5.4
8.3.5.5
8.3.5.6
8.3.5.7
8.3.5.8
8.3.5.9
8.3.5.10
8.3.5.11
8.3.5.12
8.3.5.13
8.3.5.14
8.3.5.15
8.3.5.16
8.3.6
8.3.6.1
8.3.6.2
8.3.6.3
8.3.6.4
8.3.6.5
8.3.6.6
8.3.6.7
8.3.6.8
8.3.6.9
8.3.6.10
8.3.6.11
8.3.6.12
8.3.6.13
8.3.6.14
8.4
8.4.1
8.4.2
8.4.2.1
8.4.2.2
8.4.3
8.4.4
8.4.5
8.4.6
8.4.7
8.5
8.5.1
8.5.2
Get transm.err.counters (GET_TECB) ............................................................... 78
Get transm.err.counters (GET_TEC_X) ............................................................. 78
Read fault detector (READ_FAULT_DETECTOR) ............................................ 79
Read list of duplicate addresses (READ_DUPLICATE_ADDR) ........................ 80
Configuration of AS-i Master .............................................................................. 81
Overview of the commands ............................................................................... 81
Set operation mode (SET_OP_MODE: Set_Operation_Mode) ......................... 81
Store actual configuration (STORE_CDI) .......................................................... 82
Read actual configuration (READ_CDI) ............................................................. 82
Set permanent configuration (SET_PCD) .......................................................... 83
Get extended permanent configuration (GET_PCD) ......................................... 84
Set list of projected slaves (SET_LPS and SET_LPS_R6 (6Bh)) ...................... 84
Get list of projected slaves (GET_LPS) ............................................................. 85
Store actual parameters (STORE_PI) ............................................................... 86
Write parameter (WRITE_P) .............................................................................. 86
Read parameter (READ_PI: Read_Parameter) ................................................. 87
Set permanent parameter (SET_PP) ................................................................. 87
Get permanent parameter (GET_PP) ................................................................ 88
Set auto address enable (SET_AAE) ................................................................ 88
Change slave address (SLAVE_ADDR) ............................................................ 89
Write AS-i slave extended ID1 (WRITE_XID1) .................................................. 90
Other commands ............................................................................................... 90
Overview of the commands ............................................................................... 90
IDLE ...................................................................................................................91
Read input data image (READ_IDI) ................................................................... 91
Write output data image (WRITE_ODI) ............................................................. 92
Read output data image (READ_ODI) ............................................................... 92
Set offline mode (SET_OFFLINE) ..................................................................... 93
Release data exchange (SET_DATA_EX) ........................................................ 94
BUTTONS .......................................................................................................... 94
FP_PARAM ........................................................................................................ 94
FP_DATA ........................................................................................................... 95
Inverter ............................................................................................................... 96
Write Flag ........................................................................................................... 96
Read Flag .......................................................................................................... 97
READ_MFK_PARAM ......................................................................................... 97
Functional profiles ........................................................................................... 98
"Safety at Work" List 1 ....................................................................................... 98
"Safety at Work" Monitor diagnosis .................................................................... 99
Setting of the AS-i diagnosis ............................................................................ 100
Enhanced diagnosis ......................................................................................... 102
Integrated AS-i Sensors: Warnings .................................................................. 105
Integrated AS-i sensors: Availability ................................................................ 106
Language-select .............................................................................................. 106
Replacement of Safety Slaves input data ........................................................ 107
List of Safety Slaves ........................................................................................ 108
Command Interface examples ...................................................................... 109
Reading 16-bit input values ............................................................................. 109
Store current configuration to the AS-i master ................................................. 110
Subject to reasonable modifications due to technical advances.
4
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
AS-Interface
Table of contents
AS-i EtherNet Gateway
Table of contents
8.5.3
Store new configuration for all slaves .............................................................. 114
9
Advanced Diagnostics for AS-i Masters ....................................... 122
9.1
9.2
9.3
9.4
9.4.1
9.4.2
9.4.3
9.4.4
List of corrupted AS-i Slaves (LCS) ............................................................. 122
Protocol analysis: counters of corrupted data telegrams ......................... 122
Offline phase on configuration errors (LOS) .............................................. 123
Functions of the AS-i fault detector ............................................................. 123
Duplicate address‘ recognition ........................................................................ 123
Earth fault detector .......................................................................................... 124
Noise detector ................................................................................................. 124
Overvoltage detector ....................................................................................... 124
10
EtherNet/IP Interface ....................................................................... 125
10.1
10.1.1
10.1.2
10.1.3
10.1.4
10.1.5
10.1.6
10.1.7
10.1.8
Object Modelling ............................................................................................ 125
Identity Object .................................................................................................. 125
Assembly Object .............................................................................................. 126
AS-i Master Object .......................................................................................... 129
AS-i Slave Object ............................................................................................ 131
I/O Data Object ................................................................................................ 132
Advanced Diagnostics Object .......................................................................... 135
Short Command Interface Object .................................................................... 135
Long Command Interface Object ..................................................................... 136
11
Appendix: the first commissioning with CompactLogix ............. 137
11.1
Working with sample files ............................................................................ 140
12
Commissioning Tools and Accessories ....................................... 141
12.1
Windows software AS-i Control Tools ........................................................ 141
13
Appendix: the first commissioning of AS-i ................................... 144
14
Appendix: Codes indicated by the Display ................................... 146
15
Appendix: Installation Instructions ............................................... 148
Issue date - 24.4.2007
15.1
1 Master
VBG-EN-K20-D # 190322 148
15.1.1
Dimensions ...................................................................................................... 148
15.1.2
Front view and connections ............................................................................. 149
15.1.3
Startup ............................................................................................................. 150
15.1.3.1 Switching to advanced display mode .............................................................. 150
15.1.3.2 Setting of ethernet properties .......................................................................... 150
15.1.4
Connecting of AS-i Slaves ............................................................................... 151
15.1.5
Quick Setup ..................................................................................................... 152
15.1.6
Error tracing ..................................................................................................... 153
15.1.6.1 Faulty slaves .................................................................................................... 153
15.1.6.2 Error display (last error) ................................................................................... 153
15.1.7
Addressing ....................................................................................................... 154
15.1.7.1 Programming slave 2 to address 6 .................................................................. 154
15.1.8
Montage ........................................................................................................... 155
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
5
AS-Interface
Table of contents
15.2.1
15.2.2
15.2.3
15.2.3.1
15.2.3.2
15.2.4
15.2.5
15.2.6
15.2.6.1
15.2.6.2
15.2.7
15.2.7.1
15.2.8
15.2.8.1
Accessories ...................................................................................................... 155
2 Master
VBG-EN-K20-DMD # 190323 156
Dimensions ..................................................................................................... 156
Front view and connections ............................................................................. 157
Startup ............................................................................................................. 158
Switching to advanced display mode ............................................................... 158
Setting of ethernet properties ........................................................................... 158
Connecting of AS-i slaves ................................................................................ 159
Quick Setup ..................................................................................................... 160
Error tracing ..................................................................................................... 161
Faulty slaves .................................................................................................... 161
Error display (last error) ................................................................................... 161
Addressing ....................................................................................................... 162
Programming slave 2 to address 6 .................................................................. 162
Montage ........................................................................................................... 163
Accessories ...................................................................................................... 163
16
Glossary: AS-i Terms ...................................................................... 165
Issue date - 24.4.2007
15.1.9
15.2
Subject to reasonable modifications due to technical advances.
6
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
The Used Symbols
1
The Used Symbols
This symbol warns the user of possible danger. Not following this warning can
lead to personal injury or death and/or destruction of the equipment.
This symbol warns the user of a possible failure. Not following this warning
can lead to total failure of the device or any other connected equipment.
Issue date - 24.4.2007
This symbol draws the user's attention to important information.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
7
AS-Interface
Safety
2
Safety
2.1
Intended use
The protection of operating personnel and the system against possible danger
is not guaranteed if the control interface unit is not operated in accordance
with its intended use.
The device may only be operated by appropriately qualified personnel in
accordance with this operating manual.
2.2
General safety information
Safety and correct functioning of the device cannot be guaranteed if any operation other than that described in this operation manual is performed.
Connecting the equipment and any maintenance work to be carried out with
voltage applied to the equipment must exclusively be performed by appropriately qualified electrotechnical personnel.
In case a failure cannot be repaired, the device must be taken out of operation
and kept from inadvertently being put back into operation.
Repair work is to be carried out by the manufacturer only. Additions or modifications to the equipment are not allowed and will void the warranty.
The operator is responsible for the observance of local safety standards.
2.3
Waste disposal
• All devices and components are to be used properly!
• Non-usable electrical components are hazardous waste and they should be
disposed separatelly!
Issue date - 24.4.2007
• Local and national guide lines during waste disposal are to be respected!
Subject to reasonable modifications due to technical advances.
8
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
General information
3
General information
This operating instruction holds for the following device of the Pepperl+Fuchs
Group:
VBG-EN-K20-D
# 190322
AS-i 3.0 EtherNet/IP Gateway in Stainless Steel,
single master
VBG-EN-K20-DMD
# 190323
AS-i 3.0 EtherNet/IP Gateway in Stainless Steel,
double master
The EtherNet/IP Gateway serves to connect AS-i systems to the superordinate
EtherNet/IP controller.
All possibilities offered by AS-i can be used via EtherNet/IP.
Issue date - 24.4.2007
Commissioning, debugging and setting up of the AS-i parameters can be accomplished with the use of push-buttons, the display and the LEDs, but it can also be
handled via Ethernet TCP/IP or via the diagnostic interface.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
9
AS-Interface
AS-i Specification 3.0
4
AS-i Specification 3.0
The AS-i 3.0 EtherNet/IP Gateways already fulfil the current AS-i Specification 3.0.
The previous specifications (2.1 and 2.0) are supported as well.
Advanced Diagnostics
Diagnostics, which go far beyond the standard diagnostics facilitate the simple detection of the occassionally occuring configuration errors and further irritations towards the AS-i communication. So in case of an error the down time of machines
can be minimized or you can initiate preventive maintenance.
Commissioning and monitoring
Commissioning, debugging and setting up of the AS-i parameters can be accomplished as follows:
• with the use of the 4 push-buttons on the fronside of the gateway, the display
and the LEDs
• via the RS 232 diagnostic interface and "AS-i Control Tools".
4.1
Accessories
• Software "AS-i Control Tools" with serial cable for connection of the AS-i Master
in Stainless Steel
Issue date - 24.4.2007
• Power Supply
Subject to reasonable modifications due to technical advances.
10
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Connections, Displays and Operating Keys
5
Connections, Displays and Operating Keys
1
2
3
4
5
6
On the front panel of the device in stainless steel housing are located:
• [1] RS 232 diagnostic interface (only in connection with "AS-i Control Tools")
• [2] LEDs
• [3] RJ-45 connector as Ethernet interface
• [4] LC display
• [5] Push-buttons to configure the device
Issue date - 24.4.2007
• [6] Terminals to connect the power supply and the AS-i circuit.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
11
AS-Interface
Connections, Displays and Operating Keys
5.1
Single Master
5.1.1
Connections of the AS-i 3.0 EtherNet/IP Gateway
VBG-EN-K20-D
It is not allowed to connect AS-i power supplies or another master to the
yellow marked cable.
Issue date - 24.4.2007
It is not allowed to connect slaves or repeaters to the hatched marked cable.
Subject to reasonable modifications due to technical advances.
12
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Connections, Displays and Operating Keys
5.1.1.1
Function ground
• The function ground can be connected either at the ground screw or at the
terminal.
• The function ground should be connected with a cable as short as possible to
guarantee a good EMC property.
Issue date - 24.4.2007
• Therefore is to prefer to connect the ground via the ground screw.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
13
AS-Interface
Connections, Displays and Operating Keys
5.2
Double Master
5.2.1
Connections of the AS-i 3.0 EtherNet/IP Gateway
VBG-EN-K20-DMD
AS-i circuit 1 and 2 are powered by seperate power supplies.
It is not allowed to connect slaves or repeaters to the hatched marked cable.
Issue date - 24.4.2007
It is not allowed to connect AS-i power supplies or another master to the
yellow marked cable.
Subject to reasonable modifications due to technical advances.
14
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Connections, Displays and Operating Keys
5.2.1.1
Function ground
• The function ground can be connected either at the ground screw or at the
terminal.
• The function ground should be connected with a cable as short as possible to
guarantee a good EMC property.
• Therefore is to prefer to connect the ground via the ground screw.
5.2.2
EtherNet/IP interface
Issue date - 24.4.2007
EtherNet/IP is attached at the RJ-45 socket on the left housing side. The RJ-45
socket supports 10Base-T networks according to the IEEE 802.3.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
15
AS-Interface
Connections, Displays and Operating Keys
5.3
5.3.1
Display and operating elements
LED-display
There are seven light-emitting diodes on the front panel of the gateway . They
have the following function:
Power
The master's power supply is sufficient.
Ser. active
Status of the Ethernet connection indicates as follows:
Display "Ser. active"
5.3.2
Triple flash
No valid Ethernet signal viewed
Please examine the plugs for correct seat
Quadruple
flash
No MAC address assigned.
Please send the equipment back to the manufacturer!
Quintuple
flash
Determines an IP address via DHCP
On
The gateway is OK, an IP number was assigned
Config err
Configuration error:
At least one configured slave is missing, at least one detected
slave is not projected or for at least one projected and detected
slave the actual configuration data does not match the nominal
configuration data.
This LED flashes if there is at least one periphery fault at one
AS-i slave in the AS-i network. If there are configuration errors as
well as periphery faults, only configuration error is displayed.
U AS-i
The AS-i circuit is sufficiently powered.
AS-i active
Normal operation active.
prg enable
Automatic address programming enabled.
Exactly one slave is missing in protected operating mode. The
slave can be replaced by another slave of the same type with address zero. The master addresses the new slave to the faulty address and thus eliminates the configuration error.
prj mode
The AS-i master is in configuration mode.
Push-buttons
Mode/⇑›
Switching between configuration mode and protected operating
mode and saving the current AS-i configuration as the nominal
configuration.
Set/⇓
Selecting and assigning the address to a slave.
OK, ESC
Changing to the advanced display mode (see <chapter 7>).
Subject to reasonable modifications due to technical advances.
16
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
The push-buttons cause the following:
AS-i EtherNet/IP Gateway
First commissioning
6
First commissioning
6.1
Singlemaster VBG-EN-K20-D
6.1.1
Switching to advanced display mode
erweiterter Anzeigenmodus
advanced display mode
modo di visualizzazione avanzata
mode d‘affichage étendu
modo de visualisación avanzada
LCD
1x OK
.12A
LCD
ETHERNET/IP
QUICK SETUP
SLAVE ADDR TOOL
SLAVE TEST TOOL
SETUP
1x ESC
siehe Zusatzblatt
see additional page
page supplémentaire
pagina supplementare
ver página adicional
klassische Anzeige
classical display
affichage classique
display classico
indicación clásica
6.1.2
Setting of ethernet properties
LCD
OK
!
ARM FIRMWARE
TCP/IP OBJECT
ETHERNET OBJECT
OK
IF STATUS
IF CAPABILITY
IF CONTROL
...
!
Issue date - 24.4.2007
ARM FIRMWARE
TCP/IP OBJECT
ETHERNET OBJECT
OK
IF STATUS
IF CAPABILITY
IF CONTROL
...
OK
USE DHCP
DNS DISABLED
Bei Verwendung von DHCP oder BOOTP
sind keine Einstellungen notwendig/ When
using DHCP or BootP, no adjustment is necessary/ En utilisant DHCP ou BOOTP, aucun réglage n'est nécessaire/ Usando DHCP
o il BOOTP, nessuna regolazione è necessaria/ Al usar DHCP o el BOOTP, no hay ajuste
necesario.
OK
USE STORED VAL.
DNS DISABLED
1xESC
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ.
TCP/IP CONFIG
USE BOOT P
DNS DISABLED
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
17
AS-Interface
First commissioning
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ.
TCP/IP CONFIG
!
OK
↓
OK
"
!
"
GATEWAY
0.0.0.0
2xESC
ETHERNET/IP
QUICK SETUP
SLAVE ADDR TOOL
ESC
OK
Starten Sie das Gateway neu, damit die Änderungen
wirksam werden/ Restart the gateway to assume your
changes / Mettez la passerelle de nouveau en marche,
de sorte que les modifications deviennent efficaces /
Riavviare il gateway affinché le modifiche diventino efficaci/ Reinicie la pasarela para que los cambios sean
efectivos
Connecting of AS-i slaves
Ser. active
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface
Slave 1
Config error
U AS-i
AS-i active
prg enable
LCD
. 41
prj mode
AS-Interface
AS-Interface
Slave 1
SEARCHING SLAVES
AS-Interface
Slave 5
AS-Interface
Slave 24
Subject to reasonable modifications due to technical advances.
.1
0.5s
.5
0.5s
AS-Interface
Slave 5
AS-Interface
Slave 24
. 41
SEARCHING SLAVES
0.5s
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
Config error
LCD
AS-i Master
Power
Ser. active (Ethernet Status-LED)
AS-i Master
Power
U AS-i
18
!
IP ADDRESS
192.168.42.149
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
IP ADDRESS
192.168.42.149
...
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
ESC
6.1.3
IP ADDRESS
192. 168. 42. 149
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
NET MASK
255. 255. 255. 0
OK
"
AS-i EtherNet/IP Gateway
First commissioning
6.1.4
Quick setup
config error
1x OK
LCD
.5
1x OK
LCD
STORE AS-I
CONFIGURATION
OK
STORE +PRJ MODE
1x ↓
2x ESC
LCD
ETHERNET/IP
QUICK SETUP
SETUP
IO + PARAM. TEST
LCD
.
CONFIGURATION OK
1x OK
LCD
WARNING:
OUTPUTS MAY BE
RESET
1x OK
LCD
HOST ERROR
NO CONNECTION
1x ↓
LCD
Issue date - 24.4.2007
STORE AS-I
CONFIGURATION
STORE +RUN
STORE +PRJ MODE
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
19
AS-Interface
First commissioning
6.1.5
Error tracing
6.1.5.1
Faulty slaves
Power
LCD
AS-i Master
Ser. active (Ethernet/IP Status LED)
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
.1
MISSING SLAVE
2.0s
AS-Interface
Slave 1
LCD
.24
AS-Interface
Slave 5
MISSING SLAVE
AS-Interface
Slave 24
Error display (last error)
Power
Ser. active (Ethernet/IP Status LED)
Ser. active
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-i Master
Power
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface
Slave 1
AS-Interface
Slave 1
AS-Interface
Slave 5
AS-Interface
Slave 5
AS-Interface
Slave 24
LCD
HOST ERROR
NO CONNECTION
set/↓
24
Issue date - 24.4.2007
AS-Interface
Slave 24
AS-i Master
6.1.5.2
2.0s
Subject to reasonable modifications due to technical advances.
20
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
First commissioning
6.1.6
Addressing
6.1.6.1
Programming slave 2 to address 6
LCD
1x ↓
. 41
3x OK
LCD
SEARCHING SLAVE
1x OK
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
2x ↓
LCD
1x ↓
ETHERNET/IP
QUICK SETUP
SLAVE ADR TOOL
SLAVE TEST TOOL
LCD
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
1x OK
LCD
1x OK
SLAVE ADR TOOL
CONNECT NEW SLAVE
OLD ADDRESS
NEW ADDRESS
LCD
SLAVE ADR TOOL
OK
Master
Slave
Modul anschließen/Connect
module/Raccordez module/
Collegare modulo/Conecte modulo
2x ESC
LCD
.6
UNKNOWN SLAVE
Issue date - 24.4.2007
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 3
PRG
LCD
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
21
AS-Interface
First commissioning
6.2
Double Master VBG-EN-K20-DMD
6.2.1
Switching to advanced display mode
erweiterter Anzeigenmodus
advanced display mode
modo di visualizzazione avanzata
mode d‘affichage étendu
modo de visualisación avanzada
LCD
1x OK
1.12A
LCD
ETHERNET/IP
QUICK SETUP
SLAVE ADDR TOOL
SLAVE TEST TOOL
SETUP
1x ESC
siehe Zusatzblatt
see additional page
page supplémentaire
pagina supplementare
ver página adicional
klassische Anzeige
classical display
affichage classique
display classico
indicación clásica
6.2.2
Setting of ethernet properties
LCD
OK
ARM FIRMWARE
TCP/IP OBJECT
ETHERNET OBJECT
!
ARM FIRMWARE
TCP/IP OBJECT
ETHERNET OBJECT
OK
IF STATUS
IF CAPABILITY
IF CONTROL
...
!
USE DHCP
DNS DISABLED
Bei Verwendung von DHCP oder BOOTP
sind keine Einstellungen notwendig/ When
using DHCP or BootP, no adjustment is necessary/ En utilisant DHCP ou BOOTP, aucun réglage n'est nécessaire/ Usando DHCP
o il BOOTP, nessuna regolazione è necessaria/ Al usar DHCP o el BOOTP, no hay ajuste
necesario.
OK
USE STORED VAL.
DNS DISABLED
1xESC
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ.
TCP/IP CONFIG
USE BOOT P
DNS DISABLED
Issue date - 24.4.2007
OK
IF STATUS
IF CAPABILITY
IF CONTROL
...
OK
Subject to reasonable modifications due to technical advances.
22
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
First commissioning
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ.
TCP/IP CONFIG
!
OK
OK
"
...
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
ESC
!
GATEWAY
0.0.0.0
2xESC
ETHERNET/IP
QUICK SETUP
SLAVE ADDR TOOL
OK
Starten Sie das Gateway neu, damit die Änderungen
wirksam werden/ Restart the gateway to assume your
changes / Mettez la passerelle de nouveau en marche,
de sorte que les modifications deviennent efficaces /
Riavviare il gateway affinché le modifiche diventino efficaci/ Reinicie la pasarela para que los cambios sean
efectivos
Connecting of AS-i slaves
Power
Power
Ser. active (Ethernet Status-LED)
Ser. active
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface
Slave 1
Issue date - 24.4.2007
"
ESC
Config error
U AS-i
AS-i active
prg enable
LCD
1. 41
prj mode
AS-Interface
AS-Interface
Slave 1
SEARCHING SLAVES
AS-Interface
Slave 5
AS-Interface
Slave 24
Subject to reasonable modifications due to technical advances.
LCD
AS-i Master
6.2.3
!
IP ADDRESS
192.168.42.149
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
IP ADDRESS
192.168.42.149
AS-i Master
↓
IP ADDRESS
192. 168. 42. 149
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
NET MASK
255. 255. 255. 0
OK
"
1. 1
0.5s
1. 5
0.5s
AS-Interface
Slave 5
AS-Interface
Slave 24
1.41
SEARCHING SLAVES
0.5s
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
23
AS-Interface
First commissioning
6.2.4
Quick setup
config error
1x OK
LCD
1. 5
1x OK
LCD
STORE AS-I
CONFIGURATION
OK
STORE +PRJ MODE
1x ↓
2x ESC
LCD
ETHERNET/IP
QUICK SETUP
SETUP
IO + PARAM. TEST
LCD
1.
CONFIGURATION OK
1x OK
LCD
WARNING:
OUTPUTS MAY BE
RESET
1x OK
LCD
HOST ERROR
NO CONNECTION
1x ↓
LCD
Issue date - 24.4.2007
STORE AS-I
CONFIGURATION
STORE +RUN
STORE +PRJ MODE
Subject to reasonable modifications due to technical advances.
24
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
First commissioning
6.2.5
Error tracing
6.2.5.1
Faulty slaves
Power
LCD
AS-i Master
Ser. active (Ethernet/IP Status LED)
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
1.1
MISSING SLAVE
2.0s
AS-Interface
Slave 1
LCD
1.24
AS-Interface
Slave 5
MISSING SLAVE
AS-Interface
Slave 24
Error display (last error)
Power
Ser. active (Ethernet/IP Status LED)
Ser. active
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-i Master
Power
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface
Slave 1
AS-Interface
Slave 1
AS-Interface
Slave 5
AS-Interface
Slave 5
AS-Interface
Slave 24
LCD
HOST ERROR
NO CONNECTION
set/↓
24
Issue date - 24.4.2007
AS-Interface
Slave 24
AS-i Master
6.2.5.2
2.0s
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
25
AS-Interface
First commissioning
6.2.6
Addressing
6.2.6.1
Programming slave 2 to address 6
LCD
1x ↓
1. 41
3x OK
LCD
SEARCHING SLAVE
1x OK
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
2x ↓
LCD
1x ↓
ETHERNET/IP
QUICK SETUP
SLAVE ADR TOOL
SLAVE TEST TOOL
LCD
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
1x OK
LCD
1x OK
SLAVE ADR TOOL
CONNECT NEW SLAVE
OLD ADDRESS
NEW ADDRESS
LCD
SLAVE ADR TOOL
OK
Master
Slave
Modul anschließen/Connect
module/Raccordez module/
Collegare modulo/Conecte modulo
2x ESC
LCD
1. 6
UNKNOWN SLAVE
Issue date - 24.4.2007
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 3
PRG
LCD
Subject to reasonable modifications due to technical advances.
26
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7
Operating in Advanced Display Mode
AS-i 3.0 EtherNet/IP-Gateway: Inbetriebnahme/Commissioning
Klassischer Modus / Classic Mode
1.12A
grün markierte Werte sind editierbar
green marked data can be edited
Erweiterter Anzeigemodus / Advanced Display Mode
EtherNet/IP
ARM FIRMWARE
TCP/OBJECT
ETHERNET OBJ.
CONFIGURED
ARM FIRMWARE
NAME:
ETHERNET/IP
VERSION:
20041020
UPDATE VIA FTP:
ALLOWED
BOOTP CLIENT
NO DNS CLIENT
DHCP CLIENT
DHCP-DNS UPD
CFG SETTABLE
USE STORED VAL.
AS-I CIRCUIT 1
AS-I CIRCUIT 2
ETHERNET/IP
QUICK SETUP
SLAVE ADR TOOL
SLAVE TEST TOOL
SETUP
IO + PARAM.TEST
DIAGNOSIS
ADV. DIAGNOSIS
AS-I SAFETY
LANGUAGE
DISPLAY CONTRAST
WARNING:
OUTPUTS MAY BE
SET AND HOST MAY
LOOSE CONTROL.
TEST
20 - F6 - 24 - 01
TCP/IP OBJECT
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ
TCP/IP CONFIG
IP ADDRESS
192.168.42.149
NETMASK
255.255.255.0
GATEWAY
0 .0 .0 .0
BINARY INPUTS
BINARY OUTPUTS
ANALOG INPUTS
ANALOG OUTPUTS
PARAMETER
AS-I CIRCUIT 1
AS-I CIRCUIT 2
12-34-56-78-9A-BC
AS-I SLAVE ADDR
OLD ADDRESS 21A
NEW ADDRESS 03B
FORCE OFFLINE
NO
CHANGE
OPERATION MODE
CONFIG MODE
CHANGE
DISPLAY CONTRAST
DEFAULT
STORE ACTUAL
CONFIGURATION
BINARY OUTPUTS
1A - 0 1 0 1
2A - 0 1 0 1
..
31A - 1 1 1 1
1B - 0 1 1 0
PERMANENT PARAM
ANALOG IN 1
0 +2500
| 1A- 0
2A- 2 | 3A- F
4A- E | 5A- 3
1 +17898
....
...
100 Mbps
LINK ACTIVE
FULL DUPLEX
A/NEGO SUCCESS
RESET NEEDED
NO HW FAULT
SETUP
AS-I SLAVE ADDR
FORCE OFFLINE
OPERATION MODE
STORE ACT CFG
PERMANENT PARAM
PERMANENT CFG
ADDR.ASSISTANT
LOS
AUTO ADDR ENABLE
FACTORY RESET
STORE
ETHERNET OBJ.
IF SPEED
IF STATUS
PHYSICAL ADDR.
IF COUNTERS
MEDIA COUNTERS
BINARY INPUTS
1A - 0 1 0 1
2A - 0 1 0 1
...
31A - 1 1 1 1
1B - 0 1 1 0
...
31B - 0 1 0 1
AS-I CIRCUIT 1
AS-I CIRCUIT 2
31B - 0 1 0 1
WARNING:
OUTPUTS MAY BE
SET AND HOST MAY
LOOSE CONTROL.
SLAVE TEST TOOL
SLAVE ADR 21A
TEST
2 +32767 OVERFL
3 -20023
ANALOG INPUTS
1 X (SINGLE SLAVE)
2 A (A-SLAVE)
3 B (B-SLAVE)
..
31
30A- 8 | 31A| 1B2B- E | 3B4B- E | 5B-
9
0
0
0
...
....
30B- 8 | 31B- 9
PERMANENT CONFIG
IO ID XID1 XID2
1A -
7F 34
...
:
:
SLAVE ADR 21A
OK
BINARY INPUTS
01
BINARY OUTPUTS
01
ANALOG INPUTS
0 +17898
WARNING:
OUTPUTS MAY BE
RESET
QUICK SETUP
STORE AS-I
CONFIGURATION
STORE + RUN
STORE + PRJ MODE
AS-I CIRCUIT 1
AS-I CIRCUIT 2
1 +32767 OVERFL
ANALOG OUTPUTS
0 +17898
SLAVE ADR TOOL
CONNECT
OLD ADDRESS 21A
NEW ADDRESS 03B
PRG
1 +2500
F
PARAM
PERM PARAM
F
CONFIG
7FFE
PERM CONF 7FFE
ANALOG OUTPUTS
1 X (SINGLE SLAVE)
2 A (A-SLAVE)
3 B (B-SLAVE)
..
31
31A 1B ...
ANALOG OUT 1
0 +2500
31B -
1 +17898
AS-I ADDRESS
ASSISTANT ON
NEXT ADDRESS TO
PROGRAM: 1A
2 +32767 OVERFL
PARAMETER
| 1A- 0
2A- 2 | 3A- F
4A- E | 5A- 3
....
30A- 8 | 31A| 1B2B- E | 3B4B- E | 5B-
9
0
0
0
...
30B- 8 | 31B- 9
7F 34
7F 34
7F 34
3 -20023
....
AUTO ADDRESS
ENABLE
CHANGE
FACTORY RESET
DO RESET
LOS LIST OF
OFFLINE SLAVES
CLEAR ALL
SET ALL
| 1A- X
2A- | 3A4A- X | 5A- X
....
30A- X | 31A| 1B- X
2B- X | 3B- X
4B- X | 5B- X
...
30B- X | 31B- X
FACTORY RESET
Grundsätzliche Bedienung
1.12A
Das Gerät startet im traditionellen Modus. Mit ESC oder OK kann zwischen beiden Modi gewechselt werden. Im erweiterten
Modus wird ein Cursor mit den beiden Pfeil-Tasten bewegt. OK bringt ins nächsthöhere Menü (in der Zeichnung weiter nach
rechts). ESC bringt zurück ins vorherige Menü. Wenn Werte editiert werden, werden sie zunächst mit dem Cursor markiert,
dann mit OK ausgewählt, mit den Pfeiltasten verändert und schließlich mit OK übernommen. ESC bricht das Editieren ab.
Issue date - 24.4.2007
Basic Operation
The device starts in the traditional mode. You can switch between the two modes with ESC or OK. In the advanced mode the
cursor is moved by both arrow buttons. Pushing OK puts you to the superior menue (in the drawing one step to the right side).
ESC puts you back to the previous menue. To edit data you first mark them with the cursor and then select them with OK,
change them with the arrow buttons and finally apply them with OK. Pushing ESC cancels the editing.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
27
AS-Interface
Operating in Advanced Display Mode
AS-i 3.0 EtherNet/IP-Gateway: Inbetriebnahme/Commissioning
Klassischer Modus / Classic Mode
1.12A
grün markierte Werte sind editierbar
green marked data can be edited
Erweiterter Anzeigemodus / Advanced Display Mode
ETHERNET/IP
QUICK SETUP
SLAVE ADR TOOL
SLAVE TEST TOOL
SETUP
IO + PARAM.TEST
DIAGNOSIS
ADV. DIAGNOSIS
AS-I SAFETY
LANGUAGE
DISPLAY CONTRAST
AS-I CIRCUIT 1
AS-I CIRCUIT 2
DIAGNOSIS
FLAGS
ACTUAL CONFIG
LPF
AS-I MASTER
AS-I CIRCUIT 1
AS-I CIRCUIT 2
AS-I CIRCUIT 1
AS-I CIRCUIT 2
AS-I SAFETY
ADV. DIAGNOSIS
FLAGS: 0131 05
0000 0001
0011 0001
0000 0101
1 PERIPHERY_OK
0 OFFLINE_READY
0 AS-I_PWR_FAIL
1 NORMAL_OP.
1 CONFIG_ACTIVE
0 AUTO_ADDR_AVL
0 AUTO_ADDR_ASN
0 LDS.0
1 CONFIG_OK
ERROR COUNTERS
LCS
FAULT DETECTOR
1 AUTO_ADDR_ENA
0 OFFLINE
1 DATA_EXCH_ACT
ACTUAL CONFIG
0A | 1A-C
0A - .... -
...
30A-X | 31A-D
| 1B-X
1A - 7A28 -C
TYPE CONFLICT
ERROR COUNTERS
RESET
1A - 0
...
31A - 65535
1B - 34
...
30B - 0
LCS LIST OF
CORRUPTED SLAVES
RESET
| 1A-X
2A- | 3A4A-X | 5A-X
....
30A-X | 31A| 1B-X
2B-X | 3B-X
4B-X | 5B-X
...
30B-X | 31B-X
SAFETY SLAVES
SAFETY MONITOR
SAFE SUBST VAL
SAFETY ORIENTED
SLAVES
| 12-X | 3-R
....
30- | 31HELP:
X O.K.
R RELEASED
SAFETY MONITOR
ADDRESS 17
MODE:SORTED/V1
OK
SAFE SUBST VAL
SUBSTITUTE
CHANGE
SAFETY MONITOR
DIAGNOSIS
ADDR: 17
MODE: SORTED/V1
STATUS: OK
CH.1: OFF
CH.2: OFF
1-32: GREEN
...
...
30A | 31B-F
HELP:
X O.K.
D DETECTED ONLY
UNKNOWN SLAVE
P PROJ. ONLY
MISSING SLAVE
C TYPE CONFLICT
F PERIPH. FAULT
LPF LIST OF
PERIPH. FAULTS
| 1A-X
2A- | 3A4A-X | 5A-X
....
FAULT DETECTOR
RESET
HISTORIC:
EFLT OVRV NOIS
ACTUAL:
ELFT OVRV NOIS
DUP ASI ADR:
0 |31B
HELP:
ELFT EARTH FAULT
OVRV OVERVOLTAGE
NOIS NOISE
DUP ASI ADR
DUPLICATE ASI
SLAVE ADDRESS
30A-X | 31A| 1B-X
2B-X | 3B-X
4B-X | 5B-X
...
30B-X | 31B-X
VERSION
20000919
FEATURE STRING
ZEFOD1.AS.ER
Grundsätzliche Bedienung
1.12A
Das Gerät startet im traditionellen Modus. Mit ESC oder OK kann zwischen beiden Modi gewechselt werden. Im erweiterten
Modus wird ein Cursor mit den beiden Pfeil-Tasten bewegt. OK bringt ins nächsthöhere Menü (in der Zeichnung weiter nach
rechts). ESC bringt zurück ins vorherige Menü. Wenn Werte editiert werden, werden sie zunächst mit dem Cursor markiert,
dann mit OK ausgewählt, mit den Pfeiltasten verändert und schließlich mit OK übernommen. ESC bricht das Editieren ab.
Basic Operation
Issue date - 24.4.2007
The device starts in the traditional mode. You can switch between the two modes with ESC or OK. In the advanced mode the
cursor is moved by both arrow buttons. Pushing OK puts you to the superior menue (in the drawing one step to the right side).
ESC puts you back to the previous menue. To edit data you first mark them with the cursor and then select them with OK,
change them with the arrow buttons and finally apply them with OK. Pushing ESC cancels the editing.
Subject to reasonable modifications due to technical advances.
28
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
In the classical mode, it is possible to change settings while the device is in
operation. This can lead to failure of the plant (e. g. changing the address of
an AS-i slave).
In the advanced mode, however, the settings are protected, as long as the superior fieldbus is running.
1.12 A
ETHERNET/IP
QUICK SETUP
S L AV E A D D R T O O L
S L AV E T E S T T O O L
SETUP
I O + PA R A M . T E S T
DIAGNOSIS
A D V. D I A G N O S I S
AS-I SAFETY
LANGUAGE
D I S P L AY C O N T R A S T
The device starts in the classical mode (see chapter 7). Press ESC to switch to the
extended mode.
In the extended mode, the selection can be moved up and down with the arrow
buttons.
Pressing OK will switch to the selected function or menu. Pressing ESC will switch
back to the previous menu.
To edit data values highlight them with the selection bar, press OK, then change
them with the arrow-buttons and confirm with OK. The ESC-button cancels the
editing process.
Issue date - 24.4.2007
All possible addresses are displayed one after the other from 1A to 31A and from
1B to 31B. Data for single slaves are displayed at the addresses 1A - 31A.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
29
AS-Interface
Operating in Advanced Display Mode
7.1
EtherNet/IP (main menu)
ETHERNET/IP
QUICK SETUP
S L AV E A D D R AT R
OM
O LF I R M WA R E
S L AV E T E S T T
TO
CO
P /LI P O B J E C T
SETUP
I O + PA R A M . T EESTTH E R N E T O B J E C T
DIAGNOSIS
A D V. D I A G N O S I S
AS-I SAFETY
LANGUAGE
D I S P L AY C O N T R A S T
Within the menu "EtherNet/IP", one of the following submenues can be chosen:
• ARMFIRMWARE
• TCP/IP OBJECT
• ETHERNET OBJECT.
7.1.1
ARM Firmware
NAME:
ETHERNET/IP
VERSION:
20041020
U P D AT E V I A F T P :
ALLOWED
This menu displays the current version the ARM FIRMWARE.
ALLOWED permits firmware updates over FTP.
NOT-ALLOWED stops firmware updates over FTP.
7.1.2
TCP/IP Object
I F S TAT U S
I F C A PA B I L I T Y
IF CONTROL
PAT H T O L I N K O B J
TCP/IP CONFIG
This menu comes up to the Ethernet/IP TCP/IP Interface Object (Class code F5)
and enables the configuration of the TCP/IP Stack to check or to modify:
IF Status
Attribut 1: Interface Status
IF Capability
Attribut 2: Interface Capability Flags
IF Control
Attribut 3: Interface Control Flags
Path to Link Obj
Attribut 4: Path to physical link object
Issue date - 24.4.2007
TCP/IP Configuration Attribut 5: TCP/IP network interface configuration.
Subject to reasonable modifications due to technical advances.
30
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.1.2.1
IF Status
CONFIGURED
I F S TAT U S
I F C A PA B I L I T Y
IF CONTROL
PAT H T O L I N K O B J
TCP/IP CONFIG
This menu indicates the configuration-status.
7.1.2.2
IF Capability
BOOTP CLIENT
I F S TAT U S
NO DNS CLIENT
I F C A PA B I L I T Y D H C P C L I E N T
IF CONTROL
DHCP-DNS UPD
PAT H T O L I N K O
CB
FJ
G S E T TA B L E
TCP/IP CONFIG
This submenu indicates, which optional configuration options of the TCP/IP stack
are implemented in the control.
7.1.2.3
IF Control
USE BOOTP
DMS DISABLED
USE DHCP
DMS DISABLED
U S E S T O R E D VA L .
DMS DISABLED
I F S TAT U S
I F C A PA B I L I T Y
IF CONTROL
This submenu serves for controlling the configuration options.
7.1.2.4
Path to Link Object
20 - F6 - 24 - 01
I F S TAT U S
I F C A PA B I L I T Y
IF CONTROL
PAT H T O L I N K O B J
TCP/IP CONFIG
Issue date - 24.4.2007
This submenu indicates the connecting path to the Ethernet Object.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
31
AS-Interface
Operating in Advanced Display Mode
7.1.2.5
TCP/IP configuration
Over this menu the values for the TCP/IP Configuration (IP address, net mask and
gateway) can be entered.
Start the gateway again, so that the changes become effective!
7.2
Ethernet Object
IF SPEED
A R M F I R M WA R EI F S TAT U S
TCP/IP OBJECT PHYSICAL ADDR.
I FC C
ETHERNET OBJE
T OUNTERS
MEDIA COUNTERS
This menu corresponds to the EtherNet/IP Ethernet Link Object (Object code F6)
and informs about the following ethernet attributes:
IF Speed
Attribute 1: Interface Speed
(the menu indicates the momentary data transfer rate)
IF Status
Attribute 2: Interface Flags
(the menu indicates the connecting status of the ethernet
interface)
Physical ADDR. Attribute 3: physical address
(the menu indicates the ethernet address)
IF Counters
Attribute 4: Interface Counters
(the menu indicates the ethernet-packet counter)
Not all RFC1213 counter are implemented.
Media Counters Attribute 5: Media-Specific counters
(the menu indicates the state of the ethernet-specific counter).
Subject to reasonable modifications due to technical advances.
32
Issue date - 24.4.2007
Not all RFC1642 counter are implemented.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.3
Quick setup
This menu enables a fast configuration of the AS-i network.
WA R N I N G :
O U T P U T M AY B E
RESET
Warning: outputs may be reset!
Pressing "OK" you switch to the submenu "Store AS-i Configuration".
STORE AS-I
C O N F I G U R AT I O N
STORE + RUN
STORE + PRJ MODE
"Store+Run"
With "OK" you store the current AS-i network configuration and the attached slaves as the target configuration. The gateway changes into the protected operating
mode.
"Store+Prj Mode"
With "OK" you store the current AS-i network configuration and the attached slaves. The gateway remains in the project mode.
Issue date - 24.4.2007
By pressing the "ESC" button you leave this menu and switch back to the main
menu.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
33
AS-Interface
Operating in Advanced Display Mode
7.3.1
Control menu (option)
7.3.1.1
AS-i control
7.3.1.2
CONTROL
INFO
CONTROL
RUN
CONTROL
FLAGS
AS-i control information
CONTROL
INFO
S TA R T B I T S E T
RUNNING
CYCLE TIME
A C T:
2MS
MAX:
5MS
This function displays the current status of the AS-control (control program).
START BIT SET: the control program was started.
START BIT RESET: the control program was stopped.
RUNNING: the control program is running.
STOPPED: the control program was stopped.
The control program can be stopped even though the start bit was set. Example:
any configuration error occurs, or the master is in the configuration mode.
CYCLE TIME ACT: current cycle time of the control program.
CYCLE TIME MAX: maximal cycle time of the control program since its last start.
7.3.1.3
AS-i control run
CONTROL
RUN
RUN
CHANGE
CONTROL RUN: the control program can be stopped with this function. It modifies
the start bit in the menu Control Info.
RUN: the control program has been started. Even if the start bit is set, the control
program can be stopped; example: any cofiguration error occurs, or the master is
in the configuration mode.
Issue date - 24.4.2007
CHANGE: the configuration program is stopped.
Subject to reasonable modifications due to technical advances.
34
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.3.1.4
AS-i control flags (flag memory control program)
CONTROL
FLAGS
0:2A 47
2B
2C
4:83
F2
58
BD
...
124:
4A C3
84
7A
The control program can read and modify the flag memory with the function "AS-i
Control flags".
A procedure of modifying flag memory:
• select a line with soft keys
• press OK to open the selected menu
5 : 1 0 1111 0 1
4:83
BD
F2
58
• select the required flag with hot keys (the selected flag appears in the upper line
binary coded)
• press OK to edit the selected flag in the upper line.
7.4
Slave Adr Tool (slave addressing tool)
This function sets and changes the addresses of both new and configured AS-i
slaves. This function replaces the handheld AS-i address programming device.
AS-I CIRCUIT
1
AS-I CIRCUIT
2
Please note that you must have selected the desired AS-i circuit using the arrow
and the OK button when you operate a device with two AS-i circuits (see chapter
7.6.1).
S L AV E A D R T O O L
C O N N E C T N E W S LV
OLD ADDRESS
Issue date - 24.4.2007
NEW ADDRESS
Now the new slave can be connected to the AS-i circuit. After connecting the actual address of the slave is displayed by "OLD ADDRESS".and the notice "CONNECT NEW SLV" disappears.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
35
AS-Interface
Operating in Advanced Display Mode
To give the slave a new address choose the menu entry "NEW ADDRESS". Afterwards the address can be selected with the help of the arrow buttons.The (re-)
addressing is carried out by selecting the menu entry "PRG" and pressing the OK
button.
S L AV E A D R T O O L
OLD ADDRESS 21A
NEW ADDRESS 03B
PRG
If an error occurs while addressing a slave, one of the following error messages is
displayed for about 2 seconds:
Failed: SND:slave with old address has not been detected.
Failed: SD0:slave with address zero has been detected.
Failed: SD2:slave with new address has been detected.
Failed: DE:could not delete old address.
Failed: SE:error setting new address.
Failed: AT:new address could be stored temporarily only.
Failed: RE:error reading the extended ID-code 1.
7.5
Slave Test Tool
With this function a single AS-i slave can be tested.
Please note that you must have selected the desired AS-i circuit using the arrow
and the OK button when you operate a device with two AS-i circuits (see chapter
7.6.1)
AS-I CIRCUIT
1
AS-I CIRCUIT
2
Now a warning message is displayed, that possibly by this test outputs are set and
the host may loose control of the circuit.
To start the test press the OK button, to cancel press the button ESC.
WA R N I N G :
O U T P U T S M AY B E
S E T A N D H O S T M AY
In the following menu the slave to be tested has to be chosen by selecting the slave address.
Subject to reasonable modifications due to technical advances.
36
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
LOSE CONTROL
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
Afterwards the test is started by confirming the menu entry "Test".
S L AV E T E S T T O O L
S L AV E A D R
21A
TEST
After finishing the test all relevant informations is displayed for the tested slave.
A successful test is displayed with "OK" below the address of the tested slave.
The following information are displayed:
• Address of the tested slave
• Existing errors are indicated
• Binary inputs (digital inputs), see also “Binary input“, chapter 7.7.3
• Binary outputs (digital outputs), see also “Binary outputs“, chapter 7.7.4
• Analog inputs, see also “Analog inputs“, chapter 7.7.5
• Analog outputs, see also “Analog outputs“, chapter 7.7.6
• Param (actual parameters), see also “Parameter“, chapter 7.7.7
• Perm Param (projected parameters), see also “Permanent Param (projected
parameter)“, chapter 7.6.7
• Config (actual configuration), see also “Actual Config (actual configuration)“,
chapter 7.8.4
• Perm Conf (projected configuration), see also “Permanent Config (projected
configuration data)“, chapter 7.6.8
S L AV E 1 5 O K
B I N A RY I N P U T S
0 1
B I N A RY O U T P U T S
0 1
ANALOG INPUTS
0 +17898
1 +32767 OVERFL
ANALOG OUTPUTS
0 +1789
1 +2500
F
F
7FFE
7FFE
Issue date - 24.4.2007
PA R A M
P E R M PA R A M
CONFIG
PERM CONF
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
37
AS-Interface
Operating in Advanced Display Mode
7.6
Setup (configuration of AS-i circuit)
7.6.1
AS-i circuit
AS-I CIRCUIT
1
AS-I CIRCUIT
2
To reach this setup menu you have to change the desired AS-i circuit by using the
arrow and the OK buttons.
The function is only implemented in the double master.
It makes possible to change the AS-i circuit that is currently active for being operated.
The active circuit is marked by the cursor.
7.6.2
Description of setup mode
A S - I S L AV E A D D R
FORCE OFFLINE
O P E R AT I O N M O D E
STORE ACT CFG
P E R M A N E N T PA R A M
PERMANENT CFG
A D D R . A S S I S TA N T
LOS
AUTO ADDR ENABLE
S U P P LY
FA C T O R Y R E S E T
Within the menu "Setup", one of the following submenus can be chosen:
• AS-i Slave Addr (AS-i Slave Address)
• Force Offline (switch AS-i Master offline)
• Operation Mode
• Store Act Cfg (store actual detected configuration)
• Permanent Param (projected parameter)
• Permanent Cfg (projected configuration data)
• Addr. Assistant (address assistent)
• LOS (list of offline-slaves)
• Auto Adr Enable
• Supply (option by single master)
Issue date - 24.4.2007
• Factory Reset (rest for the factory adjustment)
Subject to reasonable modifications due to technical advances.
38
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.6.3
AS-i Slave Adr (set/change slave address)
A S - I S L AV E A D D R
OLD ADDRESS 21A
NEW ADDRESS 03B
With this function the address of a slave can be changed.
To change the address select the menu entry "OLD ADDRESS" and afterwards
select the address of the slave which address should be changed. The new
address of the slave has to be set in the menu entry "NEW ADDRESS". The
addressing is carried out by pressing the OK button.
7.6.4
Force offline
FORCE OFFLINE
NO
CHANGE
This function shows the current state of the AS-i Master:
Yes:AS-i Master is offline.
No:AS-i Master is online.
With "Change", this state can be modified.
Switching the AS-i master offline puts the AS-i circuit into the safe state. The AS-i
master has to be offline if an AS-i slave should be addressed via the IR-interface.
7.6.5
Operation mode
O P E R AT I O N M O D E
CONFIG MODE
CHANGE
This function shows the current operation mode of the AS-i master:
Protected Mode:Protected mode
Config Mode:Configuration mode
With "Change" the operation mode can be changed.
Issue date - 24.4.2007
Only in configuration mode parameters and configuration data can be stored.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
39
AS-Interface
Operating in Advanced Display Mode
7.6.6
Store Act Cfg (store actual detected configuration)
STORE ACTUAL
C O N F I G U R AT I O N
STORE
This function can only be executed in configuration mode.
This function enables you to store the configuration of all slaves which are connected and detected on the selected AS-i circuit.
If "Store" was successful, the LED "Config error" is off. The configuration is stored,
the configuration error has been eliminated.
If one of the connected slaves has a peripheral fault, the LED "Config error" will
flash.
If the AS-i master is in protected mode, the following error message will appear:
"Failed No Config Mode"
If an AS-i slave with address zero exists, storing the configuration will be confirmed
with "OK". However, the configuration error remains because address zero is not
a valid operating address for storing a slave.
7.6.7
Permanent Param (projected parameter)
P E R A M N E N T PA R A M
I
1A-0
2A-2
I
3A-F
4A-E
I
5A-3
This function allows you to set the permanent parameters. A list of all slaves is displayed from 1A - 31A and from 1B - 31B. The permanent parameters for single
slaves are set from address 1A - 31A. The parameter is shown as a hexadecimal
value behind the slave address.
7.6.8
Permanent Config (projected configuration data)
PERAMNENT CONFIG
IO
ID
xID1
xID2
1A
-
7
F
3
4
2A
-
7
F
3
4
IO (I/O-configuration) ID (ID-configuration) xID1 (extended ID1)
xID2 (extended ID2).
Subject to reasonable modifications due to technical advances.
40
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
With this function the projected configuration data can be projected. The values for
the configuration data are displayed behind the slave address in the following order:
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.6.9
AS-i address assistent
AS-I ADDRESS
A S S I S TA N T O N
NEXT ADDRESS TO
PROGRAM 1A
The AS-i address assistant helps you to set up the AS-i circuit quickly. Once you
have stored the AS-i configuration, the AS-i address assistant addresses a new
AS-i slave with address zero to the desired address.
Selecting "Assistant on" or "Assistant off" switches the AS-i address assistant on
or off. The current state of the AS-i address assistant is displayed:
Assistant on: AS-i address assistant is switched on.
Assistant off: AS-i address assistant is switched off.
Procedure:
1. Store AS-i Configuration to the master. This can be done very comfortably with
the Windows software AS-i-Control-Tools (Master | Write configuration to the
AS-i Master ...), or directly with the fullgraphic display (see chapter 7.6.8).
2. All AS-i slaves have to be addressed to 0 or to the desired address. The slaves
must be disconnected from the AS-i circuit.
3. Start the AS-i address assistant.
4. Now connect the AS-i slaves one after the other. The last line of the display of
the AS-i address assistant shows which AS-i slave has to be connected next.
7.6.10
LOS (list of offline slaves)
LOS LIST OF
O F F L I N E S L AV E S
SET ALL
CLEAR ALL
See also "Advanced Diagnostics for AS-i Masters", chapter 9.
With "Clear all" and "Set all" you can delete or set a single bit for each AS-i slave
address. Underneath there is a list of all slaves, by which the LOS bit can be set
or deleted by individualy selecting of the LOS bit.
Empty field: LOS bit deleted
X:
LOS bit set
7.6.11
Auto Adr Enable (enable automatic address)
AUTO ADDRESS
ENABLE
Issue date - 24.4.2007
CHANGE
With this function can the programming of the automatic address be released or
locked.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
41
AS-Interface
Operating in Advanced Display Mode
Meaning of the displayed mode:
Enable:Automatic address programming is released.
Disable:Automatic address programming is locked.
With "Change" the operation mode can be changed.
7.6.12
Factory reset
FA C T O R Y R E S E T
DO RESET
With this function the master can be reseted to the factory setting. The reset can
be chosen by selecting the menu entry "DO RESET".
• This function should be used only in an emergency, since all attitudes transacted so far are put back to factory setting and thus perfect communication
and functioning of the masters with the AS-i circle are ensured no more.
• The master and the AS-i circuit have to be recommissioned and reprojected
again after a successful "Reset".
• In case of double masters the "Reset" acts on both AS-i masters!
7.7
IO + Param. Test
7.7.1
AS-i circuit
AS-I CIRCUIT
1
AS-I CIRCUIT
2
To reach this setup menu you have to change the desired AS-i circuit by using the
arrow and the OK buttons.
The function is only implemented in the double master.
It makes possible to change the AS-i circuit that is currently active for being operated.
Issue date - 24.4.2007
The active circuit is marked by the cursor.
Subject to reasonable modifications due to technical advances.
42
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.7.2
IO + Param. Test (Testing AS-i In- and Outputs as well as reading and
writing AS-i Parameters)
WA R N U N G
O U T P U T S M AY B E
S E T A N D H O S T M AY
LOSE CONTROL.
Before changing to the menu the following warning message will displayed:
"Warning: Outputs may be set and Host may lose control."
B I N A RY I N P U T S
B I N A RY O U T P U T S
ANALOG INPUTS
ANALOG OUTPUTS
The menu "IO + Param.Test" enables you to choose one of the following submenus:
• Binary Inputs
• Binary Outputs
• Analog Inputs
• Analog Outputs
• Parameter
7.7.3
Binary input
B I N A RY I N P U T S
D3...D0
1A - 0 1 0 1
2A - 0 1 0 1
3A - 0 0 0 1
Issue date - 24.4.2007
This list shows the state of the binary inputs for all AS-i slaves.
0: Input deleted
1: Input set
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
43
AS-Interface
Operating in Advanced Display Mode
7.7.4
Binary outputs
B I N A RY O U T P U T S
D3...D0
1A - 0 1 0 1
2A - 0 1 0 1
3A - 0 0 0 1
This function shows the state of the binary outputs for all AS-i slaves.
0: Output deleted
1: Output set
The binary outputs can be changed after selecting the desired AS-i slave.
7.7.5
Analog inputs
ANALOG INPUTS
1
X
2 A
3
B
This function shows the state of the analog inputs for all AS-i slaves.
The slave-types are characterized as follows:
X - single slave
A - A-slave
B - B-slave
AB - A+B slave
...
The data of the slave B start ex channel 2!
The display is as follows:
AS-i slave address, hexadecimal 16 bit value, bar display indicating the input or
output value.
An eventual value overflow is displayed by "Overfl" additionally.
ANALOG IN
0 +2500
1
+17898
2
+32767 OVERFL
3
-20023
Issue date - 24.4.2007
1
Subject to reasonable modifications due to technical advances.
44
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.7.6
Analog outputs
ANALOG OUTPUTS
1
X
2 A
3
B
This function shows the state of the analog outputs for all AS-i slaves.
The display is as follows:
AS-i slave address, hexadecimal 16 bit value, bar display.
OVERFL displays any value overflows additionally.
ANALOG OUT
0 +2500
1
1
+17898
2
+32767 OVERFL
3
-20023
The analog outputs can be changed after selecting the desired AS-i slave.
7.7.7
Parameter
PA R A M E T E R
I
1A - 0
2A - 2
I
3A - F
4A - E
I
5A - 3
This function shows the hexadecimal value of the current AS-i parameters for all
AS-i slaves.
Issue date - 24.4.2007
The actual AS-i parameters can be changed after selecting the desired slave
address.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
45
AS-Interface
Operating in Advanced Display Mode
7.8
Diagnosis (normal AS-i diagnosis)
7.8.1
AS-i circuit
AS-I CIRCUIT
1
AS-I CIRCUIT
2
To reach this setup menu you have to change the desired AS-i circuit by using the
arrow and the OK buttons.
The function is only implemented in the double master.
It makes possible to change the AS-i circuit that is currently active for being operated.
The active circuit is marked by the cursor.
7.8.2
Diagnosis (normal AS-i diagnosis)
FLAGS
ACTUAL CONFIG
LPF
AS-I MASTER
The menu "Diagnosis" enables you to choose one of the following submenus:
• Flags (EC-Flags: Execution control flags)
• Actual Config (actual configuration)
• LPF (list of periphery faults)
Issue date - 24.4.2007
• AS-i Master (Info)
Subject to reasonable modifications due to technical advances.
46
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.8.3
Flags
FLAGS:
1
0
0
1
1
0
0
0
1
0131 05
0000 0001
0 0 11 0 0 0 1
0000 0101
P E R I P H E RY _ O K
OFFLINE_READY
A S - I _ P W R _ FA I L
N O R M A L _ O P.
CONFIG_ACTIVE
A U T O _ A D D R _ AV L
AUTO_ADDR_ASN
LDS.O
CONFIG_OK
1
0
1
AUTO_ADDR_ENA
OFFLINE
D ATA _ E X C H _ A C T
This function shows the EC-flags hexadecimaly, binary and as single bits beginning with the lowest-order bit.
Arrangement of the bits within the byte:
Byte
Bit
value:
27
26
25 24 23 22 2 1 20
Bit.
7
6
5
4
3
2
1
0
Byte 1:
Issue date - 24.4.2007
Bit 0:Periphery_OK
This flag is set, if no AS-i slave signs a periphery fault.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
47
AS-Interface
Operating in Advanced Display Mode
Byte 2:
Bit 0:Config_OK
The flag is set, if the projected configuration corresponds with the actual configuration.
Bit 1:LDS.0
The flag is set, if an AS-i slave with address 0 has been detected.
Bit 2:Auto_Addr_Asn
The flag is set, if the automatic addressing is possible
(AUTO_ADDR_ENABLE = 1; no "incorrect" AS-i slave is conntected to
AS-i).
Bit 3:Auto_Addr_Avl
The flag is set, if the automatic addressing is possible. This means that
exactly one slave is failed.
Bit 4:Config_Active
The flag is set in the configuration mode and is reset in the protected
mode.
Bit 5:Normal_Op.
The flag is set, if the AS-i master is in normal operation.
Bit 6:AS-i Pwr Fail
The flag is set, if the AS-i circuit is not sufficiently powered.
Bit 7:Offline_Ready
The flag is set, if the AS-i master is in the offline phase.
Byte 3:
Bit 0:Data_Exch_Act
If the flag "Data Exchange Active" is set, the data exchange is released
with the AS-i slaves in the data exchange phase. If the bit is not set, the
data exchange with AS-i slaves will be locked. Instead of data telegramms READ_ID telegramms will be sent.
The bit is set by the AS-i master by change over in the offline phase.
Bit 1:Offline
This bit is set if the operating mode offline is to be or already taken.
Issue date - 24.4.2007
Bit 2:Auto_Addr_Ena
This flag indicates if the automatic addressing is locked (bit = 0) or released (bit = 1) by the user.
Subject to reasonable modifications due to technical advances.
48
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.8.4
Actual Config (actual configuration)
ACTUAL CONFIG
0A
I
1A-Cf
2Ax
I
3Ad
4p
I
5A
This function shows the state of the actual configuration of the individual AS-i slaves.
At the end of the list there is a help text describing the abbreviations:
X (O.K.):The configuration data of the detected AS-i slave matches the projected
configuration data.
D (Detected Only):An AS-i slave is detected at this address, but not projected.
P (Projected Only):An AS-i slave is projected at this address, but not detected.
C (Type Conflict):The configuration data of the detected AS-i slave does not
match the projected configuration data. The actual detected
configuration of the connected AS-i slave is displayed.
F (Periph. Fault):The AS-i slave has a peripheral fault.
A (Duplicate Adr.):2 AS-i slaves in the indicated address
After selecting the desired AS-i slave address the values for the actual configuration data are displayed behind the respective address in the following order:
IO (I/O-configuration) ID (ID-configuration) xID1 (extended ID1)
xID2 (extended ID2)
0A - .... 1A - 7A28 -C
TYPE CONFLICT
Furthermore the state of the configuration is displayed in plain text.
If no AS-i slave is detected and no AS-i slave is projected at a certain address, four
dots instead of the configuration data are displayed.
7.8.5
LPF (List of periphery faults)
LPF LIST OF
P E R I P H . FA U LT S
Issue date - 24.4.2007
2A-
I
1A-x
I
3A-
The list shows AS-i slaves, which have released a peripheral fault.
Empty field: Periphery O.K.
X:
Peripheral fault
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
49
AS-Interface
Operating in Advanced Display Mode
7.8.6
AS-i master (info)
VERSION
20000919
F E AT U R E S T R I N G
ZEFO D1.AS.ER
This function shows information about the version and the features of the AS-i master.
Version xxxxxxxx (date of the firmware)
Feature String xxxxxxxxxxxxxxxx
7.9
Adv. Diagnosis (advanced AS-i diagnosis)
ERROR COUNTERS
LCS
FA U LT D E T E C T O R
See also "Advanced Diagnostics for AS-i Masters", chapter 9.
In the menu "Adv. Diagnosis", the following submenus can be found:
• Error Counters
• LCS (list of slaves, that produced a configuration error)
• Fault Detector
7.9.1
Error counters
ERROR COUNTERS
RESET
1A - 0
2A - 0
This list shows the error counter for each single AS-i slave.
Furthermore the number of power failures on AS-i (APF) is displayed.
Issue date - 24.4.2007
By selecting "Reset", the error counters are reset to 0.
Subject to reasonable modifications due to technical advances.
50
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.9.2
LCS (list of slaves having caused a configuration error)
RESET
APF-
I
1A-x
2A-
I
3A-
4A-x
I
5A
This list shows for each single AS-i slave whether at least one configuration error
was caused by an enormous telegram transmission. This function is especially important if the configuration error only occurs short-time.
Empty field: No error
X:
AS-i slave caused a configuration error.
7.9.3
Fault detector
FA U LT D E T E C T O R
RESET
HISTORIC:
E F LT O V R V N O I S
ACTUAL:
E F LT O V R V N O I S
DUP ASI ADR:
0
I 31B
HELP:
E F LT E A R T H FA U LT
OVRV OVERVOLATAGE
NOIS NOISE
DUP ASI ADR
D U P L I C AT E A S I
S L AV E A D D R E S S
The menu "Fault Detector" shows information about the AS-i detector and allows
deleting of the AS-i detector´s history. Furthermore a list of abbreviations in plain
language can be found is in the section "Help".
By selecting "Reset" the history of the AS-i detector can be deleted.
In the section "Historic" the appeared error messages of the AS-i detector are listed since the last "Reset".
In the section "Actual" the actual appeared error messages of the AS-i detector are
listed.
Following error messages are possible:
• Duplicate address (the 2 lowest slave addresses are displayed, at which a duplicate address exist).
• Earth faults
Issue date - 24.4.2007
• Noise
• Overvoltage
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
51
AS-Interface
Operating in Advanced Display Mode
7.10
AS-i safety
S A F E T Y S L AV E S
SAFETY MONITOR
S A F E T Y S U B S T VA L
This function shows information about the safety slaves and the safety monitor:
• Safety Slaves
• Safety Monitor
• Safety Substitute Value
7.10.1
Safety slaves (safety oriented slaves)
SAFETY ORIENTED
S L AV E S
2-XR
I
1-
I
3-XX
This list shows the "safety-directed input slaves" ("AS-i Safety at Work"), by which
the safety function is released.
X:channel o.k.
R:channel has released
The first area corresponds with the channel 2, the second one with the channel 1.
XR means also: channel 2 is OK and channel 2 has released.
The channels can not be evaluate individually, if the substitution of safety slaves
input data was disconnected in menu:
• command interface/ function profile
or
• slave value substitute.
Issue date - 24.4.2007
Both channels must have the same state, otherweise the indication will not be proper.
Subject to reasonable modifications due to technical advances.
52
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Operating in Advanced Display Mode
7.10.2
Safety monitor
SAFETY MONITOR
DIAGNOSIS
ADDR:
17
MODE:
SORTED/V1
S TAT U S : O . K .
CH.1:
OFF
CH.2:
OFF
1-32:
GREEN
...
The AS-i safety monitor reads the diagnosis data of the AS-i safety monitor and
shows on the display. The meaning of the shown diagnosis can be seen in the description of the safety monitor.
7.10.3
Safety Subst Value
S A F E T Y S U B S T VA L
SUBSTITUTE
CHANGE
With this function the input-data-substitution by safety slaves can be turn off/on.
SUBSTITUTE
The input-data are replaced mit following values:
Both channels released: 0000bin
Channel 1 released: 0011bin
Channel 2 released: 1100bin
No channel has released: 1111bin
NO SUBSTITUTE
Issue date - 24.4.2007
The safety slave input data are shown unmodified.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
53
AS-Interface
Operating in Advanced Display Mode
7.11
Display contrast
DISP CONTRAST
D E A F U LT
With this function display contrast can be adjusted.
Factory adjustment will be reloaded by selecting DEAFULT.
Approach to set the display contrast:
• select the bar line with soft keys
• verify with OK (the bar line flashes)
• set the display contrast with soft keys
• assume with OK.
If the contrast is completely misaligned, set it as follows:
• turn the master off
• press the buttons MODE + SET and hold them
• turn the master on.
7.12
Language of displayed messages
ENGLISH
X
DEUTSCH
FRANCAIS
I TA L I A N O
E S PA N O L
The list of messages (like "missing slave" or "unknown slave") that is shown on
the screen, can be edited in the desired language by using the softkey + OK buttons. The current language is marked with "x".
Issue date - 24.4.2007
The menu-language is English. This attitude cannot be changed! It is only
possible to change the language of displayed messages (like "missing slave"
or "unknown slave").
Subject to reasonable modifications due to technical advances.
54
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8
Command Interface
8.1
Construction
Command interface call-instructions are described as follows:
Request
byte
27
26
25
1
2
24
23
22
21
20
21
20
command
T
–
circuit
3
request parameter byte 1
…
…
36
request parameter byte 34
Response
byte
27
26
25
1
2
24
23
22
command
T
result
3
response parameter byte 1
…
…
36
response parameter byte 34
Command byte and T-bit are always part of the response. The T-bit is necessary
to operate the command interface.
Circuit = 0
If an AS-i gateway with one AS-i master or the master 1 of an AS-i
gateway with 2 masters should be chosen.
If master 2 of an AS-i gateway with 2 masters should be chosen.
Circuit = 1
The commands for reading and writinig exist in two variations. At the first variation
the bits in the slave lists are arranged as usually with Pepperl+Fuchs products:
Data for slave with lower address appear in the lower bits. The second variation is
compatible to Siemens masters: The sequence of the bits in the slave lists bytes
are inverse.
Switching between the two variations can be done with bit 26 in byte 2 of the request. If it is deleted, the Pepperl+Fuchs arrangement is selected, otherwise the
Siemens compatible arrangement is selected.
The coding of requests for commands to reading and writing is following therefore:
Request
byte
27
26
1
Issue date - 24.4.2007
2
25
24
23
22
21
20
command
T
0
circuit
3
Request parameter byte 1
…
…
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
55
AS-Interface
Command Interface
8.2
List of all commands
Req
Len
Res
Len
Read 1 16-bit slave profile in.data
3
10
Write 1 16-bit slave profile out.data
11
2
5216
Read 1 16-bit slave profile out.data
3
10
RD_7X_IN_X
5316
Read 4 16-bit slave profile in.data
3
34
WR_7X_OUT_X
5416
Write 4 16-bit slave profile out.data
35
2
page 61
RD_7X_OUT_X
5516
Read 4 16-bit slave profile out.data
3
34
page 61
OP_RD_16BIT_IN_CX
4C16
Read 16 channels 16-bit slave
in.data
3
34
page 62
OP_WR_16BIT_IN_CX
4D16
Write 16 channels 16-bit slave
in.data
36
2
page 63
Commands acc. to Profile S-7.4/S-7.5
page 63
WR_74_75_PARAM
5A16
Write S-7.4/S-7.5-slave parameter
≥6
2
page 64
RD_74_75_PARAM
5B16
Read S-7.4/S-7.5-slave parameter
4
≥3
page 65
RD_74_75_ID
5C16
Read S-7.4/S-7.5-slave ID string
4
≥3
page 65
RD_74_DIAG
5D16
Read S-7.4/S-7.5-slave diagnosis
string
4
≥3
page 66
Acyclic commands
page 66
WRITE_ACYC_TRANS
4E16
Write acyclic transfer
≥7
2
page 68
READ_ACYC_TRANS
4F16
Read acyclic transfer
5
≥2
page 69
AS-i Diagnosis
page 69
GET_LISTS
3016
Get LDS, LAS, LPS, Flags
2
29
page 71
GET_FLAGS
4716
Get_Flags
2
5
page 72
GET_DELTA
5716
Get list of config. diff.
2
10
page 73
GET_LCS
6016
Get LCS
2
10
page 73
GET_LAS
4516
Get_LAS
2
10
page 74
GET_LDS
4616
Get_LDS
2
10
page 75
GET_LPF
3E16
Get_LPF
2
10
page 75
GET_LOS
6116
GET_LOS
2
10
page 76
SET_LOS
6216
SET_LOS
10
2
page 77
GET_TECA
6316
Get transm.err.counters
2
34
page 78
GET_TECB
6416
Get transm.err.counters
2
34
page 78
GET_TEC_X
6616
Get transm.err.counters
4
≥3
page 79
READ_FAULT_DETECTOR
1016
Read Fault Detector
2
4
page 80
READ_DUPLICATE_ADDR
1116
Read List of Duplicate Addresses
2
10
page 81
Configuration of AS-i Master
page 81
SET_OP_MODE
0C16
Set_Operation_Mode
3
2
page 82
STORE_CDI
0716
Store_Actual_Configuration
2
2
Command
Value
Meaning
page 58
AS-i 16-bit data
page 58
page 59
RD_7X_IN
5016
WR_7X_OUT
5116
page 59
RD_7X_OUT
page 60
page 60
Subject to reasonable modifications due to technical advances.
56
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
Values for command
see page
AS-i EtherNet/IP Gateway
Command Interface
Values for command
Req
Len
Res
Len
Read_Actual_Configuration
3
4
Set_Permanent_Config
5
2
2616
Get_Permanent_Config
3
4
SET_LPS
2916
SET_LPS
11
2
GET_LPS
4416
Get_LPS
2
10
2
2
see page
Command
Value
Meaning
page 82
READ_CDI
2816
page 83
SET_PCD
2516
page 83
GET_PCD
page 84
page 85
page 86
0416
Store_Actual_Parameter
WRITE_P
0216
Write_Parameter
4
3
page 87
READ_PI
0316
Read_Parameter
3
3
page 87
SET_PP
4316
Set_Permanent_Parameter
4
2
page 88
GET_PP
0116
Get_Permanent_Parameter
3
3
page 88
SET_AAE
0B16
Set_Auto_Address_Enable
3
2
page 91
SLAVE_ADDR
0D16
Change_Slave_Address
4
2
page 90
WRITE_XID1
3F16
Write_Extended_ID-Code_1
3
2
page 90
Other commands
page 91
IDLE
0016
No request
2
2
page 91
READ_IDI
4116
Read IDI
2
36
page 92
WRITE_ODI
4216
Write ODI
34
2
page 92
READ_ODI
5616
Read ODI
2
34
page 93
SET_OFFLINE
0A16
Set_Off-Line_Mode
3
2
page 94
SET_DATA_EX
4816
Set_Data_Exchange_Active
3
2
page 94
BUTTONS
7516
Disable Pushbuttons
3
2
page 94
FP_PARAM
7D16
„Functional Profile“ Param.
≥3
≥2
page 95
FP_DATA
7E16
„Functional Profile“ Data
≥3
≥2
page 96
INVERTER
7C16
Configure Inverter Slaves
12
4
page 96
MB_OP_CTRL_WR_FLAGS
0x85
Write Flags
≥5
2
page 97
MB_OP_CTRL_RD_FLAGS
0x86
Read Flags
4
≥3
page 97
RD_MFK_PARAM
0x59
Read SEW MFK21 Parameter
6
≥3
Issue date - 24.4.2007
STORE_PI
page 86
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
57
AS-Interface
Command Interface
8.2.1
Values for results
8.3
Value
Place
Meaning
OK
0016
–
execution without fault
HI_NG
1116
HI
general fault
HI_OPCODE
1216
HI
illegal value in command
HI_LENGTH
1316
HI
length of the command interface is too short
HI_ACCESS
1416
HI
no access right
EC_NG
2116
EC
general fault"
EC_SND
2216
EC
slave (source addr) not detected
EC_SD0
2316
EC
slave 0 detected
EC_SD2
2416
EC
slave (target addr) not decteced
EC_DE
2516
EC
delete error
EC_SE
2616
EC
set error
EC_AT
2716
EC
address temporary
EC_ET
2816
EC
extended ID1 temporary
EC_RE
2916
EC
read (extended ID1) error
Commands of the Command Interface
8.3.1
AS-i 16-bit data
8.3.1.1
Overview of the commands
Values for command
see page
Command
Value
Meaning
Req
Len
Res
Len
10
page 58
RD_7X_IN
5016
Read 1 16-bit slave profile in.data
3
page 59
WR_7X_OUT
5116
Write 1 16-bit slave profile out.data
11
2
page 59
RD_7X_OUT
5216
Read 1 16-bit slave profile out.data
3
10
page 60
RD_7X_IN_X
5316
Read 4 16-bit slave profile in.data
3
34
page 60
WR_7X_OUT_X
5416
Write 4 16-bit slave profile out.data
35
2
page 61
RD_7X_OUT_X
5516
Read 4 16-bit slave profile out.data
3
34
page 61
OP_RD_16BIT_IN_CX
4C16
Read 16 channels 16-bit slave in.data
3
34
page 62
OP_WR_16BIT_IN_CX
4D16
Write 16 channels 16-bit slave in.data
36
2
8.3.1.2
Read 1 16-bit Slave in.Data (RD_7X_IN)
A-Slaves map the data on channels 1 and 2.
B-Slaves map the data on channels 3 and 4.
Only values among 1 and 31 can be taken as a slave address.
Subject to reasonable modifications due to technical advances.
58
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
With this command, the four 16 bit channels of an AS-i input slave according to the
slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9, S-7.A.A) can be read.
AS-i EtherNet/IP Gateway
Command Interface
Request
byte
7
2
T
–
2
6
2
5
24
1
2
23
22
21
20
21
20
5016
3
–
circuit
0
slave address
Response
byte
27
26
25
24
1
2
22
5016
T
result
3
8.3.1.3
23
channel 1, high byte
…
…
10
channel 4, low byte
Write 1 16-bit Slave out.Data (WR_7X_OUT)
With this command, the four 16 bit channels of an AS-i output slave according to
the slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9, S-7.A.A) can be written.
Request
byte
7
26
T
–
2
25
24
1
2
23
22
21
20
21
20
5116
3
–
circuit
0
4
slave address
channel 1, high byte
…
…
11
channel 4, low byte
Response
byte
27
26
25
24
1
2
8.3.1.4
23
22
5116
T
result
Read 1 16-bit Slave out.Data (RD_7X_OUT)
With this command, the four 16 bit channels of an AS-i output slave according to
the slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9, S-7.A.A) can be read out of
the AS-i/EtherNet/IP Gateway.
Request
byte
7
26
T
–
2
25
Issue date - 24.4.2007
1
2
3
24
23
22
21
20
5216
–
Subject to reasonable modifications due to technical advances.
circuit
0
slave address
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
59
AS-Interface
Command Interface
Response
byte
2
7
2
6
2
5
24
1
2
22
21
20
5216
T
result
3
8.3.1.5
23
channel 1, high byte
…
…
10
channel 4, low byte
Read 4 16-bit Slave in.Data (RD_7X_IN_X)
With this command, the four 16-bit channels of 4 AS-i input slaves with succesive
addresses according to slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9, S-7.A.A)
can be read.
Request
byte
7
26
T
–
2
25
24
1
2
23
22
21
20
5316
3
–
circuit
0
1st slave address
Response
byte
27
26
25
24
1
2
22
21
20
5316
T
result
3
8.3.1.6
23
1st slave, channel 1, high byte
…
…
34
4th slave, channel 4, low byte
Write 4 7.3 Slave out.Data (WR_7X_OUT_X)
With this command the four 16-bit channels of four AS-i output slaves with succesive addresses according to slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9,
S-7.A.A) can be written.
Request
byte
7
2
T
–
2
6
2
5
1
2
3
24
23
22
21
20
5416
–
4
circuit
0
1st slave address
1st slave, channel 1, high byte
…
35
4th slave, channel 4, low byte
Issue date - 24.4.2007
…
Subject to reasonable modifications due to technical advances.
60
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Response
byte
2
7
2
6
2
5
24
1
2
8.3.1.7
23
22
21
20
5416
T
result
Read 4 7.3 Slave out.Data (RD_7X_OUT_X)
With this command, the four 16-bit channels of four AS-i output slaves with succesive addresses according to slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9,
S-7.A.A) can be read.
Request
byte
7
26
T
–
2
25
24
1
2
23
22
21
20
5516
3
–
circuit
0
1st slave address
Response
byte
27
26
25
24
1
2
22
21
20
5516
T
result
3
8.3.1.8
23
1st slave, channel 1, high byte
…
…
34
4th slave, channel 4, low byte
Read 16 channels 16-bit Slave in.Data (OP_RD_16BIT_IN_CX)
With this command, the 16 channels of the 16-bit input-data for slaves with succesive addresses according to slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9,
S-7.A.A) can be read
Request
Byte
7
2
T
–
2
6
1
2
2
5
24
23
22
21
20
4C16
circuit
1. slave
4
1. channel
Issue date - 24.4.2007
3
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
61
AS-Interface
Command Interface
Response
Byte
2
7
2
6
2
5
24
1
2
8.3.1.9
23
22
21
20
4C16
T
result
3
1. slave, channel 1, high byte
4
1. slave, channel 1, low byte
…
…
33
16. channel, high byte
34
16. channel, low byte
Write 16 channels 16-bit slave out.Data (OP_WR_16BIT_IN_CX)
With this command, the 16 channels of the 16-bit input-data for slaves with succesive addresses according to slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9,
S-7.A.A) can be written.
Request
Byte
2
7
26
25
24
1
2
23
22
21
20
21
20
4D16
T
circuit
3
1. slave
4
1. channel
5
1. slave, 1. channel, high byte
6
1. slave, 1. channel, low byte
…
…
35
16. channel, high byte
36
16. channel, low byte
Response
Byte
27
26
1
24
23
22
4D16
T
result
Issue date - 24.4.2007
2
25
Subject to reasonable modifications due to technical advances.
62
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8.3.2
Commands acc. to Profile S-7.4/S-7.5
8.3.2.1
Overview of the commands
Values for command
Req
Len
Res
Len
see page
Command
Value
Meaning
page 63
WR_74_75_PARAM
5A16
Write S-7.4/S-7.5-slave parameter
≥6
2
page 64
RD_74_75_PARAM
5B16
Read S-7.4/S-7.5-slave parameter
4
≥3
page 65
RD_74_75_ID
5C16
Read S-7.4/S-7.5-slave ID string
4
≥3
5D16
Read S-7.4/S-7.5-slave diagnosis
string
4
≥3
page 65
8.3.2.2
RD_74_DIAG
WR_74_75_PARAM
Description:
• with this function the parameter string of a slave according to profile S-7.4 is being written
or
• the data tranfer with a slave according to profile S-7.5 is started.
If it is about a slave according to profile 7.5, data have to be registered into the buffer in the same form, as they have to be sent by AS-i.
Since the string can be longer than the command interface, it will partly be written
into the buffer and then be transferred to the slave.
n is the length of the part of the string which should be written into the buffer from
index i on.
If i ≡ 0, then the string is being transferred to the slave.
Request
byte
7
26
T
–
2
25
24
1
2
23
22
21
20
22
21
20
5A16
circuit
3
slave address
4
i
5
n
6
buffer btye i
…
…
n+5
buffer byte i+n-1
Response
byte
27
26
Issue date - 24.4.2007
1
2
25
24
23
5A16
T
Subject to reasonable modifications due to technical advances.
results
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
63
AS-Interface
Command Interface
8.3.2.3
RD_74_75_PARAM
Description:
• with this function the parameter string of a slave according to profile S-7.4 is being read
or
• the slave response according to profile S-7.5 is being read.
If it is about a slave according to profile 7.5, so have the data in the response buffer
the following meaning:
FFh 00h: Transfer is still active
FFh xxh: Transfer finished with error
The first byte in the buffer notequal FFH: slave response. The response is in the
same form registered in the buffer and transmitted over AS-i.
Since the string can be longer than the command interface, it is written into the
buffer. The content of the buffer can read in parts from index i.
The first byte of the buffer is the length of the read string.
If i ≡ 0, the string is being read from the slave, otherwise the function responses
out of the memory; the data can be read consistently.
Request
byte
27
26
25
24
1
2
23
22
21
20
22
21
20
5B16
T
–
circuit
3
slave address
4
i
Response
byte
2
7
2
6
1
2
2
5
24
23
5B16
T
3
result
buffer byte i
…
buffer byte i+n-1
Issue date - 24.4.2007
…
n+2
Subject to reasonable modifications due to technical advances.
64
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8.3.2.4
RD_74_75_ID
With this function the ID string of a slave according to profile S-7.4 or the 16-bit
slave configuration according to profile 7.5 is being read. Since the string can be
longer than the command interface, it is written into the buffer. The content of the
buffer can read in parts from index i.
The first byte of the buffer is the length of the read string.
If i ≡ 0, the string is being read from the slave, otherwise the function responses
out of the memory, the data can be read consistently.
Request
byte
7
2
T
–
2
6
2
5
24
1
2
23
22
21
20
22
21
20
5C16
circuit
3
slave address
4
i
Response
byte
27
26
25
24
1
2
23
5C16
T
result
3
buffer byte i
…
…
n+2
buffer byte i+n-1
By a 7.5 slave is the request always 1. The response byte contains the cyclic 16bit slave configuration according to S-7.5 profile (analog/transparent bits are cancelled). If the response is 08h, that means that the cyclic 16-bit configuration could
not be detected.
8.3.2.5
RD_74_DIAG
With this function the diagnosis string of a slave according to profile S-7.4 is being
read. Since the string can be longer than the command interface, it is written into
the buffer. The content of the buffer can be read in parts from indexi.
The first byte of the buffer indicates the length of the read string.
If i ≡ 0, the string is being read from the slave, otherwise the function responses
out of the memory, the data can be read consistently.
Request
byte
7
26
T
–
2
1
Issue date - 24.4.2007
2
25
24
23
22
21
20
5D16
circuit
3
slave address
4
i
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
65
AS-Interface
Command Interface
Response
byte
2
7
2
6
2
5
24
1
2
23
22
21
20
5D16
T
result
3
buffer byte i
…
…
n+2
buffer byte i+n-1
8.3.3
Acyclic commands
8.3.3.1
Overview of the commands
Values for command
Req
Len
Res
Len
see page
Command
Value
Meaning
page 66
WRITE_ACYC_TRANS
4E16
Write acyclic transfer
≥7
2
page 68
READ_ACYC_TRANS
4F16
Read acyclic transfer
5
≥2
8.3.3.2
WRITE_ACYCLIC_TRANS
This function activates different arts of acyclic transfer (S-7.4, S-7.5 and safety
monitor). The results have to be read out with READ_ACYCLIC_TRANS. Even
though this function runs in the background and doesnt hold the master during the
transmission, it ist intended to act as a substitute for (RD_74_75_PARAM,
WR_74_75_PARAM, RD_74_75_ID, RD_74_DIAG and „Safety at Work“- monitor
diagnnostic).
Since the transferred data can be longer than the command interface, it is written
into the buffer. The content of the buffer can be read in parts from index.
n is the length of the part string, that (from Index (i)) should be written in the buffer.
The transmission proceeds, if i=0.
Request
Byte
2
7
26
25
24
23
1
4Eh
2
circuit
3
slave
4
buffer Index (i) high
5
buffer Index (i) low
6
command1
7
number of(n)
8
data
...
x
data+n
21
20
Issue date - 24.4.2007
…
22
Subject to reasonable modifications due to technical advances.
66
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
1. Following commands are supported:
1: S-7.4 ID string Read (no sent data required).
2: S-7.4 Diag String Read (no sent data required).
3: S-7.4 Param String Read (no sent data required).
4: S-7.4 Param String Write (buffer contains sent string).
5: S-7.5 Transfer. Buffer contains sent string in the same form, as the telegram,
that have to be sent over AS-i.
6: S-7.5 Cyclic 16-Bit Slave Configuration Read (analog/transparent bits are
cancelled in the response). The cyclic 16-bit configuration cannot be detected,
if the response is 08h.
7: Safety Monitor sorted Read (no sent data required).
8: Safety Monitor unsorted (all devices) Read (no sent data required).
Please view <chapter 8.4.2 Monitor Diagnosis> for further information.
Response
Byte
2
7
2
6
2
5
24
23
4E16
2
response
21
20
Issue date - 24.4.2007
1
22
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
67
AS-Interface
Command Interface
8.3.3.3
READ_ACYCLIC_TRANS
With this call the response of the transfer command (started with
WRITE_ACYCLIC_TRANS) is read out.
The first byte in the response buffer indicates the current command.
FF16 means transfer still active, FE16 means transfer interrupted with errors.
The both following bytes (high,low) set the lenght of the response buffer.
It is always recommended to read the data starting with the index i = 0.
Request
Byte
2
7
26
25
24
23
1
4F16
2
circuit
3
slave
4
buffer index (i) high
5
buffer index (i) low
22
21
20
22
21
20
Response
Byte
27
26
25
24
23
1
4F16
2
response
3
data
...
...
x
data+n
Issue date - 24.4.2007
The response data have the same format, as by commands RD_74_75_PARAM,
RD_74_75_ID and „safety at work“-monitor diagnostics.
Subject to reasonable modifications due to technical advances.
68
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8.3.4
AS-i Diagnosis
8.3.4.1
Overview of the commands
Values for command
Req
Len
Res
Len
see page
Command
Value
Meaning
page 69
GET_LISTS
3016
Get LDS, LAS, LPS, Flags
2
29
page 71
GET_FLAGS
4716
Get_Flags
2
5
page 72
GET_DELTA
5716
Get list of config. diff.
2
10
page 73
GET_LCS
6016
Get LCS
2
10
page 73
GET_LAS
4516
Get_LAS
2
10
page 74
GET_LDS
4616
Get_LDS
2
10
page 75
GET_LPF
3E16
Get_LPF
2
10
page 75
GET_LOS
6116
GET_LOS
2
10
page 76
SET_LOS
6216
SET_LOS
10
2
page 77
GET_TECA
6316
Get transm.err.counters
2
34
page 78
GET_TECB
6416
Get transm.err.counters
2
34
page 78
GET_TEC_X
6616
Get transm.err.counters
4
≥3
page 79
READ_FAULT_DETECTOR
1016
Read Fault Detector
2
page 80
READ_DUPLICATE_ADDR
1116
Read List of Duplicate Addresses
8.3.4.2
4
2
10
Get Lists and Flags (Get_LPS, Get_LAS, Get_LDS, Get_Flags)
(GET_LISTS)
With this call, the following entries are read out of the AS-i/EtherNet/IP Gateway:
• The list of active AS-i slaves (LAS)
• The list of detected AS-i slaves (LDS)
• The list of projected AS-i slaves (LPS)
• The flags according to the AS-i slave specification
Request
byte
7
26
T
O
2
1
24
23
22
21
20
3016
circuit
Issue date - 24.4.2007
2
25
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
69
AS-Interface
Command Interface
Response (if O ≡ 0)
byte
2
7
2
6
25
24
1
23
22
21
20
3A
2A
1A
0A
3016
2
T
3
7A
result
6A
5A
4A
…
LAS
10
31B
30B
29B
28B
27B
26B
25B
24B
11
7A
6A
5A
4A
3A
2A
1A
0A
…
LDS
18
31B
30B
29B
28B
27B
26B
25B
24B
19
7A
6A
5A
4A
3A
2A
1A
0A
27B
26B
25B
24B
AAv
AAs
S0
Cok
AAe
OL
DX
22
21
20
4A
5A
6A
7A
…
LPS
26
31B
30B
29B
27
28B
–
28
OR
APF
29
NA
Pok
CA
–
Response (if O ≡ 1)
byte
27
26
25
24
1
3016
2
T
3
0A
result
1A
2A
3A
…
LAS
10
24B
25B
26B
27B
28B
29B
30B
31B
11
0A
1A
2A
3A
4A
5A
6A
7A
…
LDS
18
24B
25B
26B
27B
28B
29B
30B
31B
19
0A
1A
2A
3A
4A
5A
6A
7A
28B
29B
30B
31B
AAv
AAs
S0
Cok
AAe
OL
DX
…
LPS
24B
25B
26B
27
28
27B
–
OR
APF
NA
29
–
Pok
S0
AAs
AAv
CA
NA
APF
OR
Periphery_Ok
LDS.0
Auto_Address_Assign
Auto_Address_Available
Configuration_Active
Normal_Operation_Active
APF
Offline_Ready
Subject to reasonable modifications due to technical advances.
CA
Pok
Issue date - 24.4.2007
26
70
23
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Cok
AAe
OL
DX
8.3.4.3
Config_Ok
Auto_Address_Enable
Offline
Data_Exchange_Active
Get Flags (GET_FLAGS)
With this call, the following entry is read out of the AS-i/EtherNet/IP Gateway: the
flags according to the AS-i slave specification.
Request
byte
27
26
25
24
1
23
22
21
20
22
21
20
AAs
S0
Cok
AAe
OL
DX
4716
2
T
–
7
26
circuit
Response
byte
2
25
24
1
2
23
4716
T
response
3
4
Pok
OR
APF
5
NA
CA
AAv
–
Pok Periphery_Ok
This flag is set when no AS-i slave is signaling a peripheral fault.
S0
LDS.0
This flag is set when an AS-i slave with address 0 exists.
AAs Auto_Address_Assign
This flag is being set when the automatic address programming is possible
(in other words, AUTO_ADDR_ENABLE = 1; no "incorrect" slave connected
to the AS-i).
AAv Auto_Address_Available
This flag is set when the automatic address programming can be executed,
exactly one AS-i slave is currently out of operation.
CA
Configuration_Active
The flag is set in configuration mode and reset in protected mode.
NA
Normal_Operation_Active
This flag is set when the AS-i master is in normal operation.
Issue date - 24.4.2007
APF AS-i Power Fail
This flag is set when the voltage on the AS-i cable is too low.
OR Offline_Ready
The flag is set when the offline phase is active.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
71
AS-Interface
Command Interface
Cok Config_Ok
This flag is set when the desired (configured) and actual configuration
match.
AAe Auto_Address_Enable
This flag indicates whether the automatic address programming is enabled
(bit = 1) or disabled (bit = 0) by the user.
8.3.4.4
OL
Offline
This flag is set when the mode should be changed to OFFLINE or when this
mode has already been reached.
DX
Data_Exchange_Active
If the "Data_Exchange_Active" flag is set, the data exchange between AS-i
master and slaves is available in the data exchange phase. If this bit is not
set the data exchange is not available. The read ID telegrams are transmitted to the slave.
The bit is set if the AS-i master enters the offline phase.
Get Delta List (GET_DELTA)
The delta list contains the list of slave addresses with configuration errors.
Request
byte
27
26
2
T
0
byte
27
26
25
24
1
23
22
21
20
22
21
20
3A
2A
1A
–
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
5716
circuit
Response (if O ≡ 0)
25
24
1
5716
2
T
3
7A
result
6A
5A
4A
…
10
23
…
31B
30B
29B
28B
Response (if O ≡ 1)
byte
2
7
2
6
25
24
1
5716
2
T
3
0
result
1A
2A
3A
…
…
24B
25B
26B
27B
Issue date - 24.4.2007
10
23
Subject to reasonable modifications due to technical advances.
72
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8.3.4.5
Get list of corrupted Slaves (GET_LCS and GET_LCS_R6 (6CH))
The call GET_LCS_R6 (6CH) differs to the call GET_LCS in the half long LCS list.
With the bit 25 is selected if the upper (=1) or lower (=0) part of the LCS is read.
Read first with 25 in order to create a local copy of the LCS. Reading with bit 25=1
transmits the upper part of the copy.
With the call GET_LCS, the List of Corrupted Slaves (LCS) is read out of the AS-i/
EtherNet/IP Gateway.
Request
byte
27
26
25
24
1
2
23
22
21
20
22
21
20
3A
2A
1A
0A
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
6016
T
O
7
26
circuit
Response (if O ≡ 0)
byte
2
25
24
1
23
6016
2
T
3
7A
result
6A
5A
4A
…
…
10
31B
30B
29B
byte
27
26
25
28B
Response (if O ≡ 1)
24
1
6016
2
T
3
0A
result
1A
2A
3A
…
10
8.3.4.6
23
…
24B
25B
26B
27B
Get list of activated Slaves (GET_LAS)
With this call, the following entry is read out of the AS-i/EtherNet/IP Gateway: The
list of activated slaves (LAS).
Request
byte
27
26
1
24
23
22
21
20
4516
T
O
circuit
Issue date - 24.4.2007
2
25
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
73
AS-Interface
Command Interface
Response (if O ≡ 0)
byte
2
7
2
6
25
24
1
23
22
21
20
3A
2A
1A
0A
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
4516
2
T
3
7A
result
6A
5A
4A
…
…
10
31B
30B
29B
byte
27
26
25
28B
Response (if O ≡ 1)
24
1
4516
2
T
3
0A
result
1A
2A
3A
…
10
8.3.4.7
23
…
24B
25B
26B
27B
Get list of detected AS-i Slaves (GET_LDS)
With this call, the following entry is read out of the AS-i/EtherNet/IP Gateway: The
list of detected AS-i slaves (LDS).
Request
byte
7
26
2
T
O
byte
27
26
2
25
24
1
23
22
21
20
22
21
20
3A
2A
1A
0A
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
4616
circuit
Response (if O ≡ 0)
25
24
1
23
4616
2
T
3
7A
result
6A
5A
4A
…
…
10
31B
30B
29B
byte
27
26
25
28B
Response (if O ≡ 1)
24
1
2
T
3
0A
result
1A
2A
3A
…
24B
25B
Subject to reasonable modifications due to technical advances.
74
26B
27B
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
…
10
23
4616
AS-i EtherNet/IP Gateway
Command Interface
8.3.4.8
Get list of peripheral faults (GET_LPF)
With this call, the list of peripheral faults (LPF) signaled by the AS-i slaves is read
out from the AS-i master. The LPF is updated cyclically by the AS-i master. If and
when an AS-i slave signals faults of the attached peripherals (for example broken
wire) can be found in the description of the AS-i slave.
Request
byte
2
7
2
6
2
5
24
1
23
22
21
20
22
21
20
3A
2A
1A
0A
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
3E16
2
T
O
byte
27
26
circuit
Response (if O ≡ 0)
25
24
1
3E16
2
T
3
7A
result
6A
5A
4A
…
10
23
…
31B
30B
29B
28B
Response (if O ≡ 1)
byte
2
7
2
6
25
24
1
3E16
2
T
3
0A
result
1A
2A
3A
…
10
8.3.4.9
23
…
24B
25B
26B
27B
Get list of offline Slaves (GET_LOS)
With this call, the list of slaves causing the offline phase when a configuration error
occurs in being read out (List of Offline Slaves, LOS).
Issue date - 24.4.2007
The user can choose the reaction of the master when a configuration error occurs.
The master can be switched off line when an important slave causes a configuration error; less important slaves can send an error to the host, AS-i however will
not be switched offline.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
75
AS-Interface
Command Interface
Request
byte
2
7
2
6
2
5
24
1
23
22
21
20
22
21
20
3A
2A
1A
0A
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
6116
2
T
O
byte
27
26
circuit
Response (if O ≡ 0)
25
24
1
23
6116
2
T
3
7A
result
6A
5A
4A
…
…
10
31B
30B
29B
byte
27
26
25
28B
Response (if O ≡ 1)
24
1
2
T
3
0A
result
1A
2A
3A
…
10
23
6116
…
24B
25B
26B
27B
8.3.4.10 Set list of offline Slaves (SET_LOS and SET_LOS_R6 (6Dh))
The call SET_LOS_R6 (6D16) differs to the call GET_LOS in the half long LOS list.
With the bit 25 is selected if the upper (=1) or lower (=0) part of the LOS is written.
With this call, the list of slaves causing the offline phase when a configuration error
occurs in being defined (List of Offline Slaves, LOS).
The user can choose the reaction of the master when a configuration error occurs.
The master can be switched offline when an important slave causes a configuration error; less important slaves can send an error to the host, AS-i however will
not be switched offline.
Request (if O ≡ 0)
byte
7
26
2
T
O
3
7A
6A
2
25
24
1
22
21
20
3A
2A
1A
0A
27B
26B
25B
24B
6216
circuit
5A
4A
…
…
31B
30B
29B
28B
Issue date - 24.4.2007
10
23
Subject to reasonable modifications due to technical advances.
76
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Request (if O ≡ 1)
byte
7
2
2
T
1
3
0A
1A
2
6
2
5
24
1
23
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
23
22
21
20
6216
circuit
2A
3A
…
…
10
24B
25B
26B
byte
27
26
25
27B
Response
24
1
2
8.3.4.11
6216
T
result
Get transm.err.counters (GET_TECA)
In order to get the real number of transcription errors, multiply the value with 2
With this call the error counters of all single slaves/A-slaves can be read (see
chapter 9).
With every reading out of the counts, the error counters will be restarted.
The counts are being read out via the corresponding host interface and will be deleted with every read access. The counter´s value is limited to 254. 255 will cause
a counter overflow.
The counts could be independent of the counters, which are displayed in the display of the gateway.
Request
byte
27
26
25
24
1
2
23
22
21
20
22
21
20
6316
T
–
7
26
circuit
Response
byte
2
1
Issue date - 24.4.2007
2
25
24
23
6316
T
result
3
APF
4
slave 1A
…
…
34
slave 31A
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
77
AS-Interface
Command Interface
8.3.4.12 Get transm.err.counters (GET_TECB)
In order to get the real number of transcription errors, multiply the value with 2
With this call, the counts of the error counters for B-slaves are being read out (see
chapter 9).
With every reading out of the counts, the error counters will be restarted.
The counts are being read out via the corresponding host interface and will be deleted with every read access. The counter´s value is limited to 254. 255 will cause
a counter overflow.
The counts could be independent of the counters, which are displayed in the display of the gateway.
Request
byte
7
26
T
–
7
26
2
25
24
1
2
23
22
21
20
22
21
20
6416
circuit
Response
byte
2
25
24
1
2
23
6416
T
result
3
APF
4
slave 1B
…
…
34
slave 31B
8.3.4.13 Get transm.err.counters (GET_TEC_X)
Beginning with a definite slave address, the counts of the n error counters are being read out with this call.
With every reading out the counts, the error counters will be restarted.
Issue date - 24.4.2007
The counts are being read out via the correspondending host interface and will be
deleted with every read access. The counter´s value is limited to 254. 255 will
cause a counter overflow.
Subject to reasonable modifications due to technical advances.
78
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
The counts could be independent of the counters, which are displayed in the display of the gateway.
Request
byte
7
2
T
–
2
6
2
5
24
1
23
22
21
20
22
21
20
6616
2
circuit
3
1. slave address
4
number of counters
Response
byte
27
26
25
24
1
6616
2
T
result
3
8.3.4.14
23
counter 1
…
…
n
counter n - 2
Read fault detector (READ_FAULT_DETECTOR)
With this call all informations of the AS-i detector are read out. In the first byte are
stored the values transferred in the moment, in the second all values since the last
deleting. By it it is possible to recognize immediate, no more existing before messages also. The second byte is deleted by reading.
Request
byte
27
26
25
24
1
23
22
21
20
22
21
20
1016
2
T
–
7
26
circuit
Response
byte
2
25
24
Issue date - 24.4.2007
1
23
1016
2
T
3
DA
ST
US
ES
result
24 V
reserved
4
DA
ST
US
ES
24 V
reserved
DA
duplicate address
ST
noise
US
over voltage
ES
earth fault
24 V failure of the redundant 24V
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
79
AS-Interface
Command Interface
8.3.4.15 Read list of duplicate addresses (READ_DUPLICATE_ADDR)
With this call the list of slaves with duplicate addresses (the assignement of one
address to two slaves) is read out.
Request
byte
2
7
2
6
2
5
24
1
23
22
21
20
22
21
20
3A
2A
1A
0A
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
1116
2
T
O
byte
27
26
circuit
Response (if O ≡ 0)
25
24
1
1116
2
T
3
7A
result
6A
5A
4A
…
10
23
…
31B
30B
29B
28B
Response (if O ≡ 1)
byte
2
7
26
25
24
1
1116
2
T
3
0A
result
1A
2A
3A
…
10
23
…
24B
25B
26B
27B
Issue date - 24.4.2007
Further diagnosis functions for "Safety at Work" and for availability (resp. for
warnings) of integrated sensors are detailed explained in the chapter "Functional profiles" (chapter 8.4).
Subject to reasonable modifications due to technical advances.
80
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8.3.5
Configuration of AS-i Master
8.3.5.1
Overview of the commands
Values for command
see page
Command
Value
Meaning
Req
Len
Res
Len
page 81
SET_OP_MODE
0C16
Set_Operation_Mode
3
2
page 82
STORE_CDI
0716
Store_Actual_Configuration
2
2
page 82
READ_CDI
2816
Read_Actual_Configuration
3
4
page 83
SET_PCD
2516
Set_Permanent_Config
5
2
page 83
GET_PCD
2616
Get_Permanent_Config
3
4
page 84
SET_LPS
2916
SET_LPS
11
2
page 85
GET_LPS
4416
Get_LPS
2
10
page 86
STORE_PI
0416
Store_Actual_Parameter
2
2
page 86
WRITE_P
0216
Write_Parameter
4
3
page 87
READ_PI
0316
Read_Parameter
3
3
page 87
SET_PP
4316
Set_Permanent_Parameter
4
2
page 88
GET_PP
0116
Get_Permanent_Parameter
3
3
page 88
SET_AAE
0B16
Set_Auto_Address_Enable
3
2
page 91
SLAVE_ADDR
0D16
Change_Slave_Address
4
2
page 90
WRITE_XID1
3F16
Write_Extended_ID-Code_1
3
2
8.3.5.2
Set operation mode (SET_OP_MODE: Set_Operation_Mode)
This call switches between configuration mode and protected mode. In protected
mode, only AS-i slaves entered in the LPS and whose expected and actual configurations match, are being activated.
In other words: The slaves are being activated if the I/O configuration and the ID
codes of the detected AS-i slaves are identical to the configured values.
In configuration mode, all detected AS-i slaves (except for AS-i slave "0") are activated. This also applies to AS-i slaves for which there are differences between
the expected and actual configuration.
The “OPERATION MODE” bit is stored permanently; in other words, it is retained
after a cold/warm restart.
When you change from configuration mode to protected mode, the AS-i master will
do a warm restart (change to the offline phase followed by a change to the online
mode).
Issue date - 24.4.2007
If an AS-i slave with address "0" is entered in the LDS, the AS-i/EtherNet/IP
gateway cannot change from configuration mode to protected mode.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
81
AS-Interface
Command Interface
Request
byte
7
2
T
–
2
6
2
5
24
1
2
23
22
21
20
22
21
20
0C16
circuit
3
operation mode
Response
byte
27
26
25
24
1
2
23
0C16
T
result
Meaning of bit operation mode:
0 = protected mode
1 = configuration mode
8.3.5.3
Store actual configuration (STORE_CDI)
With this call, the (actual) configuration data (I/O configuration, ID code, extended
ID1 code and extended ID2 code) of all AS-i slaves are stored permanently in the
EEPROM as the (expected) configuration data. The list of activated AS-i slaves
(LAS) is adopted in the list of permanent AS-i slaves (LPS).
When this command is executed, the AS-i master changes to the offline phase and
then changes back to the normal mode (warm restart on the AS-i master).
This command can only be executed in the configuration mode.
Response
byte
27
26
25
24
1
2
8.3.5.4
23
22
21
20
0716
T
result
Read actual configuration (READ_CDI)
With this call, the following configuration data of an addressed AS-i slave obtained
by the AS-i master on the AS-Interface are read.
• I/O configuration
• ID code
• Extended ID1 code
• Extended ID2 code
The configuration data are specified by the manufacturer of the AS-i slave.
Request
7
26
T
–
2
25
1
2
3
23
22
21
20
2816
–
Subject to reasonable modifications due to technical advances.
82
24
circuit
B
slave address
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
byte
AS-i EtherNet/IP Gateway
Command Interface
Response
byte
2
7
2
6
2
5
24
1
2
23
22
21
20
2816
T
result
3
xID2
xID1
4
ID
I0
Meaning of bit B:
B = 0Single AS-i slave or A-slave
B = 1B-slave
8.3.5.5
Set permanent configuration (SET_PCD)
This call sets the following configuration data for the addressed AS-i slave:
• I/O configuration
• ID code
• Extended ID1 code
• Extended ID2 code
The configuration data are stored permanently on the EEPROM of the AS-i/EtherNet/IP gateway and are used as the expected configuration by the AS-i master in
the protected mode. The configuration data are specified by the manufacturer of
the AS-i slave.
If the addressed AS-i slave does not support an extended ID code 1/2, the value
Fhex must be specified.
When this command is executed, the AS-i master changes to the offline phase and
then changes back to the normal mode (warm restart).
This command can only be executed in the configuration mode.
Request
byte
27
26
T
–
25
24
1
2
23
22
21
20
21
20
2516
3
circuit
–
B
slave address
4
xID2
xID1
5
ID
I0
Response
byte
27
26
25
24
1
Issue date - 24.4.2007
2
23
22
2516
T
result
Meaning of bit B:
B = 0Single AS-i slave or A-slave
B = 1B-slave
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
83
AS-Interface
Command Interface
8.3.5.6
Get extended permanent configuration (GET_PCD)
This call reads the following configuration data (configured data) of an addressed
AS-i slave stored on the EEPROM of the AS-i master:
• I/O configuration
• ID code
• Extended ID1 code
• Extended ID2 code
The configuration data are specified by the manufacturer of the AS-i slave.
Request
byte
27
26
25
24
1
2
23
22
21
20
21
20
2616
T
3
–
circuit
–
B
slave address
Response
byte
2
7
2
6
2
5
24
1
2
23
22
2616
T
result
3
xID2
xID1
4
ID
I0
Meaning of bit B:
B = 0 Single AS-i slave or A-slave
B = 1 B-slave
8.3.5.7
Set list of projected slaves (SET_LPS and SET_LPS_R6 (6Bh))
The command SET_LPS_R6 (6Bh) differs from the command SET-LPs in:
• no empty byte (3)
• half so long LPS list
With the bit 25 is selected if the upper (=1) or lower (=0) part of the LCS is read.
With this call, the list of configured AS-i slaves is transferred for permanent storage
in the EEPROM of the master.
When this command is executed, the AS-i master changes to the offline phase and
then changes back to the normal mode (warm restart).
This command can only be executed in the configuration mode.
Request (if O ≡ 0)
27
26
1
2
24
23
22
21
20
2916
T
0
3
Subject to reasonable modifications due to technical advances.
84
25
Issue date - 24.4.2007
byte
circuit
0016
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Request (if O ≡ 0)
byte
2
4
7A
7
2
6
6A
5
24
5A
4A
2
…
11
23
22
21
20
3A
2A
1A
–
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28B
29B
30B
31B
23
22
21
20
…
31B
30B
29B
7
26
25
T
1
28B
Request (if O ≡ 1)
byte
2
24
1
2
2916
circuit
3
4
23
0016
–
1A
2A
3A
…
…
11
24B
25B
26B
byte
27
26
25
27B
Response
24
1
2
8.3.5.8
2916
T
result
Get list of projected slaves (GET_LPS)
With this call, the following entry is read out of the AS-i/EtherNet/IP Gateway: The
list of projected AS-i slaves (LPS).
Request
byte
27
26
2
T
O
byte
27
26
25
24
1
23
22
21
20
22
21
20
3A
2A
1A
0A
27B
26B
25B
24B
22
21
20
5A
6A
7A
4416
circuit
Response (if O ≡ 0)
25
24
1
2
T
3
7A
result
6A
5A
4A
…
10
23
4416
…
31B
30B
29B
28B
Response (if O ≡ 1)
Issue date - 24.4.2007
byte
2
7
26
25
24
1
23
4416
2
T
3
0A
result
1A
Subject to reasonable modifications due to technical advances.
2A
3A
4A
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
85
AS-Interface
Command Interface
Response (if O ≡ 1)
byte
2
7
2
6
25
24
26B
27B
…
10
8.3.5.9
23
22
21
20
28B
29B
30B
31B
…
24B
25B
Store actual parameters (STORE_PI)
With this call, the configured parameters stored on the EEPROM are overwritten
with the current, permanently stored (actual) parameters; in other words, the current parameters of all AS-i slaves are stored.
Request
byte
27
26
25
24
1
2
23
22
21
20
22
21
20
0416
T
–
7
6
circuit
Response
byte
2
2
2
5
24
1
2
23
0416
T
result
8.3.5.10 Write parameter (WRITE_P)
The AS-i slave parameter value transferred with the command is passed on to the
addressed AS-i slave.
The parameter is stored in the AS-i/EtherNet/IP Gateway only temporarily and is
not stored as a configured parameter in the EEPROM!
The AS-i slave transfers its current parameter value in the response (parameter
echo). This can deviate from the value that has just been written according to the
AS-i master specification.
Request
byte
7
26
T
–
2
25
24
1
2
23
22
21
20
0216
3
circuit
–
B
4
slave address
–
parameter
Response
27
26
25
1
2
3
23
22
21
20
0216
T
result
–
Subject to reasonable modifications due to technical advances.
86
24
slave response
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
byte
AS-i EtherNet/IP Gateway
Command Interface
Meaning of bit B:
B = 0 Single AS-i slave or A-slave
B = 1 B-slave
8.3.5.11
Read parameter (READ_PI: Read_Parameter)
This call returns the current parameter value (actual parameter) of an AS-i slave
sent by the AS-i/EtherNet/IP Gateway. This value must not be confused with the
parameter echo that is supplied by the AS-i slave as a response to the write_p job.
This command can not be used for a directly reading of an AS-i parameter out of
an AS-i slave.
Request
byte
7
2
T
–
2
6
2
5
24
1
2
23
22
21
20
21
20
0316
3
circuit
–
B
slave address
Response
byte
27
26
25
24
1
2
23
22
0316
T
result
3
–
PI
Meaning of bit B:
B = 0 Single AS-i slave or A-slave
B = 1 B-slave
8.3.5.12
Set permanent parameter (SET_PP)
With this call, a parameter value for the specified AS-i slave is configured. The value is stored permanently in the EEPROM of the gateway.
The configured parameter value is transferred only when the AS-i slave is activated after turning on the power supply on the AS-i/EtherNet/IP Gateway.
Request
byte
7
2
T
–
2
6
2
5
24
1
2
23
22
21
20
21
20
4316
3
circuit
–
B
4
slave address
–
PP
Response
Issue date - 24.4.2007
byte
27
26
1
2
25
24
23
22
4316
T
Subject to reasonable modifications due to technical advances.
result
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
87
AS-Interface
Command Interface
8.3.5.13 Get permanent parameter (GET_PP)
With this call, a slave-specific parameter value stored on the EEPROM of the AS-i/
EtherNet/IP Gateway is read.
Request
byte
7
2
T
–
2
6
2
5
24
1
2
23
22
21
20
21
20
0116
3
circuit
–
B
slave address
Response
byte
27
26
25
24
1
2
23
22
0116
T
result
3
–
PP
Meaning of bit B:
B = 0 Single AS-i slave or A-slave
B = 1 B-slave
8.3.5.14 Set auto address enable (SET_AAE)
This call can enable or disable the "automatic address programming" function.
The AUTO_ADDR_ENABLE bit is stored permanently; in other words, it is retained after a warm/hot restart on the AS-i master.
Request
byte
27
26
25
24
1
2
23
22
21
20
22
21
20
0B16
T
–
circuit
3
Auto_Address_Enable
Response
byte
2
7
26
1
24
23
0B16
T
result
Issue date - 24.4.2007
2
25
Subject to reasonable modifications due to technical advances.
88
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8.3.5.15
Change slave address (SLAVE_ADDR)
With this call, the AS-i address of an AS-i slave can be modified.
This call is mainly used to add a new AS-i slave with the default address "0" to the
AS-Interface. In this case, the address is changed from "AS-i slave address
old" = 0 to "AS-i slave address new”.
This change can only be made when the following conditions are fulfilled:
1. An AS-i slave with “AS-i slave address old” exists.
2. If the old AS-i slave address is not equal to 0, an AS-i slave with address "0"
cannot be connected at the same time.
3. The "AS-i slave address new" must have a valid value.
4. An AS-i slave with "AS-i slave address new" must not exist.
When the AS-i slave address is changed, the AS-i slave is not reset, in other
words, the output data of the AS-i slave are retained until new data are
received at the new address.
Request
byte
27
26
T
–
25
24
1
2
23
22
21
20
21
20
0D16
circuit
3
–
B
source address
4
–
B
target address
Response
byte
27
26
25
24
1
2
23
22
0D16
T
result
Issue date - 24.4.2007
Meaning of bit B:
B = 0 Single AS-i slave or A-slave
B = 1 B-slave
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
89
AS-Interface
Command Interface
8.3.5.16 Write AS-i slave extended ID1 (WRITE_XID1)
With this call, the extended ID1 code of an AS-i slave with address "0" can be written directly via the AS-i cable. The call is intended for diagnostic purposes and is
not required in the normal master mode.
The AS-i master passes the extended ID1 code on to the AS-i slave without any
plausibility check.
Request
byte
27
26
25
24
1
23
22
21
20
21
20
3F16
2
T
–
3
circuit
–
xID1
Response
Byte
2
7
26
25
1
24
23
22
3F16
2
T
result
8.3.6
Other commands
8.3.6.1
Overview of the commands
Values for command
see page
Command
Value
Req
Len
Meaning
Res
Len
Other commands
page 91
IDLE
0016
No request
2
2
page 91
READ_IDI
4116
Read IDI
2
36
page 92
WRITE_ODI
4216
Write ODI
34
2
page 92
READ_ODI
5616
Read ODI
2
34
page 93
SET_OFFLINE
0A16
Set_Off-Line_Mode
3
2
page 94
SET_DATA_EX
4816
Set_Data_Exchange_Active
3
2
page 94
BUTTONS
7516
Disable Pushbuttons
3
2
page 94
FP_PARAM
7D16
„Functional Profile“ Param.
≥3
≥2
page 95
FP_DATA
7E16
„Functional Profile“ Data
≥3
≥2
page 96
INVERTER
7C16
Configure Inverter Slaves
12
4
page 96
MB_OP_CTRL_WR_FLAGS 0x85
Write Flags
≥5
2
page 97
MB_OP_CTRL_RD_FLAGS
0x86
Read Flags
4
≥3
page 97
RD_MFK_PARAM
0x59
Read SEW MFK21 Parameter
6
≥3
Issue date - 24.4.2007
page 90
Subject to reasonable modifications due to technical advances.
90
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8.3.6.2
IDLE
When the value of "command" is zero, no request will be fulfilled.
Request
byte
27
26
25
24
1
23
22
21
20
22
21
20
0016
2
T
–
7
6
circuit
Response
byte
2
2
2
5
24
1
0016
2
8.3.6.3
23
T
result
Read input data image (READ_IDI)
With this call, the input data values of all AS-i slaves are read out of the AS-i/EtherNet/IP Gateway in addition to the cyclic data exchange. Though the command
READ_IDI transmits all execution control flags (byte 3 and byte 4).
Request
byte
27
26
25
24
1
23
22
21
20
22
21
20
AAs
s0
Cok
4116
2
T
–
7
26
circuit
Response
byte
2
25
24
1
2
4116
T
result
3
4
–
OR
APF
NA
Pok
CA
AAv
5
–
slave 1A
6
slave 2A
slave 3A
…
36
Issue date - 24.4.2007
23
Pok
S0
AAs
AAv
CA
NA
APF
OR
Cok
…
slave 30B
slave 31B
Periphery_Ok
LDS.0
Auto_Address_Assign
Auto_Address_Available
Configuration_Active
Normal_Operation_Active
APF
Offline_Ready
Config_Ok
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
91
AS-Interface
Command Interface
8.3.6.4
Write output data image (WRITE_ODI)
With this call the output data values of all AS-i slaves are written in addition to the
cyclic data exchange.
Request
byte
7
2
T
–
2
6
2
5
24
1
2
23
22
21
20
4216
circuit
3
–
4
slave 2A
slave 1A
slave 3A
…
…
34
slave 30B
slave 31B
Response
byte
27
26
25
24
1
2
8.3.6.5
23
22
21
20
4216
T
result
Read output data image (READ_ODI)
With this call, the output data values of all AS-i slaves is being read out of the AS-i/
EtherNet/IP Gateway.
Request
byte
27
26
25
24
1
2
23
22
21
20
22
21
20
5616
T
–
7
26
circuit
Response
byte
2
25
1
2
3
23
5616
T
result
–
slave 1A
slave 2A
slave 3A
…
…
slave 30B
slave 31B
Issue date - 24.4.2007
34
24
Subject to reasonable modifications due to technical advances.
92
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
8.3.6.6
Set offline mode (SET_OFFLINE)
This call switches between online and offline mode.
The online mode is the normal operating state for the AS-i master. The following
jobs are processed cyclically:
• During the data exchange phase, the fields of the output data are transferred to
the slave outputs for all AS-i slaves in the LAS. The addressed AS-i slaves submit the values of the slave inputs to the master when the transfer was free of
errors.
• This is followed by the inclusion phase in which existing AS-i slaves are
searched and newly added AS-i slaves are entered in the LDS or LAS.
• In the management phase, jobs by the user such as writing parameters are executed.
In the offline mode, the AS-i/EtherNet/IP Gateway processes jobs by the user only.
(Jobs that involve the immediate addressing of an AS-i slave are rejected with an
error). There is no cyclic data exchange with the AS-i slaves.
When offline, the AS-i circuit is in a safe state.
The OFFLINE = TRUE bit is not permanently stored; in other words, following a
cold/warm restart, the AS-i/EtherNet/IP Gateway is once again in the online mode.
Request
byte
7
2
T
–
2
6
2
5
24
1
2
23
22
21
20
22
21
20
0A16
circuit
3
Off-Line
Response
byte
27
26
1
2
25
24
23
0A16
T
result
The master changes to the offline phase, if there is a 1 written in byte 3.
Issue date - 24.4.2007
The master will change to online mode if there is a 0 written in byte 3.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
93
AS-Interface
Command Interface
8.3.6.7
Release data exchange (SET_DATA_EX)
Request
byte
27
26
T
–
25
24
1
23
22
21
20
22
21
20
22
21
20
22
21
20
4816
2
circuit
3
Data_Exchange_Active
Response
byte
2
7
26
25
24
1
4816
2
8.3.6.8
23
T
result
BUTTONS
With this call, the use of the buttons can be enabled/disabled.
Request
byte
27
26
25
24
1
2
23
7516
T
–
circuit
3
Buttons disabled
Response
byte
2
7
26
25
24
1
2
8.3.6.9
23
7516
T
result
FP_PARAM
This command is used for parametrization of "functional profiles".
The content of the request and response bytes depends on the called function
(see chapter 8.4).
Request
27
26
1
2
24
23
22
21
20
7D16
T
–
circuit
3
function
4
request byte 1
…
…
n
request byte n-3
Subject to reasonable modifications due to technical advances.
94
25
Issue date - 24.4.2007
byte
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Response
byte
2
7
2
6
2
5
24
1
2
22
21
20
7D16
T
result
3
8.3.6.10
23
response byte 1
…
…
n
response byte n-2
FP_DATA
This command is used for the data exchange with "functional profiles".
The content of the request and response bytes depends on the called function
(see chapter 8.4).
Request
byte
7
26
T
–
2
25
24
1
2
23
22
21
20
22
21
20
7E16
circuit
3
function
4
request byte 1
…
…
n
request byte n-3
Response
byte
2
7
26
1
2
25
24
23
7E16
T
3
result
reponse byte 1
…
n
response byte n-2
Issue date - 24.4.2007
…
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
95
AS-Interface
Command Interface
8.3.6.11
Inverter
With this call, an AS-i slave for frequency inverters is switched from cyclical mode
to the transmission mode of four 16-bit values, in order to operate again with the
selected AS-i destination parameter.
Request
byte
27
26
25
24
1
23
22
21
20
22
21
20
7C16
2
T
–
circuit
3
slave address
4
destination parameter
5
value 1, high byte
6
value 1, low byte
7
value 2, high byte
8
value 2, low byte
9
value 3, high byte
10
value 3, low byte
11
value 4, high byte
12
value 4, low byte
Response
byte
2
7
26
25
24
1
23
7C16
2
T
result
8.3.6.12 Write Flag
Use this command to write the flag of a control program.
The control program of devices with control functions takes on data from the interface.
Request
27
26
T
–
25
24
1
2
23
22
21
20
22
21
20
0x85
circuit
3
introductory address
4
number n
5
number 1
...
...
n
number n
Response
Byte
27
26
1
Subject to reasonable modifications due to technical advances.
96
25
24
23
0x85
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
Byte
AS-i EtherNet/IP Gateway
Command Interface
Response
8.3.6.13
Byte
2
2
T
7
2
6
2
5
24
23
22
21
20
result
Read Flag
Use this command to read out the flags of a control program.
The control program of devices with control functions takes on data from the interface.
Request
Byte
27
26
T
–
25
24
1
2
23
22
21
20
22
21
20
0x86
circuit
3
introductory address
4
number n
Response
Byte
27
26
25
24
1
2
23
0x86
T
result
3
data 1
...
n
8.3.6.14
data n
READ_MFK_PARAM
Use this command to read multiple commands of a SEW MFK21 slave.
Request
Byte
27
26
25
24
1
2
23
22
21
20
22
21
20
0x59
T
–
circuit
3
slave
4
index high
5
index low
6
number (n)
Response
Byte
2
7
2
1
Issue date - 24.4.2007
2
6
2
5
24
23
0x59
T
3
result
prm byte (index)
4
prm byte (index+1)
n+2
prm byte (index+n-1)
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
97
AS-Interface
Command Interface
8.4
Functional profiles
8.4.1
"Safety at Work" List 1
This function has been implemented only for reasons of the downwards compatibility.
By AS-i 3.0 Masters, the state of the "safety input slaves" is specified on the
image of the input data (0000 released).
Function: 0016
List of "safety-directed input slaves" ("AS-i Safety at Work"), whose safety function
is released.
Safety-directed input slaves have the profile S-7.B or S-0.B (IO = 0 or 7, ID = B,
see chapter 8.3.5.4: Read Actual Configuration).
The "Safety at Work" list 1 is a bit list which contains a bit for each possible slave
address (1 - 31). This list is written in the bytes 5 until 8 in the response of the command of the command interface. Additionally, the reponse contains the ec-flags
of the AS-i master in the bytes 3 and 4 (see chapter 8.3.4.3: "Get Flags").
The bits of the "Safety at Work" list 1 are set if the safety function of the slave is
activated (e.g. emergency button pressed). The bit is only set at security slaves
when both contacts are released, otherwise the bits have the value 0. "Normal"
(non-security) slaves also have the value 0.
Since the safety monitor is also being activated when a safety slave is missing or
if the AS-i circuit is shut off (offline active), the ec-flags will also be transmitted. It
is sufficient however to monitor the group error message Cok (configuration error).
As long as no configuration error, the list of the "safety-directed input slaves" can
be used.
Configured safety slaves which are not available, and available slaves sending a
wrong coder order, will not be entered in this list.
With the bit "O", the sequence of the bits within the "Safety at Work" list 1 can be
chosen.
Cok
S0
AAs
AAv
CA
NA
APF
OR
Pok
Config_Ok
LDS.0
Auto_Address_Assign
Auto_Address_Available
Configuration_Active
Normal_Operation_Active
APF
Offline_Ready
Periphery_Ok
Example for O ≡ 0:
Subject to reasonable modifications due to technical advances.
98
Issue date - 24.4.2007
Configuration OK,
periphery OK (no peripheral fault,
2 safety slaves with released safety function,
AS-Inferface addresses 4 and 10
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
1 safety slave with unreleased safety function,
AS-Inferface address 5.
Reponse: 7E 00 01 25 10 04 00 00
Function: 0D16
There is a funktion 0D16 in addittion to the function 0016 . The funktion 0D16 has
no EcFlags in the response. The response falls short for 2 bytes.
Request
Byte
27
26
25
24
1
2
23
22
21
20
22
21
20
7E16
T
O
circuit
3
0Dh
Response (by O ≡ 0)
Byte
2
7
2
6
25
24
1
23
7E16
2
T
3
7
6
5
4
response
3
2
1
–
4
15
14
13
12
11
10
9
8
5
23
22
21
20
19
18
17
16
6
31
30
29
28
27
26
25
24
Byte
27
26
25
22
21
20
Response (by O ≡ 1)
24
1
8.4.2
23
7E16
2
T
3
–
1
2
3
response
4
5
6
7
4
8
9
10
11
12
13
14
15
5
16
17
18
19
20
21
22
23
6
24
25
26
27
28
29
30
31
"Safety at Work" Monitor diagnosis
Function: 0216
Since the "Safety at Work" monitor can generate more than 32 Byte diagnosis data, these must be read with several command interface calls. The byte 5 declares
the start index in the field of the diagnosis data.
Issue date - 24.4.2007
If the start index is 0, new data is fetched from the monitor. Otherwise, the function
will respond out of the memory; the data can be read consistently.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
99
AS-Interface
Command Interface
8.4.2.1
Setting of the AS-i diagnosis
The function unsorted diagnosis is available only with monitors in the version 2.0 and higher.
The function sorted diagnosis is available with all monitors.
The setting of the AS-i diagnosis takes place in the window "Information about
monitor and bus" of the configuration software asimon for the AS-i safety monitor.
• Call up the menu Edit/Information about monitor and bus
Issue date - 24.4.2007
Fig. 1. Calling of Information about monitor and bus
Subject to reasonable modifications due to technical advances.
100
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
• Set the function range in the window Information about monitor and bus
Fig. 2.
Setting of function range
• Select in the window Information about monitor and bus the tab Diagnosis/Service
Issue date - 24.4.2007
• Select within the range Data selection sorted (sorted by OSSD) or unsorted (all
devices)
Fig. 3.
Data selection (sorted/unsorted)
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
101
AS-Interface
Command Interface
8.4.2.2
Enhanced diagnosis
Since the "Safety at Work“ monitor diagnosis is longer than the maximum size of
the command interface, it must be read with several adjacent requests.
The byte 5 (‘index’) declares the start index in the array of diagnostic data. If this
start index is 0, the whole diagnosis is fetched from the monitor and stored to an
internal buffer. Otherwise, the AS-i Master will respond out of the internal buffer.
Thus, even though several requests are necessary to read the whole buffer, data
integrity is maintained.
Request
byte
27
26
25
T
1
2
24
1
2
23
22
21
20
21
20
7E16
L
U
circuit
3
0216
4
slave address
5
index
1. L=1 long diagnosis for advanced monitor
2. U=1 unsorted diagnosis (all devices)
Response
byte
27
26
1
2
25
24
23
22
7E16
T
result
3
diagnosis byte #index+0
4
diagnosis byte #index+1
…
n
diagnosis byte #index+n-3
Issue date - 24.4.2007
…
Subject to reasonable modifications due to technical advances.
102
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
The diagnosis array is set up as follows:
Safety Monitor Diagnosis Array
"basic function range" and "sorted by OSSD"
byte
27
26
25
24
23
0
0016
1
state of monitor
2
state of OSSD1
22
3
state of OSSD2
4
number of devices not green, OSSD1
5
number of devices not green, OSSD2
6
device index 32, OSSD1
7
color of device 32, OSSD1
8
device index 33, OSSD1
9
color of device 33, OSSD1
…
…
68
device index 63, OSSD1
69
color of device 63, OSSD1
70
device index 32, OSSD2
71
color of device 32, OSSD2
…
…
132
device index 63, OSSD2
133
color of device 63, OSSD2
21
20
Safety Monitor Diagnosis Array
"enhanced function range" and "sorted by OSSD"
Issue date - 24.4.2007
byte
27
26
25
24
23
0
0016
1
state of monitor
2
state of OSSD1
22
3
state of OSSD2
4
number of devices not green, OSSD1
5
number of devices not green, OSSD2
6
device index 32, OSSD1
7
color of device 32, OSSD1
8
device index 33, OSSD1
…
…
133
color of device 95, OSSD1
134
device index 32, OSSD2
…
…
261
color of device 95, OSSD2
Subject to reasonable modifications due to technical advances.
21
20
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
103
AS-Interface
Command Interface
Safety Monitor Diagnosis Array
"basic function range" and "all devices"
byte
27
26
25
24
0
23
22
21
20
21
20
0016
1
state of monitor
2
state of OSSD1
3
state of OSSD2
4
number of devices not green
5
—
6
device index 32
7
color of device 32
8
device index 33
9
color of device 33
…
…
68
device index 63
69
color of device 63
70
device index 32
71
assignment of device 32 to OSSD
…
…
132
device index 63
133
assignment of device 63 to OSSD
byte
27
26
25
23
0
0016
1
state of monitor
2
state of OSSD1
22
3
state of OSSD2
4
number of devices not green
5
—
6
device index 32
7
color of device 32
8
device index 33
…
…
133
color of device 95
134
device index 32
135
assignment of device 32 to OSSD2
…
…
261
assignment of device 95 to OSSD
Subject to reasonable modifications due to technical advances.
104
24
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
Safety Monitor Diagnosis Array
"enhanced function range" and "all devices"
AS-i EtherNet/IP Gateway
Command Interface
Possible assignment:
0016: preprocessing
0116: OSSD 1
0216: OSSD 2
0316: OSSD 1+2
8016: device does not exist
See the ” Safety at Work“ monitor documenation for a description of the codes
used for monitor state, OSSD state, device colors and assigments to OSSDs.
8.4.3
Integrated AS-i Sensors: Warnings
Function: 0316
List of integrated AS-i sensors according to profile S-1.1 (without extended addressing) or profile S-3.A.1(with extended addressing), by which the input data bit
D1 ("Warning") being deleted.
For creating of this list CDI and IDI are used only. Integrated AS-i slaves which are
projected but not existing therefore are not entered here.
Request
byte
27
6
2
T
O
2
5
24
1
2
23
22
21
20
22
21
20
3A
2A
1A
0
27B
26B
25B
24B
22
21
20
4A
5A
6A
7A
28A
29A
30A
31A
7E16
circuit
3
0316
Response (if O ≡ 0)
byte
27
26
25
24
1
2
T
3
7A
result
6A
5A
4A
…
10
23
7E16
…
31B
30B
29B
28B
Response if O ≡ 1)
byte
2
7
2
6
2
5
24
1
7E16
2
T
3
0
result
1A
2A
3A
…
…
24A
25A
26A
27A
Issue date - 24.4.2007
10
23
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
105
AS-Interface
Command Interface
8.4.4
Integrated AS-i sensors: Availability
Function: 0416
List of the integrated slaves according to profile S-1.1 whose input data bits D2
("Availability") are deleted.
For creating this list, CDI and IDI are used only. Integrated AS-i slaves which are
projected but not existing therefore are not entered here.
Request
byte
2
7
2
6
2
5
24
1
2
23
22
21
20
22
21
20
3
2
1
0
27
26
25
24
22
21
20
4
5
6
7
28
29
30
31
23
22
21
20
7E16
T
O
circuit
3
0416
Response (if O ≡ 0)
byte
2
7
2
6
25
24
1
23
7E16
2
T
3
7
result
6
5
4
…
…
6
31
30
29
byte
27
26
25
28
Response (if O ≡ 1)
24
1
7E16
2
T
3
0
result
1
2
3
…
6
8.4.5
23
…
24
25
26
27
Language-select
Function 0E16
Use this function to set the display language.
Set:
Request
7
26
T
–
2
1
2
25
24
7D16
circuit
3
0E16
4
language1
Issue date - 24.4.2007
Byte
1. Value: 0= default (no changes), 1= english, 2= german, 3= french, 4= italian, 5= spain.
Subject to reasonable modifications due to technical advances.
106
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Response
Byte
2
7
2
6
2
5
24
1
2
23
22
21
20
22
21
20
22
21
20
7D16
T
result
Read:
Request
Byte
7
26
T
–
2
25
24
1
2
23
7E16
circuit
3
0E16
Response
Byte
27
26
25
24
1
2
23
7E16
T
result
3
language1
1. Value: 0= default (no changes), 1= english, 2= german, 3= french, 4= italian, 5= spanish.
8.4.6
Replacement of Safety Slaves input data
Function 0F16
Use this function to replace safety slaves input data with "interpretation data". If
the function is active, so have safety slaves input data the following meaning:
Bit 0,1: 00=channel 1 has released 11=channel 1 has not released.
Bit 2,3: 00=channel 2 has released, 11=channel 2 has not released.
This command replaces the old command MB_FP_LSS_ENABLE
Set:
Request
Byte
27
26
T
–
1
Issue date - 24.4.2007
2
25
24
23
22
21
20
7D16
circuit
3
0F16
4
safety slaves1
1. Value: 0= no substitute value, 1=substitute value for safety slaves
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
107
AS-Interface
Command Interface
Response
Byte
2
7
2
6
2
5
24
1
2
23
22
21
20
22
21
20
22
21
20
22
21
20
22
21
20
3
2
1
0
27
26
25
24
7D16
T
result
Read:
Request
Byte
7
26
T
–
2
25
24
1
2
23
7E16
circuit
3
0F16
Response
Byte
27
26
25
24
1
2
23
7E16
T
result
4
safety slaves1
1. Value: 0= no substitute value, 1=substitute value for safety slaves
8.4.7
List of Safety Slaves
Function 1016
Use this function to find out the addresses of safety slaves.
Read:
Request
Byte
7
26
T
1
2
25
24
1
2
23
7D16
O
circuit
3
1016
1. O = orientation
Response (by O ≡ 0)
2
7
2
6
25
24
1
7D16
2
T
3
7
result
6
5
4
…
6
…
31
30
Subject to reasonable modifications due to technical advances.
108
23
29
28
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
Byte
AS-i EtherNet/IP Gateway
Command Interface
Response (bei O ≡ 1)
Byte
2
7
2
6
25
24
1
T
3
0
21
20
4
5
6
7
28
29
30
31
result
1
2
3
…
8.5
22
7D16
2
6
23
…
24
25
26
27
Command Interface examples
You can find actual command interface examples in the download area of the
homepage.
8.5.1
Reading 16-bit input values
Command RD_7X_IN: Reading of 16-bit input values.
Meaning of the bytes:
Request: RD_7X_IN
Byte 1
50hex (RD_7X_IN)
Byte 2
00hex (master 1, single master)
Byte 3
1Dhex (slave address 29)
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Byte 2
00hex (or old values)
Byte 3
00hex (or old values)
Response
Byte 4
00hex (or old values)
…
…
Byte 12
00hex (or old values)
The call of the command interaface has not been answered with the valid values
since the toggle bit has not been set.
Set of toggle bit:
Issue date - 24.4.2007
Request
Byte 1
50hex
Byte 2
80hex (toggle bit, result)
Byte 3
1Dhex (slave address 29)
Byte 4
00hex
…
…
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
109
AS-Interface
Command Interface
Request
Byte 12
00hex
Result: See chapter 8.2.1 "Values for results"
Response
Byte 1
50hex
Byte 2
80hex (toggle bit, master1)
Byte 3
16-bit channel 1 high bytehex
Byte 4
16-bit channel 1 low bytehex
Byte 5
16-bit channel 2 high bytehex
Byte 6
16-bit channel 2 low bytehex
Byte 7
16-bit channel 3 high bytehex
Byte 8
16-bit channel 3 low bytehex
Byte 9
16-bit channel 4 high bytehex
Byte 10
16-bit channel 4 low bytehex
Byte 11
00hex not used
Byte 12
00hex not used
To get the input data again, the T-bit has to be reset again.
8.5.2
Store current configuration to the AS-i master
1. Switch master to configuration mode
2. Write the current slave configuration to the master
3. Switch master to protected mode
4. Wait until master is in normal (protected) operation mode
12-byte management
1. Switch master to config mode
Request: SET_OP_MODE
Byte 1
0Chex (SET_OP_MODE)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
01hex (= config mode)
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Byte 2
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Subject to reasonable modifications due to technical advances.
110
Issue date - 24.4.2007
Response
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
No result because toggle bit = 0.
Set the toggle bit:
Request: SET_OP_MODE
Byte 1
0Chex (SET_OP_MODE)
Byte 2
80hex (T = 1, master 1, single master)
Byte 3
01hex (= config mode)
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
0Chex
Byte 2
80hex (T = 1, result = 0)
Response
Byte 3
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Master is now in configuration mode.
Result = 0 ⇒ No error, for other result codes see chapter 8.2.1 "Values for results".
2. Write the actual slave configuration to the master
Request: STORE_CDI
Byte 1
07hex (STORE_CDI)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
00hex
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Response
Byte 2
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Issue date - 24.4.2007
No result because toggle bit = 0.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
111
AS-Interface
Command Interface
Set the toggle bit:
Request: STORE_CDI
Byte 1
07hex (STORE_CDI)
Byte 2
80hex (T = 0, master 1, single master)
Byte 3
00hex
…
…
Byte 12
00hex
Byte 1
00hex
Byte 2
80hex (T = 1, result = 0)
Byte 3
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Response
The current configuration data has been written.
3. Set master to protected mode
Request: SET_OP_MODE
Byte 1
0Chex (SET_OP_MODE)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
00hex (= protected mode)
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Response
Byte 2
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Issue date - 24.4.2007
No result because toggle bit = 0.
Subject to reasonable modifications due to technical advances.
112
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Set the toggle bit:
Request: SET_OP_MODE
Byte 1
0Chex (SET_OP_MODE)
Byte 2
80hex (T = 1, master 1, single master)
Byte 3
00hex (= protected mode)
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
0Chex
Byte 2
80hex (T = 1, result = 0)
Response
Byte 3
00hex (or old values)
…
…
Byte 12
00hex (or old values)
The master has now been ordered to switch to the protected mode. It must be
maintained now until the master changes into the operation mode.
4.Wait until master is in normal operation mode (and protected mode)
Reading out the flags until NA (Normal Operation Active) has been set.
Request: GET_FLAGS
Byte 1
47hex (GET_FLAGS)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
00hex
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Byte 2
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Response
Issue date - 24.4.2007
No result because toggle bit = 0.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
113
AS-Interface
Command Interface
Setting the toggle bit:
Request: GET_FLAGS
Byte 1
47hex (GET_FLAGS)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
00hex
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
47hex
Byte 2
80hex (T = 1, result = 0)
Byte 3
-
-
-
-
-
-
-
Byte 4
OR
APF
NA
CA
AAv
AAs
S0
COK
AAe
OL
DX
Response
Byte 5
Byte 6
POK
00hex
…
Byte 12
00hex
The flag NA has to be set before the application is started. In case it is not set, the
flags have to be read out until this flag has been set to 1.
The flag NA indicates that the master is in normal operation mode.
Normal operation mode is necessary to run the application safely.
8.5.3
Store new configuration for all slaves
1. Switch master in configuration mode
2. Write slave configuration to master
3. Write new list of projected slaves (LPS)
4. Write permanent parameter (PP) to master
5. Switch master to protected mode
6. Wait until master is in normal operation Mode (and protected mode)
12-byte management
1. Set master in config mode
0Chex (SET_OP_MODE)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
01hex (= config mode)
Byte 4
00hex
…
…
Byte 12
00hex
Subject to reasonable modifications due to technical advances.
114
Issue date - 24.4.2007
Request: SET_OP_MODE
Byte 1
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Response
Byte 1
00hex (or old values)
Byte 2
00hex (or old values)
Byte 3
00hex (or old values)
Byte 4
00hex (or old values)
…
…
Byte 12
00hex (or old values)
No result because toggle bit = 0.
Set the toggle bit:
Request: SET_OP_MODE
Byte 1
0Chex (SET_OP_MODE)
Byte 2
80hex (T = 1, master 1, single master)
Byte 3
01hex (= config mode)
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
0Chex
Byte 2
80hex (T = 1, result = 0)
Byte 3
00hex (or old values)
Response
Byte 4
00hex (or old values)
…
…
Byte 12
00hex (or old values)
The master is now in configuration mode.
Result: See chapter 8.2.1 "Values for results".
2. Write single configuration to master
Writing a configuration of an AS-i slave to the master.
For example:
Issue date - 24.4.2007
16-bit input 4 CH at address 4 (Slave datasheet)
ID:
3hex
ID2: Ehex
IO:
7hex
ID1: Fhex
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
115
AS-Interface
Command Interface
Request: SET_PCD
Byte 1
25hex (SET_PCD)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
04hex (slave address to write to master)
Byte 4
EFhex (ID + IO to configurate)
Byte 5
37hex (xID2 + xID1 to configurate)
Byte 6
00hex
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Byte 2
00hex (or old values)
Byte 3
00hex (or old values)
Byte 4
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Response
No result because toggle bit = 0.
Set the toggle bit:
Request: SET_PCD
Byte 1
0Chex (SET_PCD)
Byte 2
80hex (T = 1, master 1, single master)
Byte 3
04hex (slave address to write to master)
Byte 4
EFhex (ID + IO to configurate)
Byte 5
37hex (ID + IO to configurate)
Byte 6
00hex
…
…
Byte 12
00hex
Byte 1
25hex
Byte 2
80hex (T = 1, result = 0)
Byte 3
00hex (or old values)
Byte 4
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Subject to reasonable modifications due to technical advances.
116
Issue date - 24.4.2007
Response
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
The single slave configuration for the 16-bit module is written.
This command must be repeated for all 31 A-slaves and all 31 B-slaves. If you
don't connect a slave to an address, write Fhex for ID, IO, ID1, ID2.
3. Write new list of projected slaves
Write the complete LPS of your AS-i circuit.
Every bit in the LPS corresponds to one slave after the following scheme:
Byte0/Bit 0:slave 0/0A - can not be set!
Byte1/Bit 1:slave 1/1A
...
Byte3/Bit 7:slave 31/31A
Byte4/Bit 0:slave 0B - can not be set!
Byte4/Bit 1:slave 1B
...
Byte7/Bit 7:slave 31B
The slave is projected if the bit is set.
Example above: 16-bit module at address 4 ⇒ Set bit 4/byte 0:
Request: SET_LPS
Byte 1
29hex (SET_LPS)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
00hex
Byte 4
10hex (LDS byte 0)
Byte 5
00hex (LDS byte 1)
…
…
Byte 11
00hex (LDS byte 7)
Byte 12
00hex
Byte 1
00hex (or old values)
Response
Byte 2
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Issue date - 24.4.2007
No result because toggle bit = 0.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
117
AS-Interface
Command Interface
Setting the toggle bit:
Request: SET_LPS
Byte 1
29hex
Byte 2
80hex (T = 1, master 1, single master)
Byte 3
00hex
Byte 4
10hex (LDS byte 0)
Byte 5
00hex (LDS byte 1)
…
…
Byte 11
00hex (LDS byte 7)
Byte 12
00hex
Byte 1
29hex
Byte 2
80hex (T = 1, result = 0)
Byte 3
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Response
The new list of protected slaves (LPS) is written.
4. Write permanent parameter (power on parameter) to master
Example as above:16-bit module at address 4 with PP = 07hex
Request: SET_PP
Byte 1
43hex (SET_PP)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
04hex (slave address to write to master)
Byte 4
07hex (PP to write (use low nibble))
Byte 5
00hex (LDS byte 1)
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Byte 2
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Issue date - 24.4.2007
Response
No result because toggle bit = 0
Subject to reasonable modifications due to technical advances.
118
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Setting the toggle bit:
Request: SET_PP
Byte 1
43hex (SET_PP)
Byte 2
80hex (T = 0, master 1, single master)
Byte 3
04hex (slave address to write to master)
Byte 4
07hex (PP to write (use low nibble)
Byte 5
00hex
…
…
Byte 12
00hex
Byte 1
43hex
Byte 2
80hex (T = 1, Result = 0)
Response
Byte 3
00hex
…
…
Byte 12
00hex
The permanent parameter for the 16-bit module is written.
This command must be repeated for all 31 A-slaves and all 31 B-slaves. If you
don't connect a slave to an address, write the default value to the master (Fhex) as
a permanent parameter.
5. Switch Master to Protected Mode
Request: SET_OP_MODE
Byte 1
0Chex (SET_OP_MODE)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
00hex (= protected mode)
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Byte 2
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Response
Issue date - 24.4.2007
No result because toggle bit = 0.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
119
AS-Interface
Command Interface
Setting the toggle bit:
Request: SET_OP_MODE
Byte 1
0Chex (SET_OP_MODE)
Byte 2
80hex (T = 1, master 1, single master)
Byte 3
00hex (= protected mode)
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
0Chex
Byte 2
80hex (T = 1, result = 0)
Response
Byte 3
00hex (or old values)
…
…
Byte 12
00hex (or old values)
The master has now been ordered to switch to protected mode.
6. Wait until master is in normal (protected) operation mode
Read out the flags, until the NA (Normal Operation Active) has been set.
Request: GET_FLAGS
Byte 1
47hex (GET_FLAGS)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
00hex
…
…
Byte 12
00hex
Byte 1
00hex (or old values)
Response
Byte 2
00hex (or old values)
…
…
Byte 12
00hex (or old values)
Issue date - 24.4.2007
No result because toggle bit = 0.
Subject to reasonable modifications due to technical advances.
120
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Command Interface
Setting the toggle bit:
Request: GET_FLAGS
Byte 1
47hex (GET_FLAGS)
Byte 2
00hex (T = 0, master 1, single master)
Byte 3
00hex
Byte 4
00hex
…
…
Byte 12
00hex
Byte 1
47hex
Byte 2
80hex (T = 1, result = 0)
Byte 3
-
-
-
-
-
-
-
Byte 4
OR
APF
NA
CA
AAv
AAs
S0
COK
AAe
OL
DX
Response
Byte 5
Byte 6
POK
00hex
…
Byte 12
00hex
The flag NA has to be set before the application is started. In case it is not set, the
flags have to be read out until this flag has been set to 1.
The flag NA indicates that the master is in normal operation mode.
Normal operation mode is necessary to run the application safely.
Issue date - 24.4.2007
The flag NA indicates that the master is in the normal operating mode which is necessary for the application to run safely.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
121
AS-Interface
Advanced Diagnostics for AS-i Masters
9
Advanced Diagnostics for AS-i Masters
The advanced AS-i diagnostics serve to locate occasionally occurring errors and
to judge the quality of data transmission on AS-i without additional diagnostics
tools.
AS-i Control Tools (software for comfortable commissioning of AS-i and programming of AS-i Control) supports the operation of the advanced diagnostics
(LCS, error counters and LOS).
9.1
List of corrupted AS-i Slaves (LCS)
The LCS contains the history of the delta list. Besides the list of projected slaves
(LPS), the list of detected slaves (LDS) and the list of activated slaves (LAS), a
fourth list, the list of corrupted slaves (LCS), is created by AS-i masters with advanced diagnostics in order to locate occasionally occurring short-time configuration errors. This list contains entries of all AS-i slaves which were responsible for
at least one configuration error since powering up the AS-i master or reading the
list. Short-time AS-i power failures are listed in the LCS at the position of AS-i slave
with address 0.
With every read-access the LCS will be deleted.
The last short-time configuration error can also be displayed on the AS-i master:
• Pressing the "Set" button of the AS-i master shows the AS-i slave which was
responsible for the last short-time configuration error. If there was a short-time
AS-i power failure the display shows "39" after pressing the "Set" button.
• This function is only available if the device is in the normal operation mode of
the protected mode (display empty) or in the off-line-phase.
9.2
Protocol analysis: counters of corrupted data telegrams
The AS-i master with advanced diagnostics has a counter of telegram repetitions
for each AS-i slave, which count up every time a currupted data telegram has been
found. This makes possible to judge the quality of the AS-i network, even if only a
few corrupted telegrams occured and the AS-i slave did not cause any configuration errors.
• The counter values can be read via the host interface and will be deleted with
every read access.
The protocol analysis is included in the sofware AS-i Control Tools (by using the
command Master | AS-i Diagnostics).
Subject to reasonable modifications due to technical advances.
122
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
• The counter value is limited to 254. 255 will cause a counter overflow.
AS-i EtherNet/IP Gateway
Advanced Diagnostics for AS-i Masters
9.3
Offline phase on configuration errors (LOS)
The AS-i masters with advanced diagnostics offer the possibility to put themselves
into the offline phase when a configuration error on the AS-Interface occurs. This
way the security of the application can be ensured. The reaction to a configuration
error is very fast and the host can be relieved from this task. If there are any problems on the AS-i network, the AS-i can be switched to a secure state.
There are two different ways to parameterize the AS-i master for this feature:
• Every configuration error during normal operation in protected mode releases
the off-line phase.
• For each slave address, it can be chosen whether a configuration error on this
address will cause the offline phase or not. This information is stored in the list
of offline slaves (LOS).
The user himself can decide how the system reacts to a configuration error on
the AS-i. The AS-i master can release the off-line phase in critical situations, i. e.
only with certain slave addresses, whereas in less critical situations (if one of the
other AS-i slaves has a configuration error) only the error message is sent to the
host, but AS-i is still running.
The parameterization "off-line phase on configuration error" is also supported by
the "AS-i-Control-Tools" (command Master | Identity | Offline on configuration error).
Two ways to reset the error message "OFFLINE BY LOS" are possible:
1. Deleting of the complete list LOS of the affected AS-i circuit ("CLEAR ALL").
2. Voltage reset at the affected AS-i circuit.
By voltage reset at the AS-i circuit 1 the complete double gateway will be shut
down.
9.4
Functions of the AS-i fault detector
9.4.1
Duplicate address‘ recognition
If two slaves have the same address in an AS-i circuit, a duplicate address exists.
Because of this error the master can not send a request to each slave seperately.
At that time both repsonses overlap themselves on the line, it is impossible for the
master to recognize the slave response safely. It exists an unstable network behaviour.
Issue date - 24.4.2007
The function "duplicate address‘ recognition" allows to recognize a duplicate
address and to indicate this both via Ethernet and in the AS-i Control Tools.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
123
AS-Interface
Advanced Diagnostics for AS-i Masters
A duplicate address causes a configuration error und will be shown in the diplay of
the master.
Duplicate addresses can be recognized only in the AS-i segment directly at
the master. If both slaves participate in a duplicate address located behind a
repeater, the duplicate address‘ recognition is impossible.
9.4.2
Earth fault detector
An Earth Fault exists when the tension UGND (Nominal value of UGND=0,5 UAS-i.)
is outside of the following range:
10% UAS-i ≤ UGND ≤ 90% UAS-i
This error limits the fail-safe characteristic of the AS-i transmission substantially.
Earth faults are indicated in the master´s display and AS-i Control Tools.
By a double master in version 1 power supply for 2 AS-i ciruits an earth fault in
one of the both circuits causes also an earth fault in the other circuit because
of the existing galvanic connection.
For recognition of earth faults the master must be grounded with the function
earth.
9.4.3
Noise detector
The noise detector detects alternating voltages on AS-i, which are not produced
by AS-i master or AS-i slaves. These interference voltages can cause telegram
disturbances.
A frequent cause are insufficiently shielded frequency inverters or awkwardly shifted cables.
Noises are indicated in the master´s display and the AS-i Control Tools.
9.4.4
Overvoltage detector
Overvoltages are present, if the AS-i line, whose veins lie normally electrically
symmetrically to the plant earth, are strongly electrically raised. A cause can be
e.g. power-on procedures of large consumers. However sometimes overvoltages
don´t generally disturb AS-i communication, but can release incorrect signals of
sensors.
Issue date - 24.4.2007
Overvoltages are indicated in the master´s display and the AS-i Control Tools.
Subject to reasonable modifications due to technical advances.
124
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
EtherNet/IP Interface
10
EtherNet/IP Interface
10.1
Object Modelling
The attributes of bus participants are mapped into objects in the CIP family (DeviceNet, ControlNet and EtherNet/IP) bus systems.
In addition to for all EtherNet/IP devices common objects, there are six objects in
the AS-i Gateways to access the data of the AS-i network:
• Identity
• Assembly
• AS-i master
• AS-i slave
• I/O data
• Advanced diagnostics
10.1.1
Class Code
Object Name
Number of Instances
0x01
Identity
1
0x04
Assembly
72
0x64
AS-i master
1 for each AS-i circuit
0x65
AS-i slave
64 for each AS-i circuit
0x66
E/A data
1 for each AS-i circuit
0x67
Advanced diagnosics
1 for each AS-i circuit
0x68
Short command interface
1
0x69
Long command interface
1
0x06
Connection manager
1
0x02
Message router
1
Identity Object
Class Code: 1 (0x01)
Number of instances: 1
Issue date - 24.4.2007
Instance Attributes
Attribute ID
Access Rule Name
Value
1
Get
Vendor
645
2
Get
Device Type
12
3
Get
Product Code
single master: 1828
double master: 1829
4
Get
Revision
1.1
5
Get
Status
see overwiev listed below
6
Get
Serial Number
unique number, 32-bit
7
Get
Product Name
AS-i 3.0 EtherNet/IP Gateway
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
125
AS-Interface
EtherNet/IP Interface
Common Services
Service Code Class Instance Service Name
10.1.2
0x05
no
yes
Code 1
(Class + Instance)
0x10
yes
yes
Get Attributes All
0x0E
yes
yes
Get Attributes All
Assembly Object
Class Code 4 (0x04)
Number of instances: 72
The Assembly Object bundles data from the application objects.
The Assembly Object Instances consist of (in case of a double master):
• A-slaves and/or single slaves from circuit 1
• Single, A- and B-slaves (all slaves) from circuit 1
• A-slaves and/or single slaves from both circuits
• Single, A- and B-slaves (all slaves) from both circuits
• No 16-bit data
• 16-bit data from slaves 29 … 31 from circuit 1
• 16-bit data from slaves 29 … 31 from both circuits
• No command interface
• Short command interface
• Long command interface
Attribute ID
Access Rule Name
3
Data Value
Data Item(s)
Issue date - 24.4.2007
Instances 100 (0x64) … 135 (0x87) can only be read, while instances 136
(0x88) … 171 (0xAB) can be read and written.
Subject to reasonable modifications due to technical advances.
126
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
EtherNet/IP Interface
Issue date - 24.4.2007
Assembly Instance
Data Item
Input
Output
Size
Digital
(Byte)
100 (0x64)
136 (0x88)
16
AS-i circuit 1,
Single- and A-slaves
101 (0x65)
137 (0x89)
28
AS-i circuit 1,
Single- and A-slaves
short
102 (0x66)
138 (0x8A)
52
AS-i circuit 1,
Single- and A-slaves
long
103 (0x67)
139 (0x8B)
40
AS-i circuit 1,
Single- and A-slaves
AS-i circuit 1,
Analog slaves 29 ... 31
104 (0x68)
140 (0x8C)
52
AS-i circuit 1,
Single- and A-slaves
AS-i circuit 1,
Analog slaves 29 ... 31
short
105 (0x69)
141 (0x8D)
76
AS-i circuit 1,
Single- and A-slaves
AS-i circuit 1,
Analog slaves 29 ... 31
long
106 (0x6A)
142 (0x8E)
64
AS-i circuit 1,
Single- and A-slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
107 (0x6B)
143 (0x8F)
76
AS-i circuit 1,
Single- and A-slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
short
108 (0x6C)
144 (0x90)
100
AS-i circuit 1,
Single- and A-slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
long
109 (0x6D)
145 (0x91)
32
AS-i circuit 1,
all slaves
110 (0x6E)
146 (0x92)
44
AS-i circuit 1,
all slaves
short
111 (0x6F)
147 (0x93)
68
AS-i circuit 1,
all slaves
long
112 (0x70)
148 (0x94)
56
AS-i circuit 1,
all slaves
AS-i circuit 1,
Analog slaves 29 ... 31
113 (0x71)
149 (0x95)
68
AS-i circuit 1,
all slaves
AS-i circuit 1,
Analog slaves 29 ... 31
short
114 (0x72)
150 (0x96)
92
AS-i circuit 1,
all slaves
AS-i circuit 1,
Analog slaves 29 ... 31
long
115 (0x73)
151 (0x97)
80
AS-i circuit 1,
all slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
116 (0x74)
152 (0x98)
92
AS-i circuit 1,
all slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
short
117 (0x75)
153 (0x99)
116
AS-i circuit 1,
all slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
long
118 (0x76)
154 (0x9A)
32
AS-i circuite 1+2,
Single- and A-slaves
119 (0x77)
155 (0x9B)
44
AS-i circuite 1+2,
Single- and A-slaves
short
120 (0x78)
156 (0x9C)
68
AS-i circuite 1+2,
Single- and A-slaves
long
121 (0x79)
157 (0x9D)
56
AS-i circuite 1+2,
Single- and A-slaves
AS-i circuit 1,
Analog slaves 29 .. 31
122 (0x7A)
158 (0x9E)
68
AS-i circuite 1+2,
Single- and A-slaves
AS-i circuit 1,
Analog slaves 29 ... 31
short
123 (0x7B)
159 (0x9F)
92
AS-i circuite 1+2,
Single- and A-slaves
AS-i circuit 1,
Analog slaves 29 ... 31
long
Subject to reasonable modifications due to technical advances.
Analog
Command
interface
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
127
AS-Interface
EtherNet/IP Interface
Assembly Instance
Data Item
Input
Output
Size
Digital
(Byte)
Command
interface
124 (0x7C)
160 (0xA0)
80
AS-i circuite 1+2,
Single- and A-slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
125 (0x7D)
161 (0xA1)
92
AS-i circuite 1+2,
Single- and A-slaves
AS-i circuite 1+2,
Analog slaves 29 .. 31
short
126 (0x7E)
162 (0xA2)
116
AS-i circuite 1+2,
Single- and A-slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
long
127 (0x7F)
163 (0xA3)
64
AS-i circuite 1+2,
all slaves
128 (0x80)
164 (0xA4)
76
AS-i circuite 1+2,
all slaves
short
129 (0x81)
165 (0xA5)
100
AS-i circuite 1+2,
all slaves
long
130 (0x82)
166 (0xA6)
88
AS-i circuite 1+2,
all slaves
AS-i circuit 1,
Analog slaves 29 ... 31
131 (0x83)
167 (0xA7)
100
AS-i circuite 1+2,
all slaves
AS-i circuit 1,
Analog slaves 29 ... 31
short
132 (0x84)
168 (0xA8)
124
AS-i circuite 1+2,
all slaves
AS-i circuit 1,
Analog slaves 29 ... 31
long
133 (0x85)
169 (0xA9)
112
AS-i circuite 1+2,
all slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
134 (0x86)
170 (0xAA)
124
AS-i circuite 1+2,
all slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
short
135 (0x87)
171 (0xAB)
148
AS-i circuite 1+2,
all slaves
AS-i circuite 1+2,
Analog slaves 29 ... 31
long
Analog
Issue date - 24.4.2007
The are only instances 100 (0x64) ... 105 (0x69) and 109 (0x6D) ... 114 (0x72) in
case of a single master.
Subject to reasonable modifications due to technical advances.
128
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
EtherNet/IP Interface
10.1.3
AS-i Master Object
Class Code: 100 (0x64)
1 instance for each AS-i circuit
Attribute
ID
Access
Rule
Name
DeviceNet
Data Type
100 (0x64)
Get
ec-flags
UINT (16-bit)
101 (0x65)
Get/Set hi-flags
102 (0x66)
Get/Set operational mode
BOOL
103 (0x67)
Get
LDS
ULINT
104 (0x68)
Get/Set LPS
ULINT
105 (0x69)
Get
LAS
ULINT
106 (0x6A)
Get
LPF
ULINT
107 (0x6B)
Get/Set Store_Actual_Configuration BOOL
108 (0x6C)
Get/Set Store_Actual_Parameters
BOOL
109 (0x6D)
Get/Set Change_Slave_Adress
UINT
110 (0x6E)
Get/Set Lock Pushbuttons
BOOL
Default
Data Value
USINT
EC-flags (16-bit)
EC-flags (16-bit)
28
27
26
25
24
23
22
21
20
Pok
OR
APF
NA
CA
AAv
AAs
S0
Cok
Periphery_Ok
LDS.0
Auto_Address_Assign
Auto_Address_Available
Configuration_Active
Normal_Operation_Active
APF
Offline_Ready
Config_Ok
Issue date - 24.4.2007
Pok
S0
AAs
AAv
CA
NA
APF
OR
Cok
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
129
AS-Interface
EtherNet/IP Interface
Hi-flags (8-bit):
Hi-flags
22
21
20
AAe
OL
DX
AAe
OL
DX
Auto_Address_Enable
Off-line
Data_Exchange_Active
Operational mode (8-bit):
1: configuration mode
0: protected mode
LDS, LAS, LPS, LPF (64-bit):
LDS, LAS, LPS, LPF
byte
2
0
7A
…
…
7
31B
7
6
25
24
23
22
21
20
6A
5A
4A
3A
2A
1A
0A
30B
29B
28B
27B
26B
25B
24B
2
Store actual parameter/store actual configuration/lock push-buttons:
True: proceed the action
Change slave address (16-bit):
Change slave address
Byte
27
25
24
0
–
B
source address
1
–
B
target address
26
23
22
21
20
Meaning of the bit B:
Issue date - 24.4.2007
B = 0: Single-AS-i slave oder A-slave
B = 1: B-slave
Subject to reasonable modifications due to technical advances.
130
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
EtherNet/IP Interface
10.1.4
AS-i Slave Object
Class Code: 101 (0x65)
64 instances for every AS-i circuit, 1 for every AS-i slave
Instance ID AS-i-Slave
1
Slave 0, circuit 1
2
Slave 1A, circuit 1
…
…
32
Slave 31A circuit 1
33
empty, circuit 1
34
Slave 1B, circuit
…
…
64
Slave 31B, circuit 1
65
Slave 0, circuit 2
…
…
96
Slave 31A, circuit 2
97
leer, circuit 2
…
…
98
Slave 1B, circuit 2
…
…
128
Slave 31B, circuit 2
Attribute
ID
Access
Rule
Name
DeviceNet Remark
Data Type
0x64
Get
Actual configuration
UINT
0x65
Get/Set Permanent configuration
UINT
0x66
Get/Set Actual parameters
USINT
0x67
Get/Set Permanent parameters
USINT
0x68
Get/Set xID1
USINT
Slave 0, 32:
not read-/writeable
Slave 0:
writeable only,
slave 0 - 32:
readable
Actual configuration/permanent configuration (16-bit):
Actual configuration/permanent configuration
215 214 213 212 211 210
IO
28
27
26
25
xID2
24
23
22
21
20
XID1
Issue date - 24.4.2007
ID
29
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
131
AS-Interface
EtherNet/IP Interface
Parameter xID1 (8-bit):
Parameter xID1
27
26
25
24
23
22
–
10.1.5
21
20
data
I/O Data Object
Class Code: 102 (0x66)
Input and Output Data
1 instance for each AS-i circuit
Attribute
ID
Access Name
Rule
DeviceNet
Data Type
100 (0x64)
Get
Input Data Image, Single and A-slaves
ARRAY[16
] of USINT
101 (0x65)
Get
Input Data Image, B-slaves
ARRAY[16
] of USINT
102 (0x66)
Get/Set
Output Data Image Single and A-slaves
ARRAY[16
] of USINT
103 (0x67)
Get/Set
Output Data Image, B-slaves
ARRAY[16
] of USINT
104 (0x68)
Get
16-bit Input Data slave 1
ARRAY[4]
of INT
…
…
…
…
134 (0x86)
Get
16-bit Input Data slave 31
ARRAY[4]
of INT
135 (0x87)
Get/Set
16-bit Output Data slave 1
ARRAY[4]
of INT
…
…
…
…
16-bit Output Data slave 31
ARRAY[4]
of INT
165 (0xA5) Get/Set
Default
Data Value
…
…
Input and Output Data Image:
27
26
F3
F2
0
24
23
22
F1
F0
D3
D2
Flags
21
20
Slave 1/1A
D1
1
Slave 2/2A
Slave 3/3A
2
Slave 4/4A
Slave 5/5A
3
Slave 6/6A
Slave 7/7A
4
Slave 8/8A
Slave 9/9A
5
Slave 10/10A
Slave 11/11A
6
Slave 12/12A
Slave 13/13A
7
Slave 14/14A
Slave 15/15A
8
Slave 16/16A
Slave 17/17A
9
Slave 18/18A
Slave 19/19A
Subject to reasonable modifications due to technical advances.
132
25
D0
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
Byte
AS-i EtherNet/IP Gateway
EtherNet/IP Interface
Byte
27
26
25
24
23
22
21
10
Slave 20/20A
Slave 21/21A
11
Slave 22/22A
Slave 23/23A
12
Slave 24/24A
Slave 25/25A
13
Slave 26/26A
Slave 27/27A
14
Slave 28/28A
Slave 29/29A
15
Slave 30/30A
Slave 31/31A
16
reserved
Slave 1B
17
Slave 2B
Slave 3B
18
Slave 4B
Slave 5B
19
Slave 6B
Slave 7B
20
Slave 8B
Slave 9B
21
Slave 10B
Slave 11B
22
Slave 12B
Slave 13B
23
Slave 14B
Slave 15B
24
Slave 16B
Slave 17B
25
Slave 18B
Slave 19B
26
Slave 20B
Slave 21B
27
Slave 22B
Slave 23B
28
Slave 24B
Slave 25B
29
Slave 26B
Slave 27B
30
Slave 28B
Slave 29B
31
Slave 30B
Slave 31B
20
Flags
Input data
Output data
F0
ConfigError
Off-line
F1
APF
LOS-master-bit
F2
PeripheryFault
→ ConfigurationMode
F3
ConfigurationActive
→ ProtectedMode
0=ConfigOK, 1=ConfigError
0=AS-i-Power OK, 1=AS-i-Power Fail
0=PeripheryOK, 1=PeripheryFault
0=ConfigurationActive, 1=ConfigurationInactive
0=On-Line, 1=Off-Line
0=Off-Line by ConfigError deactivated
1=Off-Line by ConfigError activated.
Issue date - 24.4.2007
ConfigError:
APF:
PeripheryFault:
ConfigurationActive:
Off-Line:
LOS-master-bit
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
133
AS-Interface
EtherNet/IP Interface
16-bit values:
16-bit values
215
214
213
212
211
210
29
28
27
26
25
24
23
22
21
20
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
16-bit data:
A-Slaves map the data on channels 1 and 2.
B-Slaves map the data on channels 3 and 4.
In addition to the access via the command interfaces, the 16-bit data for or by the
slaves with 16-bit value can by exchanged cyclically (profile 7.3., S-7.4, S-6.0, S7.5, S-7.A.8, S-7.A.9, S-7.A.A). Competing writing access attemps on 16-bit output data will not be blocked by every other. If 16-bit data for a particular slave are
being transmitted both cyclically and acyclically with the command interface or via
DP V1 connections, the acyclically transmitted values will be overwritten by the cyclically transmitted values.
AS-i 16-bit data can be transmitted in a reserved data area. Therefore accessing
16-bit data is as easy as accessing digital data.
16-bit data
Byte
27
26
1
25
24
23
22
21
20
Slave 31-n/8, channel 1, high byte
2
Slave 31-n/8, channel 1, low byte
3
Slave 31-n/8, channel 2, high byte
4
Slave 31-n/8, channel 2, low byte
…
…
n-3
Slave 31, channel 3/Slave 31B, channel 1, high byte
Slave 31, channel 3/Slave 31B, channel 1, low byte
n-1
Slave 31, channel 4/Slave 31B, channel 2, high byte
n
Slave 31, channel 4/Slave 31B, channel 2, low byte
Issue date - 24.4.2007
n-2
Subject to reasonable modifications due to technical advances.
134
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
EtherNet/IP Interface
10.1.6
Advanced Diagnostics Object
Class Code: 103 (0x67)
1 instance for each AS-i circuit
Attribute
ID
Access Name
Rule
DeviceNet
Data Type
100 (0x64)
get/set
los (list of offline slaves)
ULINT
101 (0x65)
get
error counters a
ARRAY[32]
of USINT
102 (0x66)
get
error counters b
ARRAY[32]
of USINT
Default
Data Value
Error counter:
Single- and A-Slaves
Index Error Counter
1
Slave 1/1A
2
Slave 2/2A
3
Slave 3/3A
…
…
31
Slave 31/31A
B-Slaves
Index Error Counter
10.1.7
1
Slave 1B
2
Slave 2B
3
Slave 3B
…
…
31
Slave 31B
Short Command Interface Object
Class Code: 104 (0x68)
1 instance
Attribute
ID
Access Name
Rule
DeviceNet
Data Type
100 (0x64)
get/set
ARRAY[12] of USINT
[0]
[1]
[2 … 11]
Issue date - 24.4.2007
content
command
toggle-bit and as-i circuit
data
Default
Data Value
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
135
AS-Interface
EtherNet/IP Interface
10.1.8
Long Command Interface Object
Class Code: 105 (0x69)
1 instance
Attribute
ID
Access Name
Rule
DeviceNet
Data Type
100 (0x64)
get/set
ARRAY[36] of USINT
[0]
[1]
[2 … 35]
content
command
toggle-bit and as-i circuit
data
Default
Data Value
Issue date - 24.4.2007
For special details acc. the command interface commands see <chapter 8>.
Subject to reasonable modifications due to technical advances.
136
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Appendix: the first commissioning with CompactLogix
11
Appendix: the first commissioning with CompactLogix
This chapter shows exemplarily the start-up of the AS i 3.0 EtherNet/IP Gateways
with the software RSLogix 5000 CompactLogix, version 13.00.
1. Start the software RSLogix 5000.
2. Select New from the menu File.
3. Now select your controller, register its name and confirm with OK.
4. Click in the tree view control window with the right mouse button on your controller
Issue date - 24.4.2007
5. Click in the PopUp window with the left mouse button on New Module.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
137
AS-Interface
Appendix: the first commissioning with CompactLogix
6. Select the entry Generic Ethernet Module and confirm with OK.
7. Now register all necessary characteristics of the module:
• Controller name
• Comm. format
• IP-Address
• Connection parameters
• Assembly Instance - Input/Output
• Assembly Instance - Configuration
(Register here a number between 1.. 255)
• Assembly Instance - Size
Assembly Instances
A so-called Assembly Object specifies the structure of objects for the data
communication. The data (e.g.: I/O data) can be combined into blocks with the
Assembly Object Data and sent over only one communication link.
Thus less access to the network are necessary.
It is differentiated between Input Assemblies and Output Assemblies:
-Input Assembly reads application data over the net and/or produces data on
the network.
-Output Assembly writes data on the application and/or prozesses data of the
network.
In this example the Input Instance 114 and the Output Instance 150 is used (92
bytes for in and output data).
Allocation of the data
Issue date - 24.4.2007
32 bytes for digital data (A/B slaves)
24 bytes for analog data (slave address 29 .. 31)
36 bytes für command interface
(Register here a Number $1!)
Subject to reasonable modifications due to technical advances.
138
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Appendix: the first commissioning with CompactLogix
8. Click the button Next
9. Please enter in the data field Request Packet Interval (RPI) a time ($ 5 ms).
10. Please click on the Finish button.
11.Now you can begin programming.
12.For the first downloading of the software the transmission path must be indicated. Select for this purpose from the menu Communications the entry:
Who Active.
Issue date - 24.4.2007
13.With a double click on the pictogram Processor you can begin with the download.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
139
AS-Interface
Appendix: the first commissioning with CompactLogix
11.1
Working with sample files
1. Please unzip your "AS-i/Ethernet IP gateway with AS-i Scanner for Allen-Bradley CompactLogix" sample file.
2. Please start the software RSLogix 5000.
3. Please open the file "F01_Module.ACD". This sample file contains a program
that shows you, how to use the command interface (mailbox).
4. If it is needed, please adjust your controller and the ip of your gateway.
5. Please look at the description of the controller tags, where you can find the tag
Mailbox1.
Here you can edit the command interface instructions. You can find an appropriate
description in the Mbx0Main routine in the Mailbox.
6. Further sample files:
F02_RD_RW.ACD,
F03_Get_LAS.ACD,
F04_READ_IDI.ACD,
F05_GET_DELTA.ACD,
F08_GET_LOS.ACD,
F11_SafeDiagSort.ACD,
F06_GET_TECA.ACD,
F09_GET_LCS.ACD,
F12_ACYCLIC_TRANS.
F07_SET_LOS.ACD,
F10_GET_LPF.ACD,
The task MainProgram of these examples shows, how to use some instructions of
the Command Interface with help of the task Mbx0Main.
Issue date - 24.4.2007
DataExchange.ACD
This sample file contains a very simple program that shows you how to read and
write digital AS-interface inputs and outputs.
Subject to reasonable modifications due to technical advances.
140
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Commissioning Tools and Accessories
12
Commissioning Tools and Accessories
The Windows based software "AS-i Control Tools" is designed to make the commissioning of the AS-i/EtherNet/IP Gateway so easy as possible.
12.1
Windows software AS-i Control Tools
The Windows software "AS-i Control Tools" enables you to configure the AS-i circuit in a very comfortable way.
1. For this purpose connect the device over the RS 232 interface with a serial interface of your PC.
2. Start the AS-i-Control-Tools.
3. Call the command Master | New.
4. Choose AS-i/Ethernet Gateway as protocol.
Issue date - 24.4.2007
5. Do the appropriate settings. (e.g. serial bus address, AS-i circuit <1>)
6. Call the command Master | AS-i configuration.
The AS-i configuration editor will be started. All detected and projected AS-i
slaves are displayed in this window.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
141
AS-Interface
Commissioning Tools and Accessories
7. Click on a slave entry to open the dialog box slave configuration.
Changing a slave address, setting AS-i parameters or AS-i configuration data is
possible here. Additionally, inputs and outputs can be tested.
A very easy approach to configure the AS-i circuit is connecting each AS-i slave to
the line and setting the AS-i slave address one after the other. After that press the
button “Store configuration” to adopt the detected AS-i circuit to the AS-i master as
projected data.
Subject to reasonable modifications due to technical advances.
142
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
8. Click in the main menu on the second button from the right side to acquire a
graphic presentation of the "AS-i Control Tools".
AS-i EtherNet/IP Gateway
Commissioning Tools and Accessories
Furthermore you can use the AS-i Address Assistant. This tool automatically
changes the address of an AS-i slave to the desired address after connecting the
slave to the AS-i line. The desired AS-i configuration can be created offline before
and then be stored to a file. When building up the plant you only have to connect
the AS-i slaves to the AS-i line one after the other.
Issue date - 24.4.2007
Further descriptions to all features of the software can be obtained from the integrated help.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
143
AS-Interface
Appendix: the first commissioning of AS-i
13
Appendix: the first commissioning of AS-i
In this chapter an example is given, how quickly and easily an AS-i
network can be put into operation without the need for external
devices. The addressing of the components connected to the AS-i
network can be performed directly on the AS-i master. It certainly is
more comfortable to do the addressing with a handheld programming device or with the Windows software AS-i Control Tools. However, it is possible to configure even complex networks using only
the AS-i master.
What to do ?
How to go about it?
The AS-i master has to be properly Using AS-i master with power supply
supplied with power.
“A”: Connect the AS-i power supply
unit to the terminals AS-i + and AS-i of the master, connect the ground terminal.
Using AS-i master with power supply
“N”: Connect the 24 V DC standard
power supply with the terminals 24 V
and 0 V of the master, connect the
ground terminal.
Turn on the power supply.
After the self-test: the LEDs “power”, “config err”, ”U ASI” and “prj mode” are on.
The LC display shows “40”: the AS-i master is in the offline phase. Shortly after
that a “41” will be displayed: the AS-i master stays in the detection phase.
Switch the device to the projecting Press the “mode” button for approx.
mode if the yellow LED does not light five seconds.
up.
The yellow LED “prj mode” lights up. The device is now in projecting mode.
Add a slave with the address 0 to the Connect the slave's terminals with the
AS-i line.
terminals AS-i +/- of the master.
The green LED “ASI active” lights up. The LC display shows “0”. This indicates
that the AS-i master has detected the slave.
The AS-i master detects the slave with address "1" and displays “1”.
Connect another slave with address Connect the slave to the AS-i line. The
"0" to the AS-i line and allocate the addressing can be carried out the
same way as the previous slave.
address "2" to it.
Subject to reasonable modifications due to technical advances.
144
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
Change the slave address to address Select address "1" by pressing the
to "1".
“set” button shortly, if necessary
repeatedly; after each pressing the
next free address is displayed. When a
“1” appears on the display, press the
“set” button for approx. five seconds
until the display flashes. Press the
“set” button again shortly to assign the
new address to the slave.
AS-i EtherNet/IP Gateway
Appendix: the first commissioning of AS-i
What to do ?
How to go about it?
The addresses of all detected slaves are now displayed sequentially.
Switch to the protected operating Leave the configuration mode by
mode and store the AS-i configuration. pressing the “mode” button for at least
five seconds until the “prj mode” LED
goes out.
Issue date - 24.4.2007
The configuration of the AS-i master is now finished.
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
145
AS-Interface
Appendix: Codes indicated by the Display
14
Appendix: Codes indicated by the Display
In the basic state of the configuration mode, the display shows the addresses of
all detected slaves at a rate of two per second one after the other. A blank display
indicates that the LDS is empty, no slaves were detected.
In the basic state of the protected operating mode, the display is either blank or
displays the address of a faulty assignment (see chapter 6.1.1).
During manual address programming, the slave address display has a different
meaning (see chapter 6.2.7).
All displayed numbers bigger than 31 which can not be interpreted as a slave
address are status or error messages of the master. They have the following meanings:
Advanced AS-i diagnostics: After pressing the ’set’-button a short-time
AS-i power failure occured.
40
The AS-i master is in offline phase.
41
The AS-i master is in detection phase.
42
The AS-i master is in activation phase.
43
The AS-i master starts the normal operating mode.
70
Hardware error: The AS-i master’s EEPROM cannot be written.
71
Wrong PIC-type.
72
Hardware error: wrong PIC-processor.
73
Hardware error: wrong PIC-processor.
74
Checksum error in the EEPROM.
75
Error in the internal RAM.
76
Error in the external RAM.
77
AS-i control software error: Stack overflow (AS-i control II)
78
AS-i control software error: Checksum error in the control program.
80
Error while attempting to exit the configuration mode: A slave with address
zero exists.
81
General error while changing a slave address.
Subject to reasonable modifications due to technical advances.
146
Issue date - 24.4.2007
39
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Appendix: Codes indicated by the Display
82
The front panel operation is blocked. Until repowering-up the device can
only be accessed from the host via the interface.
83
Program reset of the AS-i Control programm: The AS-i Control programm
is being read out of EEPROM and copied into the RAM.
88
Display test while starting up the AS-i master
90
Error while changing a slave address in protected operating mode: No
slave with address 0 existing.
91
Error while changing slave address: Target address is already used.
92
Error while changing slave address: New address could not be set.
93
Error while changing slave address: New address could only be stored
volatilely in the slave.
94
Error while changing the slave address in protected operating mode:
Slave has wrong configuration data.
Issue date - 24.4.2007
The error 95 is caused by a superfluous slave and not by a missing slave.
That is why the slave address is ocupated by this superfluous slave.
(In the protected mode the slave addresses which caused any configuration error can be displayed by pressing the SET button. AS-i master without
95 graphical display are not able to differentiate between a missing slave, an
incorrect slave or a redundant slave. All incorrect addresses are displayed.
By pressing the SET button 5 sec. the displayed address starts to flash.
Pressing the SET button again the master attempts to program the slave at
the address 0 to the incorrect address.)
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
147
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
15
Appendix: Installation Instructions
15.1
1 Master
VBG-EN-K20-D
# 190322
AS-i 3.0 EtherNet/IP-Gateway in Edelstahl
AS-i 3.0 EtherNet/IP Gateway in Stainless Steel
Passerelle AS-i 3.0 EtherNet/IP en boîtier inox
Gateway AS-i 3.0 EtherNet/IP d’acciaio inox
Pasarela AS-i 3.0 EtherNet/IP en acero inoxidable
Dokumentation AS-i 3.0 EtherNet/IP-Gateways (deutsch)
Documentation AS-i 3.0 EtherNet/IP Gateways (english)
15.1.1
Dimensions
55
76
7
100
Ausgabedatum: 24.4.2007
120
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
148
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
AS-Interface
Appendix: Installation Instructions
15.1.2
Front view and connections
1
Hinweis/Hint/Remarque/Indicazione/Nota
r
e
e
bl
i
na od
ig
er r. a
S- -i a g e j m
w
nf
A
S
pr
Se co
pr
A
U
po
e
ro
iv
ct
er
e
iv
ct
2
4
3
mode
OK
ESC
set
6
+
M4
-
+
-
+
}
5
-
5 mm max!
6
8
8
Am Kabel für das Netzteil dürfen keine Slaves oder Repeater angeschlossen werden.
Am Kabel für den AS-i-Anschluss dürfen keine AS-i-Netzteile oder weitere Master angeschlossen werden.
At the cable for power supply no slaves or repeaters may be
attached.
At the cable for AS-i circuit no power supplies or further masters may be attached.
Au câble pour l'alimentation aucun esclave ou répéteur ne
peut être raccordé.
Au câble pour le circuit AS-i aucune alimentation ou autre
maître ne peut être raccordé.
Al cavo per l’alimentazione nessun slave o ripetitore può essere fissato.
Al cavo per il circuito AS-i nessun alimentatore o altro master può essere fissato.
En el cable de la alimentación AS-i no se deben conectar
esclavos o repetidores.
En el cable del circuito AS-i no se debe conectar ninguna
fuente de poder u otro master.
7
8 AS-i-Kreis/ AS-i circuit/ Bus AS-i/ Circuito AS-i/ Circuito AS-i
7 AS-i-Netzteil/ AS-i power supply/Alimentation AS-i /Alimentazione AS-i/Alimentación AS-i
Operating temperature: 0°C … +55°C
Ausgabedatum: 24.4.2007
Ambient operating temperature: 0oC … +55oC
1
2
3
4
5
6
RS 232-Anschluss
LED-Statusanzeige
LCD-Anzeige
Ethernet-Anschluss (RJ45)
Tasten für Handbedienung
Erde
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
RS 232 connection
LED status display
LCD display
Ethernet connection (RJ45)
Buttons for hand operation
Ground
Temperature rating for cable: 60/75oC
Use copper conductors only
1 x 0.5 - 1.5 mm² (16AWG/kcmil: min. 24/max. 12)
Raccordement RS 232
Affichage d’état DEL
Affichage LCD
Raccordement Ethernet (RJ45)
Boutons pour commande manuelle
Terre
Collegamento RS 232
Visualizzazione di stato LED
Visualizzazione LCD
Collegamento Ethernet (RJ45)
Pulsanti per le impostazioni manuali
Terra
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
1
2
3
4
5
6
Conexión RS 232
LED visualización
Display LCD
Conexión Ethernet (RJ45)
Teclas para accionamiento manual
Tierra
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
149
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
15.1.3
Startup
15.1.3.1
Switching to advanced display mode
erweiterter Anzeigenmodus
advanced display mode
modo di visualizzazione avanzata
mode d‘affichage étendu
modo de visualisación avanzada
LCD
1x OK
.12A
LCD
ETHERNET/IP
QUICK SETUP
SLAVE ADDR TOOL
SLAVE TEST TOOL
SETUP
1x ESC
siehe Zusatzblatt
see additional page
page supplémentaire
pagina supplementare
ver página adicional
klassische Anzeige
classical display
affichage classique
display classico
indicación clásica
15.1.3.2
Setting of ethernet properties
LCD
OK
ARM FIRMWARE
TCP/IP OBJECT
ETHERNET OBJECT
!
ARM FIRMWARE
TCP/IP OBJECT
ETHERNET OBJECT
OK
IF STATUS
IF CAPABILITY
IF CONTROL
...
!
USE DHCP
DNS DISABLED
Bei Verwendung von DHCP oder BOOTP
sind keine Einstellungen notwendig/ When
using DHCP or BootP, no adjustment is necessary/ En utilisant DHCP ou BOOTP, aucun réglage n'est nécessaire/ Usando DHCP
o il BOOTP, nessuna regolazione è necessaria/ Al usar DHCP o el BOOTP, no hay ajuste
necesario.
OK
USE STORED VAL.
DNS DISABLED
1xESC
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ.
TCP/IP CONFIG
USE BOOT P
DNS DISABLED
Ausgabedatum: 24.4.2007
OK
IF STATUS
IF CAPABILITY
IF CONTROL
...
OK
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
150
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
AS-Interface
Appendix: Installation Instructions
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ.
TCP/IP CONFIG
!
OK
OK
"
...
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
ESC
!
GATEWAY
0.0.0.0
2xESC
ETHERNET/IP
QUICK SETUP
SLAVE ADDR TOOL
OK
Starten Sie das Gateway neu, damit die Änderungen
wirksam werden/ Restart the gateway to assume your
changes / Mettez la passerelle de nouveau en marche,
de sorte que les modifications deviennent efficaces /
Riavviare il gateway affinché le modifiche diventino efficaci/ Reinicie la pasarela para que los cambios sean
efectivos
Connecting of AS-i Slaves
Power
Power
Ser. active (Ethernet Status-LED)
Ser. active
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface
Slave 1
Ausgabedatum: 24.4.2007
"
ESC
Config error
U AS-i
AS-i active
prg enable
LCD
. 41
prj mode
AS-Interface
AS-Interface
Slave 1
SEARCHING SLAVES
AS-Interface
Slave 5
AS-Interface
Slave 24
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
LCD
AS-i Master
15.1.4
!
IP ADDRESS
192.168.42.149
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
IP ADDRESS
192.168.42.149
AS-i Master
↓
IP ADDRESS
192. 168. 42. 149
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
NET MASK
255. 255. 255. 0
OK
"
.1
0.5s
.5
0.5s
AS-Interface
Slave 5
AS-Interface
Slave 24
. 41
SEARCHING SLAVES
0.5s
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
151
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
15.1.5
Quick Setup
config error
1x OK
LCD
.5
1x OK
LCD
STORE AS-I
CONFIGURATION
OK
STORE +PRJ MODE
1x ↓
2x ESC
LCD
ETHERNET/IP
QUICK SETUP
SETUP
IO + PARAM. TEST
LCD
.
CONFIGURATION OK
1x OK
LCD
WARNING:
OUTPUTS MAY BE
RESET
1x OK
LCD
HOST ERROR
NO CONNECTION
1x ↓
LCD
Ausgabedatum: 24.4.2007
STORE AS-I
CONFIGURATION
STORE +RUN
STORE +PRJ MODE
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
152
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
AS-Interface
Appendix: Installation Instructions
15.1.6
Error tracing
15.1.6.1
Faulty slaves
Power
LCD
AS-i Master
Ser. active (Ethernet/IP Status LED)
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
.1
MISSING SLAVE
2.0s
AS-Interface
Slave 1
LCD
.24
AS-Interface
Slave 5
MISSING SLAVE
AS-Interface
Slave 24
Error display (last error)
Power
Ser. active (Ethernet/IP Status LED)
Ser. active
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-i Master
Power
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface
Slave 1
AS-Interface
Slave 1
AS-Interface
Slave 5
AS-Interface
Slave 5
AS-Interface
Slave 24
LCD
HOST ERROR
NO CONNECTION
set/↓
24
Ausgabedatum: 24.4.2007
AS-Interface
Slave 24
AS-i Master
15.1.6.2
2.0s
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
153
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
15.1.7
Addressing
15.1.7.1
Programming slave 2 to address 6
LCD
1x ↓
. 41
3x OK
LCD
SEARCHING SLAVE
1x OK
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
2x ↓
LCD
1x ↓
ETHERNET/IP
QUICK SETUP
SLAVE ADR TOOL
SLAVE TEST TOOL
LCD
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
1x OK
LCD
1x OK
SLAVE ADR TOOL
CONNECT NEW SLAVE
OLD ADDRESS
NEW ADDRESS
LCD
SLAVE ADR TOOL
OK
Master
Slave
Modul anschließen/Connect
module/Raccordez module/
Collegare modulo/Conecte modulo
2x ESC
LCD
.6
UNKNOWN SLAVE
Ausgabedatum: 24.4.2007
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 3
PRG
LCD
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
154
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
AS-Interface
Appendix: Installation Instructions
15.1.8
Montage
1
1
3
2
on mounting plate with 35 mm top-hat rail 1
15.1.9
Accessories
•
PC-Software "AS-i-Control-Tools" mit seriellem Kabel zum Anschluss der AS-i Master in
Edelstahl / Software "AS-i-Control-Tools" with serial cable for connection of the AS-i Master
in stainless steel/ Logiciel "AS-i-Control-Tools" avec câble série pour la connexion du maître AS-i en acier inox/ Software PC "AS-i-Control-Tools" con cavo seriale per il collegamento
del master AS-i d’acciaio inox/ Software de PC "AS-i-Control-Tools" con cable serial para
la conexión del AS-i Master en acero inoxidable
•
Ausgabedatum: 24.4.2007
Cross-Link-Kabel/ Cross-Link cable/ Câble Ethernet UTP croisé/ Cavo Cross-Link/ Cable
Cross-Link
• AS-i-Netzteil 4 A/ AS-i Power supply 4 A/ Alimentation AS-i 4 A/ Alimentazione AS-i 4 A/
Fuente de poder AS-i 4 A
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
155
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
15.2
2 Master
VBG-EN-K20-DMD
# 190323
AS-i 3.0 EtherNet/IP-Gateway in Edelstahl
AS-i 3.0 EtherNet/IP Gateway in Stainless Steel
Passerelle AS-i 3.0 EtherNet/IP en boîtier inox
Gateway AS-i 3.0 EtherNet/IP d’acciaio inox
Pasarela AS-i 3.0 EtherNet/IP en acero inoxidable
Dokumentation AS-i 3.0 EtherNet/IP-Gateways (deutsch)
Documentation AS-i 3.0 EtherNet/IP Gateways (english)
Die Geräte dürfen nur von Fachpersonal aufgebaut, angeschlossen und in Betrieb
genommen werden! / Only qualified staff is allowed to mount, connect and set up the
modules! / Les modules ne doivent être montés, raccordés et mis en service que par du
personnel qualifié! / Gli apparecchi possono essere montati, collegati e messi in funzione
soltanto da personale specializzato! / Los aparatos sólo pueden ser montados, conectados y puestos en servicio por personal técnico especializado!
15.2.1
Dimensions
55
7
120
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
156
100
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
Ausgabedatum: 24.4.2007
76
AS-Interface
Appendix: Installation Instructions
15.2.2
Front view and connections
1
po
w
er
Se
r.
a
co ctiv
nf
e
ig
er
U
ro
A
r
SA i
Sia
pr ctiv
g
e
en
pr ab
j m le
od
e
Hinweis/Hint/Remarque/Indicazione/Nota
2
4
3
mode
OK
ESC
set
6
+
-
+
-
+
-
+
}
5
-
5 mm max!
6
9
*
7 AS-i-Kreis 1/AS-i circuit 1/Bus AS-i 1/AS-i Circuito 1/
AS-i Circuito 1
8 AS-i-Netzteil Kreis 1/AS-i power supply circuit 1/Alimentation bus AS-i 1/Alimentazione AS-i circuito 1/Alimentación AS-i circuito 1
9 AS-i-Netzteil Kreis 2/AS-i power supply circuit 2/Alimentation bus AS-i 2/Alimentazione AS-i circuito 2/Alimentación AS-i circuito 2
* AS-i-Kreis 2/AS-i circuit 2/Bus AS-i 2/AS-i Circuito 2/
AS-i Circuito 2
Ausgabedatum: 24.4.2007
Operating temperature: 0°C … +55°C
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
RS232-Anschluss
LED-Statusanzeige
LCD-Anzeige
Ethernet-Anschluss
Tasten für Handbedienung
Erde
AS i circle 1 and 2 are supplied from AS-i power supplies.
At the cable for power supply no slaves or repeaters may be
attached.
At the cable for AS-i circuit no power supplies or further masters may be attached.
Les bus AS-i 1 et 2 sont alimentés à partir de l’alimentation
AS-i.
Au câble pour l'alimentation aucun esclave ou répéteur ne
peut être raccordé.
Au câble pour le circuit AS-i aucune alimentation ou autre
maître ne peut être raccordé.
M4
7
8
AS-i-Kreis 1 und 2 werden aus AS-i-Netzteilen versorgt.
Am Kabel für das Netzteil dürfen keine Slaves oder Repeater angeschlossen werden.
Am Kabel für den AS-i-Anschluss dürfen keine AS-i-Netzteile oder weitere Master angeschlossen werden.
I circuiti AS-i 1 e 2 sono alimentati dall’alimentatore AS-i.
Al cavo per l’alimentazione nessun slave o ripetitore può
essere fissato.
Al cavo per il circuito AS-i nessun alimentatore o altro master può essere fissato.
Los circuitos AS-i 1 y 2 son alimentados de la fuente de poder AS-i.
En el cable de la alimentación no se deben conectar esclavos o repetidores.
En el cable del circuito AS-i no se debe conectar ninguna fuente de poder AS-i u otro master.
Ambient operating temperature: 0oC … +55oC
Temperature rating for cable: 60/75oC
Use copper conductors only
1 x 0.5 - 1.5 mm² (16AWG/kcmil: min. 24/max. 12)
RS232 connection
LED status display
LCD display
Ethernet connection
Buttons for hand operation
Ground
Raccordement RS232
Affichage d’état DEL
Affichage LCD
Raccordement Ethernet
Boutons pour commande manuelle
Terre
Collegamento RS232
Visualizzazione di stato LED
Visualizzazione LCD
Collegamento Ethernet
Pulsanti per le impostazioni manuali
Terra
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
1
2
3
4
5
6
Conexión RS232
LED visualización
Display LCD
Conexión Ethernet
Teclas para accionamiento manual
Tierra
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
157
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
15.2.3
Startup
15.2.3.1
Switching to advanced display mode
erweiterter Anzeigenmodus
advanced display mode
modo di visualizzazione avanzata
mode d‘affichage étendu
modo de visualisación avanzada
LCD
1x OK
1.12A
LCD
ETHERNET/IP
QUICK SETUP
SLAVE ADDR TOOL
SLAVE TEST TOOL
SETUP
1x ESC
siehe Zusatzblatt
see additional page
page supplémentaire
pagina supplementare
ver página adicional
klassische Anzeige
classical display
affichage classique
display classico
indicación clásica
15.2.3.2
Setting of ethernet properties
LCD
OK
ARM FIRMWARE
TCP/IP OBJECT
ETHERNET OBJECT
!
ARM FIRMWARE
TCP/IP OBJECT
ETHERNET OBJECT
OK
IF STATUS
IF CAPABILITY
IF CONTROL
...
!
USE DHCP
DNS DISABLED
Bei Verwendung von DHCP oder BOOTP
sind keine Einstellungen notwendig/ When
using DHCP or BootP, no adjustment is necessary/ En utilisant DHCP ou BOOTP, aucun réglage n'est nécessaire/ Usando DHCP
o il BOOTP, nessuna regolazione è necessaria/ Al usar DHCP o el BOOTP, no hay ajuste
necesario.
OK
USE STORED VAL.
DNS DISABLED
1xESC
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ.
TCP/IP CONFIG
USE BOOT P
DNS DISABLED
Ausgabedatum: 24.4.2007
OK
IF STATUS
IF CAPABILITY
IF CONTROL
...
OK
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
158
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
AS-Interface
Appendix: Installation Instructions
IF STATUS
IF CAPABILITY
IF CONTROL
PATH TO LINK OBJ.
TCP/IP CONFIG
!
OK
OK
"
...
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
ESC
!
GATEWAY
0.0.0.0
2xESC
ETHERNET/IP
QUICK SETUP
SLAVE ADDR TOOL
OK
Starten Sie das Gateway neu, damit die Änderungen
wirksam werden/ Restart the gateway to assume your
changes / Mettez la passerelle de nouveau en marche,
de sorte que les modifications deviennent efficaces /
Riavviare il gateway affinché le modifiche diventino efficaci/ Reinicie la pasarela para que los cambios sean
efectivos
Connecting of AS-i slaves
Power
Power
Ser. active (Ethernet Status-LED)
Ser. active
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface
Slave 1
Ausgabedatum: 24.4.2007
"
ESC
Config error
U AS-i
AS-i active
prg enable
LCD
1. 41
prj mode
AS-Interface
AS-Interface
Slave 1
SEARCHING SLAVES
AS-Interface
Slave 5
AS-Interface
Slave 24
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
LCD
AS-i Master
15.2.4
!
IP ADDRESS
192.168.42.149
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
IP ADDRESS
192.168.42.149
AS-i Master
↓
IP ADDRESS
192. 168. 42. 149
NET MASK
255. 255. 255. 0
GATEWAY
0.0.0
NET MASK
255. 255. 255. 0
OK
"
1. 1
0.5s
1. 5
0.5s
AS-Interface
Slave 5
AS-Interface
Slave 24
1.41
SEARCHING SLAVES
0.5s
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
159
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
15.2.5
Quick Setup
config error
1x OK
LCD
1. 5
1x OK
LCD
STORE AS-I
CONFIGURATION
OK
STORE +PRJ MODE
1x ↓
2x ESC
LCD
ETHERNET/IP
QUICK SETUP
SETUP
IO + PARAM. TEST
LCD
1.
CONFIGURATION OK
1x OK
LCD
WARNING:
OUTPUTS MAY BE
RESET
1x OK
LCD
HOST ERROR
NO CONNECTION
1x ↓
LCD
Ausgabedatum: 24.4.2007
STORE AS-I
CONFIGURATION
STORE +RUN
STORE +PRJ MODE
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
160
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
AS-Interface
Appendix: Installation Instructions
15.2.6
Error tracing
15.2.6.1
Faulty slaves
Power
LCD
AS-i Master
Ser. active (Ethernet/IP Status LED)
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
1.1
MISSING SLAVE
2.0s
AS-Interface
Slave 1
LCD
1.24
AS-Interface
Slave 5
MISSING SLAVE
AS-Interface
Slave 24
Error display (last error)
Power
Ser. active (Ethernet/IP Status LED)
Ser. active
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-i Master
Power
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface
Slave 1
AS-Interface
Slave 1
AS-Interface
Slave 5
AS-Interface
Slave 5
AS-Interface
Slave 24
LCD
HOST ERROR
NO CONNECTION
set/↓
24
Ausgabedatum: 24.4.2007
AS-Interface
Slave 24
AS-i Master
15.2.6.2
2.0s
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
161
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
15.2.7
Addressing
15.2.7.1
Programming slave 2 to address 6
LCD
1x ↓
1. 41
3x OK
LCD
SEARCHING SLAVE
1x OK
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
2x ↓
LCD
1x ↓
ETHERNET/IP
QUICK SETUP
SLAVE ADR TOOL
SLAVE TEST TOOL
LCD
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
1x OK
LCD
1x OK
SLAVE ADR TOOL
CONNECT NEW SLAVE
OLD ADDRESS
NEW ADDRESS
LCD
SLAVE ADR TOOL
OK
Master
Slave
Modul anschließen/Connect
module/Raccordez module/
Collegare modulo/Conecte modulo
2x ESC
LCD
1. 6
UNKNOWN SLAVE
Ausgabedatum: 24.4.2007
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 3
PRG
LCD
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
162
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
AS-Interface
Appendix: Installation Instructions
15.2.8
Montage
1
1
3
2
on mounting plate with 35 mm top-hat rail 1
15.2.8.1
Accessories
•
PC-Software "AS-i-Control-Tools" mit seriellem Kabel zum Anschluss der AS-i
Master in Edelstahl / Software AS-i-Control-Tools with serial cable for connection of the AS-i Master in stainless steel/ Logiciel "AS-i-Control-Tools" avec câble série pour la connexion du maître AS-i en acier inox/ Software PC "AS-iControl-Tools" con cavo seriale per il collegamento del master AS-i d’acciaio
inox/ Software de PC "AS-i-Control-Tools" con cable serial para la conexión del
Master AS-i en acero inoxidable
•
Cross-Link-Kabel/ Cross-Link cable/ Câble Ethernet UTP croisé/ Cavo CrossLink/ Cable Cross-Link
•
Ausgabedatum: 24.4.2007
AS-i-Netzteil 4 A/ AS-i-Power supply 4 A/ Alimentation AS-i 4 A/ Alimentazione
AS-i 4 A / Fuente de poder AS-i 4 A
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
163
Ausgabedatum: 24.4.2007
AS-i EtherNet/IP Gateway
Appendix: Installation Instructions
Zumutbare Änderungen aufgrund technischer Verbesserungen vorbehalten.
164
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs GmbH · 68301 Mannheim · Telefon (06 21) 7 76-11 11 · Telefax (06 21) 7 76 27-11 11 · Internet http://www.pepperl-fuchs.com
AS-i EtherNet/IP Gateway
Glossary: AS-i Terms
16
Glossary: AS-i Terms
A/B slave
AS-i slave with extensible addressing: The address range of an A/B slave runs
from 1A to 31A and from 1B to 31B. As the master needs the fourth output data bit
for switching between A and B address, A/B slaves only have three output data
bits maximum.
Activation phase
In the activation phase the detected slaves are activated by sending the parameter. This is indicated by a "42" on the Master's Display. This phase takes only
10 ms, tops, to short to be displayed.
AS-i power fail
Voltage drop on the AS-i line; by falling below an assigned value the master changes to the ⇒ Off-line phase.
Inclusion phase
After the data exchange with all AS-i slaves the master is searching for new slaves. For this purpose an detection telegram is sent to one AS-i address and in
case of an answer the master tries to read the ⇒ actual configuration of the slave.
Depending on the mode (⇒ protected mode or ⇒ configuration mode) and on the
actual configuration the detected slave will be activated.
After each data exchange with all AS-i slaves only one detection telegram is sent
to one slave address. So the AS-i cycle is always one telegram longer as expected
from the number of activated slaves (⇒ LAS).
Autoprog flags
Auto Address Enable; flag from the Host to the AS-i Master
With this flag, automatic addressing can be enabled or inhibited.
This flag is stored non-volatile in the Master.
Auto Address Assign, Auto Adress Possible; flag from the AS-i Master to the Host
The automatic programming is not inhibited and there is no configuration error.
A failing slave could be addressed automatically.
Auto Address Available, flag from the AS-i Master to the Host
Issue date - 24.4.2007
Exactly one AS-i slave is missing and the automatic programming is not inhibited.
If a slave with the address 0 and the profile of the missing slave is connected,
it receives the address of the missing slave automatically.
IO-Code
The first digit of the slave profile indicates the number of inputs and outputs of the
slave. A 4I/4O slave e.g. is associated to "7", a slave with 4 digital Inputs to "0".
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
165
AS-Interface
Glossary: AS-i Terms
Detection phase
In the detection phase at start-up the master is scanning for AS-i slaves. It remains
in this phase until at least one slave is detected. If the master remains in the detection phase this means that no slave was found. The reason for this may be a
wrong power supply or a wiring error.
The detection phase is displayed by code "41".
Protected mode
In protected mode only those slaves are activated which are registered in the
⇒ LPS and whose actual configuration matches with the target configuration.
See ⇒ configuration mode. This mode is intended for the normal operation, since
all AS-i protective measures are activated.
ID code
The ID code is unchangeably set by the manufacturer of the AS-i slave. The AS-i
Association defines the ID codes assigned to a certain category of slaves. All
⇒ A/B slaves e.g. possess the ID code "A".
ID1 code, extended ID1 code
The ID1 code is specified by the manufacturer of the slave. In contrast to the other
codes defining the profile this code can be modified by the master or by an addressing unit. The user should make use of this possibility only in exeptional cases,
otherwise ⇒ configuration errors may occur.
To make the distinction between the A and the B addresses in the case of A/B slaves, the bit with the highest value of the ID1 code is used. That is why only the
three lowest bits are relevant for these slaves. Since this code has been introduced with the new AS-i specification 2.1, it is also called extended ID1 code.
ID2 code, extended ID2 code
The ID2 code is unchangeably set by the manufacturer of the slave. The AS-i Association defines the ID2 codes assigned to a certain category of slaves. All twochannel 16-bit input slaves with the profile S-7.3 possess the ID2 code "D". Since
this code has been introduced with the new AS-i specification 2.1, it is also called
extended ID2 code.
Actual configuration
The configuration data of all slaves detected by the master. The configuration data
of one slave, the ⇒ slave profile, consists of:
Actual parameter
The AS-i parameter that have been sent last to the AS-i slave, in contrary to
⇒ permanent parameters.
Subject to reasonable modifications due to technical advances.
166
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 24.4.2007
⇒ IO code, ⇒ ID code, ⇒ extended ID1code 1, ⇒ extended ID2 code.
AS-i EtherNet/IP Gateway
Glossary: AS-i Terms
Configuration Error/Config Error
An configuration error is indicated, when target and actual configuration of the connected slaves do not match. The following cases may result in configuration errors:
Missing slave:A slave entered in the ⇒ LPS is not available
Erroneous type of slave:The ⇒ slave profile of the connected slave does not comply with the configured one.
Unknown slave:A connected slave is not entered in the ⇒ LPS.
LAS - List of Activated Slaves
The master exchanges IO data with the slaves entered in the LAS. In the proteced
mode only those detected slaves (⇒ LDS) are activated which are expected by the
master and are entered in the ⇒ LPS. In the configuration mode all slaves entered
in the ⇒ LDS are activated.
LDS - List of Detected Slaves
All slaves from which the master was able to read the ⇒ slave profile are entered
in the LDS.
LPF - List of Peripheral Faults
There is a list of peripheral faults only for masters fulfilling the new specification
2.1. This list includes an entry for each slave that signals a ⇒ peripheral fault.
LPS - List of Projected Slaves
The list of projected slaves includes all slaves expected by the master. All entries
of the ⇒ LDS are taken over to the LPS by storing the actual configuration (except
for a not addressed slave with the address 0).
Offline phase
In the offline phase all input and output data is reset. This phase is entered at startup of the master, after a ⇒ AS-i power fail, and at the transition of the ⇒ configuration mode to the ⇒ protected mode.
Furthermore the master can actively be put into the offline phase with the offline
flag.
Issue date - 24.4.2007
During the offline phase, masters with a display show code "40".
Subject to reasonable modifications due to technical advances.
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
167
AS-Interface
Glossary: AS-i Terms
Peripheral fault
A peripheral fault is shown on the master and on the slave by a red flashing LED.
Depending on the slave type it is possible to visualize an overflow, an overload of
the sensor's power supply or another fault regarding the peripheral equipment of
the slave.
Permanent configuration
The configuration data of all expected slaves stored in the master (⇒ slave profile). If the permanent configuration differs from the ⇒ actual configuration, there is
a configuration error.
Permanent parameter
The parameter stored in the master that are sent to the slave after start-up of the
master in the ⇒ activation phase.
Configuration mode
During the configuration mode the master exchanges data with all connected slaves, no matter which of the slaves are projected. In this mode it is possible to commission a system without being obliged to configure it before.
See also ⇒ protected mode.
Single slave
Compared to an ⇒ A/B slave a single slave can only be addressed from the
address 1 to 31; the fourth data output bit can be used. All slaves of the older specification 2.0 are single slaves.
There are also slaves fulfilling the new specification 2.1 that are single slaves, e.g.
the newer 16-bit slaves.
Slave profile
The configuration data of a slave consisting of:
⇒ IO code, ⇒ ID code, ⇒ extended ID1 code, ⇒ extended ID2 code.
The slave profile is to differentiate between the different slave categories. It is specified by the AS-i Association and preset by the slave manufacturer.
Issue date - 24.4.2007
AS-i 2.0 slaves do not have extended ID1 and ID2 codes. In this case an AS-i master 2.1 enters "F" the extended ID1 and the extended ID2 code.
Subject to reasonable modifications due to technical advances.
168
Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
VBG-EN-K20-D(MD)
With regard to the supply of products, the current issue of the following document is applicable: The General Terms of Delivery for Products and Services of the Electrical Industry,
published by the Central Association of the Electrical Industry (Zentralverband Elektrotechnik und Elektroindustrie (ZVEI) e.V.) in its most recent version as well as the supplementary
clause: "Expanded reservation of proprietorship"
FACTORY AUTOMATION –
SENSING YOUR NEEDS
Worldwide Headquarters
Pepperl+Fuchs GmbH
68307 Mannheim · Germany
Tel. +49 621 776-0
E-mail: info@de.pepperl-fuchs.com
USA Headquarters
Pepperl+Fuchs Inc.
Twinsburg, Ohio 44087 · USA
Tel. +1 330 4253555
E-mail: sales@us.pepperl-fuchs.com
Asia Pacific Headquarters
Pepperl+Fuchs Pte Ltd.
Company Registration No. 199003130E
Singapore 139942
Tel. +65 67799091
E-mail: sales@sg.pepperl-fuchs.com
www.pepperl-fuchs.com
Subject to modifications
Copyright PEPPERL+FUCHS • Printed in Germany
TDOCT-1110AENG
195393
04/2007
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising