78
Description AS-i Gateway English Gateway AS-i - PROFIBUS CESA-GW-AS-PB 749962 1002NH

AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

Gateway AS-i - PROFIBUS

CESA-GW-AS-PB

Description

AS-i Gateway

English

7499621002NH

Page 2: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging
Page 3: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

Weitergabe sowie Vervielfältigung dieses Doku-ments, Verwertung und Mitteilung seines Inhaltssind verboten, soweit nicht ausdrücklich gestattet.Zuwiderhandlungen verpflichten zu Schadenersatz.Alle Rechte sind für den Fall der Patent-, Gebrauchs-muster- oder Geschmacks- mustereintragung vorbe-halten.The reproduction, distribution and utilization of thisdocument as well as the comunication of its contentsto others without express authorization is prohibited.Offenders will be held liable for the payment of dam-ages. All rights reserved in the event of the grant of apatent, utility module or design.Sin nuestra expresa autorización, queda terminante-mente prohibida la reproducción total o parcial deeste documento, así como su uso indebido y/o ex-hibición o comunicación a terceros. De los infractoresse exigirá el correspondiente resarcimiento de dañosy perjuicios. Quedan reservados todos los derechosinherentes, en especial los de patentes, de modelosregistrados y estéticos.Toute communication ou reproduction de ce docu-ment, sous quelque forme que ce soit, et toute ex-ploitation ou communication de son contenu sont in-terdites, sauf autorisation écrite expresse. Toutmanquement à cette règle est illicite et expose sonauteur au versement de dommages et intérêts. Tousdroits réservés pour le cas de la délivrance d'un bre-vet, d'un modèle d'utilité ou d'un modèle de présen-tation.È vietato consegnare a terzi o riprodurre questo docu-mento, utilizzarne il contenuto o renderlo comunquenoto a terzi senza esplicita autorizzazione. Ogni in-frazione comporta il riscarimento dei danni subiti.Sono riservati tutti i diritti derivanti dalla conces-sione di brevetti per invenzioni industriali di utilità odi brevetti per modelli ornamentali.Detta dokument får inte utan vårt tillstånd utlämnastill obehöriga eller kopieras, ej heller får dess inne-håll delges obehöriga eller utnyttjas. Överträdelsemedför skade- ståndskrav. Alla rättigheter förbe-hålls, särskilt rätten att inlämna patent-, bruksmön-ster- eller mönsteransökningar.

Copyright:© Festo AG & Co. KG,PostfachD-73726 Esslingen

Phone:+49 / 711 / 347-0Fax:+49 / 711 / 347-2144

e-mail:[email protected]

Internet:http://www.festo.com

Original: deVersion: 1002NH

Page 4: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging
Page 5: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

Table of contents

AS-i 3.0 PROFIBUS Gateway in Stainless Steel

1 Symbol catalog..................................................................................... 81.1 Abbreviations......................................................................................................8

2 General .................................................................................................. 92.1 Product information............................................................................................9

2.2 Technical data.....................................................................................................9

2.3 AS-i specification 3.0..........................................................................................9

3 Safety .................................................................................................. 103.1 Intended use......................................................................................................10

3.2 General safety information ..............................................................................10

3.3 Disposal .............................................................................................................10

4 Installation .......................................................................................... 114.1 Dimensions........................................................................................................11

4.2 Connections ......................................................................................................11

4.3 Installing in the control cabinet.......................................................................11

4.4 Removing...........................................................................................................12

4.5 Electrical Connection .......................................................................................12

4.6 Startup ...............................................................................................................134.6.1 Switching to advanced display mode................................................................................134.6.2 Setting the PROFIBUS-DP address 14 ..............................................................................13

4.7 Connecting AS-i Slaves....................................................................................14

4.8 Error tracing ......................................................................................................154.8.1 Faulty slaves........................................................................................................................154.8.2 Error display (last error) .....................................................................................................15

4.9 Quick setup .......................................................................................................16

4.10 Addressing ........................................................................................................174.10.1 Program slave 0 to address 4.............................................................................................17

5 Electrical connection ......................................................................... 185.1 Overview of terminals, indicators and operating elements ..........................185.1.1 CESA-GW-AS-PB.................................................................................................................18

CESA-GW-AS-PB Description 4

Page 6: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

5.2 AS-i bus connection......................................................................................... 19

5.3 AS-i and power supply terminal assignments............................................... 195.3.1 Electrical connection CESA-GW-AS-PB ......................................................................... 20

5.4 PROFIBUS interface ......................................................................................... 205.4.1 Terminating resistors on the PROFIBUS network .......................................................... 21

5.5 Diagnostics interface ....................................................................................... 215.5.1 Diagnostics port RS 232..................................................................................................... 21

5.6 Indicators and operating elements ................................................................. 225.6.1 LED indicators – master..................................................................................................... 225.6.2 Buttons ................................................................................................................................ 23

6 Operation in advanced display mode...............................................246.1 Overview............................................................................................................ 24

6.2 Navigating through the advanced display mode........................................... 26

6.3 PROFIBUS (main menu)................................................................................... 276.3.1 PROFIBUS address (PROFIBUS Station Address) .......................................................... 276.3.2 ADR. OVER PB (Set address via PROFIBUS)................................................................... 276.3.3 I+M DIENSTE (Information and maintenance services) .................................................. 286.3.4 PROFIBUS STATUS ............................................................................................................ 28

6.4 AS-I CONTROL (option) ................................................................................... 296.4.1 CONTROL INFO................................................................................................................... 296.4.2 CONTROL RUN ................................................................................................................... 306.4.3 CONTROL FLAGS (control program flag memory) ......................................................... 30

6.5 QUICK SETUP ................................................................................................... 31

6.6 SLAVE ADR TOOL............................................................................................ 31

6.7 SLAVE TEST TOOL .......................................................................................... 32

6.8 SETUP (configuration of an AS-i network)..................................................... 346.8.1 AS-I SLAVE ADR. (set/change slave address) ................................................................. 356.8.2 FORCE OFFLINE (Switch AS-i Master to offline operation)............................................ 356.8.3 OPERATION MODE............................................................................................................. 366.8.4 STORE ACTUAL (store currently detected configuration) ............................................. 366.8.5 PERMANENT PARA (permanent parameters).................................................................. 376.8.6 PERMANENT CONFIG (permanent configuration data) .................................................. 376.8.7 AS-I ADDRESS (AS-i address assistant) .......................................................................... 386.8.8 LOS (list of offline slaves).................................................................................................. 386.8.9 AUTO ADDR (enable automatic address)......................................................................... 396.8.10 FACTORY RESET (factory default settings)..................................................................... 39

6.9 IO + PARAM.TEST ............................................................................................ 396.9.1 BINARY INPUTS .................................................................................................................. 406.9.2 BINARY OUTPUTS .............................................................................................................. 416.9.3 ANALOG INPUTS ................................................................................................................ 416.9.4 ANALOG OUTPUTS ............................................................................................................ 426.9.5 PARAMETER ....................................................................................................................... 43

6.10 DIAGNOSIS ....................................................................................................... 436.10.1 FLAGS.................................................................................................................................. 446.10.2 ACTUAL CONFIG (actual slave configuration) ................................................................ 456.10.3 LPF (List of Peripheral Faults)........................................................................................... 466.10.4 AS-I MASTER (info)............................................................................................................. 47

6.11 ADV. DIAGNOSIS (advanced diagnostics)..................................................... 47

CESA-GW-AS-PB Description 5

Page 7: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.11.1 ERROR COUNTERS ............................................................................................................476.11.2 LCS (History of the slaves which have triggered a configuration error) .......................486.11.3 FAULT DETECTOR..............................................................................................................49

6.12 AS-I SAFETY......................................................................................................496.12.1 SAFETY SLAVES (safety oriented slaves) ........................................................................506.12.2 SAFETY MONITOR ..............................................................................................................506.12.3 SAFETY SUBST VAL (Substitute values for input data from safe slaves).....................51

6.13 Language (menu language) .............................................................................52

6.14 DISPLAY CONTRAST (set display contrast) ..................................................52

7 PROFIBUS DP..................................................................................... 537.1 DP Telegrams....................................................................................................537.1.1 Diagnostics ..........................................................................................................................537.1.1.1 Parameters ............................................................................................................................557.1.2 Configuration DP/V0 (cyclic data)......................................................................................567.1.2.1 Options ..................................................................................................................................577.1.3 I/O Data.................................................................................................................................597.1.3.1 Process data .........................................................................................................................597.1.3.2 EC flags and AS-i watchdog..................................................................................................617.1.3.3 AS-i 16-bit data......................................................................................................................617.1.3.4 Command interface ...............................................................................................................62

7.2 DP/V1 .................................................................................................................63

7.3 Restrictions .......................................................................................................63

8 Advanced Diagnostics for AS-i Masters .......................................... 648.1 List of corrupted AS-i Slaves (LCS) ................................................................64

8.2 Protocol analysis: Counters for corrupted data telegrams ..........................64

8.3 Offline Phase for Configuration Errors...........................................................65

8.4 Functions of the AS-i Fault Detector...............................................................658.4.1 Duplicate address detection...............................................................................................658.4.2 Earth/Ground Fault Detector ..............................................................................................668.4.3 Noise Detector .....................................................................................................................668.4.4 Over-voltage Detector .........................................................................................................66

9 System startup using AS-i Control Tools ........................................ 679.1 Windows software AS-i Control Tools............................................................67

10 Codes indicated by the display ........................................................ 71

11 Glossary.............................................................................................. 73

CESA-GW-AS-PB Description 6

Page 8: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

CESA-GW-AS-PB Description 7

Conformity Statement

The conformity statement according to the EC EMC-, low voltage, and -maschinery directive can be sent to by request.

Additional information can be found in the Festo basic catalogue or in the online catalogue in internet at www.festo.com.

Subject to technical modifications.

Page 9: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

CESA-GW-AS-PB Description 8

1. Symbol catalog

1.1 Abbreviations

Information!This symbol indicates important information.

Attention!This symbol warns of a potential failure. Non-compliance may lead to interruptions ofthe device, the connected peripheral systems, or plant, potentially leading to total mal-functioning.

Warning!This symbol warns of an imminent danger. Non-compliance may lead to personal inju-ries that could be fatal or result in material damages and destruction.

Information!Additional information can be found in section <Glossary>.

Page 10: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

CESA-GW-AS-PB Description 9

2. General

2.1 Product informationThis system manual applies to the following Festo equipment:

The AS-i/PROFIBUS Gateways serve to connect AS-i systems to the superordi-nate PROFIBUS. The gateways act as a master for AS-i and as a slave onPROFIBUS.The AS-i/PROFIBUS Gateways are designed to connect AS-i systems to an up-per-level PROFIBUS network. The gateways act as a master for AS-i and as aslave on PROFIBUS.All AS-i functions can be used cyclically as well as acyclically via PROFIBUS DP/ V1.For the cyclical data transfer up to 32 bytes of I/O data can be transferred as bi-nary data for one AS-i network. Additionally, analog signals and all available com-mands of the new AS-i specification can be transferred via the command channelthrough PROFIBUS.On the serial PROFIBUS Master AS-i Control Tools can be used to monitor theAS-i data online via PROFIBUS DP/V1.

2.2 Technical dataThe technical data are placed in the data sheet. Please view the current versionon the web page: http://www.festo.com

2.3 AS-i specification 3.0The AS-i 3.0 gateways already fulfil the AS-i specification 3.0.The previous specifications (2.1 and 2.0) are supported as well.

Advanced DiagnosticsDiagnostics, which go far beyond the standard diagnostics facilitate the simpledetection of the occasionally occurring configuration errors and further irritationstowards the AS-i communication. So in case of an error the down time of ma-chines can be minimized or you can initiate preventive maintenance.

Commissioning and monitoringThe AS-i Gateway can be commissioned via the RS 232 diagnostics interfaceand the software "AS-i Control Tools".Commissioning, debugging and setting up of the AS-i parameters can also be ac-complished with the use of push-buttons on the frontside of the gateway, the dis-play and the LEDs.

AS-i 3.0 PROFIBUS Gateway in Stainless Steel CESA-GW-AS-PB Tab. 2-1.

Page 11: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

CESA-GW-AS-PB Description 10

3. Safety

3.1 Intended use

3.2 General safety information

3.3 Disposal

Warning!This symbol warns of a possible danger. The protection of operating personnel and thesystem against possible danger is not guaranteed if the control interface unit is notoperated in accordance to its intended use.

Warning!Safety and correct functioning of the device cannot be guaranteed if any operationother than described in this operation manual is performed. Connecting the equipmentand conducting any maintenance work under power must exclusively be performed byappropriately qualified personnel. In case a failure cannot be eliminated, the devicemust be taken out of operation and inadvertently operation must be prevented. Repairwork must be performed by the manufacturer only. Additions or modifications to theequipment are not permitted and will void the warranty.

Information!The operator is responsible for the observation of local safety standards.

Information!Electronic waste is hazardous waste. Please comply with all local ordinances whendisposing this product!The device does not contain batteries that need to be removed before disposing it.

Page 12: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

4. Installation

4.1 Dimensions

4.2 Connections

4.3 Installing in the control cabinetThe AS-i/Gateway is installed in the control cabinet on 35mm DIN rails per DINEN 50 022.

55

75 120

7

76

5 ... 6 mm / PZ2

0,8 Nm 7 LB.IN

2 x (0,5 .... 1,5) mm2

2 x (0,5 .... 1,5) mm2

AWG 2 x 24 ...12

10

10

Information!The enclosure of the AS-i/Gateway is made of stainless steel. The unit is also suitablefor exposed wall mounting.

CESA-GW-AS-PB Description 11

Page 13: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

To install, place the unit on the upper edge of the DIN rail and then snap in thelower edge.

4.4 Removing

To remove, press the holding clamps [2] down using a screwdriver [1], press theunit firmly against the upper rail guide and lift out.

4.5 Electrical Connection

+ -+ - + -

[1]

[2]

1

2

3+ -+ - + -

Information!Electrical connections are described in section <Electrical connection>.

Information!See also section <Operation in advanced display mode> for further information.

CESA-GW-AS-PB Description 12

Page 14: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

4.6 Startup

4.6.1 Switching to advanced display mode

4.6.2 Setting the PROFIBUS-DP address 14

OK

ESC

klassische Anzeigeclassical displayaffichage classiquedisplay classicoindicación clásica

Menüaufbau siehe Zusatzblattmenu structure see additional pagestructure de menu voir page supplémentairestruttura di menu vedi pagina supplementareestructura del menu ver página adicional

LCD.12AUNKNOWN SLAVE

LCDPROFIBUSQUICK SETUPSETUPSLAVE ADR TOOÖ

erweiterter Anzeigemodusadvanced display modemode d‘affichage étendumodo di visualizzazione avanzatamodo de visualisación avanzada

LCDPROFIBUS

OK

QUICK SETUPASI SAFETY

OK

LCDPROFIBUS ADDRESSPROFIBUS STATUS

LCDPROFIBUS ADDRESSOLD ADDRESS 3

2x ↓

OK

NEW ADDRESS 000

LCDPROFIBUS ADDRESSOLD ADDRESS 3NEW ADDRESS 000

CESA-GW-AS-PB Description 13

Page 15: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

4.7 Connecting AS-i Slaves

LCDPROFIBUSQUICK SETUPSETUP

The device is set to address 3 at the factory.

LCDPROFIBUS ADDRESSOLD ADDRESS 14

2x ESC

NEW ADDRESS 000

2x ESC

2x OK ↑ OK

LCDPROFIBUS ADDRESSOLD ADDRESS 3NEW ADDRESS 010

4x ↑ OK

Slave 1AS-i

Slave 5AS-i

LCD

0.5s

Slave 1AS-i

Slave 5AS-i

AS-iprj mode

Config error

prg enable

AS-i active

U AS-i

Profibus

Power

AS-iprj mode

Config error

prg enable

AS-i active

U AS-i

Profibus

Power

. 5

. 1

AS-

i Mas

ter

LCD

. 41SEARCHING SLAVES

AS-i

Mas

ter

0.5s

0.5s

. 24

CESA-GW-AS-PB Description 14

Page 16: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

4.8 Error tracing

4.8.1 Faulty slaves

4.8.2 Error display (last error)

Slave 1AS-i

Slave 5AS-i

Slave 24AS-i

.1AS-i

prj mode

Config error

prg enable

AS-i active

U AS-i

Profibus

Power

.24

MISSING SLAVE

MISSING SLAVE

2s

2s

LCD

LCD

AS

-i M

aste

r

Slave 1AS-Interface

Slave 5AS-Interface

Slave 24AS-Interface

AS-Interface

24

LCD

set/↓Slave 1AS-Interface

Slave 5AS-Interface

Slave 24AS-Interface

AS-Interfaceprj mode

Config error

prg enable

AS-i active

U AS-i

Profibus

Power

prj mode

Config error

prg enable

AS-i active

U AS-i

Profibus

Power

HOST ERRORNO CONNECTIONAS

-i M

aste

r

AS-

i Mas

ter

CESA-GW-AS-PB Description 15

Page 17: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

4.9 Quick setup

config error

LCD

.CONFIGURATION OK

LCDPROFIBUSQUICK SETUPSETUPSLAVE ADR TOOL

OK ↓

LCDWARNING:OUTPUTS MAY BERESET

OK ↓

OK

LCDSTORE AS-ICONFIGURATIONSTORE +RUN

LCDSTORE AS-INTERFACECONFIGURATION

2x ESC

OK

LCD

. 5

LCD

HOST ERRORNO CONNECTION

OK

STORE +PRJ MODE

STORE +PRJ MODE

CESA-GW-AS-PB Description 16

Page 18: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

4.10 Addressing

4.10.1 Program slave 0 to address 4

LCD . 41SEARCHING SLAVE

OK 2x ↓

LCDPROFIBUSQUICK SETUPSLAVE ADR TOOL

OK

SLAVE TEST TOOL

LCDSLAVE ADR TOOLCONNECT NEW SLAVE

LCDSLAVE ADR TOOLOLD ADDRESS 2NEW ADDRESS 3PRG

1x ↓

LCDSLAVE ADR TOOLOLD ADDRESS 2NEW ADDRESS 6

2x ESC

LCD . 6UNKNOWN SLAVE

LCDSLAVE ADR TOOL OK

OLD ADDRESSNEW ADDRESS

3xOK

PRG

1x ↓

LCDSLAVE ADR TOOLOLD ADDRESS 2NEW ADDRESS 6PRG

OK

Master Slave

Modul anschließen/Connect module/Raccordez le module/Collegare il modulo/Conecte modulo

CESA-GW-AS-PB Description 17

Page 19: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

5. Electrical connection

5.1 Overview of terminals, indicators and operating elements

5.1.1 CESA-GW-AS-PB

Legend:[1] RS232 diagnostics port1

[2] LEDs[3] D-sub connection (PROFIBUS interface)[4] LC display[5] Push-buttons[6] AS-i and power supply terminal

1. Only in conjunction with AS-i Control Tools

+ -+ - + -

[5]

[2]

[4]

[3]

5 ... 6 mm / PZ2

0,8 Nm 7 LB.IN

2 x (0,5 .... 1,5) mm2

2 x (0,5 .... 1,5) mm2

AWG 2 x 24 ...12

10

10[6]

[1]

CESA-GW-AS-PB Description 18

Page 20: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

5.2 AS-i bus connection

5.3 AS-i and power supply terminal assignments

Yellow ASi ribbon cable

BlueAS-i-

BrownAS-i+

2-conductor AS-i round cable(Recommended: flexible power cableH05VV-F2x1,5 per DIN VDE 0281)

BlauAS-i-

BraunAS-i+

Information!Electrical work is to be performed only by electrical technicians.

Information!The cable indicated by grey must not have slaves or repeaters connected to it.The yellow cable must not have AS-i power suppliers or additional masters connectedto it.

Information!The function ground can be connected either to the grounding screw or to the terminal.The function ground should be made with as short a cable as possible to ensure goodEMC characteristics.Therefore function grounding using the grounding screw is preferred.

CESA-GW-AS-PB Description 19

Page 21: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

5.3.1 Electrical connection CESA-GW-AS-PB

5.4 PROFIBUS interfaceThe PROFIBUS interface is designed as a 9-pin D-SUB connector, in accordancewith the PROFIBUS standard EN 50 170. It is located at the top left-hand side ofthe master..

+ -+ - + -

ASI +PWR– (max. 8A)

+ASI –

+ASI –

M45 mm max!

Function ground

Terminal Signal / Description+AS-i– Connection to AS-i CircuitASI +PWR– Supply voltage for AS-i Circuit (max. 8 A)FE Function ground

Information!For additional information, please refer to the section <AS-i and power supply terminalassignments>.

PIN Designation of the D-SUB connector

Pin 3 Data line B („RxD/TxD-P“)Pin 5 DGND (0 V)Pin 6 VP / +5 VPin 8 Data line A („RxD/TxD-N“)

54321

9876

RxD/TxD-P(data line B)

RxD/TxD-N(data line A)

PROFIBUSVP / +5 Volt)

DGND (0 Volt)

CESA-GW-AS-PB Description 20

Page 22: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

The AS-i/PROFIBUS gateway sends and receives signals on pins 3 and 8 of theD-SUB connector. The PROFIBUS signal “RxD/TxD-N (data line A)1” is locatedon pin 8, the signal “RxD/TxD-P (data line B)1” is located on pin 3.Pin 5 (0 V) and pin 6 (5 V) supply 5 V DC for the bus termination resistor.

5.4.1 Terminating resistors on the PROFIBUS network

5.5 Diagnostics interfaceThe service and diagnostics interface (in conjunction with AS-i Control Toolssoftware) is used for communication between the PC and the unit.

5.5.1 Diagnostics port RS 232

The service and diagnostics interface is configured as a mini DIN-6 female and itis placed at the top of the housing (see section <Overview of terminals, indicatorsand operating elements>).

1. If you measure the DC voltage between RxD/TxD-P (data line B) and RxD/TxD-N (data line A), RxD/TxD-P (data line B) is the positive pole when the bus is silent.

A A A

B B B

390

220

390

Host AS-i Master AS-i Master

390

220

390

5V 5V

GND GND

CESA-GW-AS-PB Description 21

Page 23: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

5.6 Indicators and operating elements

5.6.1 LED indicators – master

The LED’s on the front panel of the device indicate:

PROFIBUS

Power

The master is receiving sufficient power.

PROFIBUS

LED an: Gateway is allocated to a PROFIBUS Master.LED aus: Gateway is not allocated to a PROFIBUS Master.

config error

Configuration error.At least one configured slave is missing, or at least one detected slave is not config-ured, or for at least one configured and detected slave the actual configuration data does not match the nominal configuration data, or the master is in the startup proc-ess.This LED flashes if a peripheral fault has been detected for at least one AS-i slave on the AS-i network. If there are configuration errors as well as periphery faults, only the configuration error is displayed.

U AS-i

The AS-i network is sufficiently powered.

AS-i active

Normal operation is active

prg enable

Automatic single node replacement is enabled. Exactly one slave is missing in the protected operating mode. The slave can be replaced by another slave of the same type with address zero. The master automati-cally addresses the new slave to the faulty address and thus corrects the configura-tion error

prj mode

The AS-i master is in configuration mode.

CESA-GW-AS-PB Description 22

Page 24: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

5.6.2 ButtonsThe buttons are used for the following:

For additional information see section <Operation in advanced display mode>.

Mode/⇑

Switching between configuration mode and protected operating mode, and saving the current AS-i configuration as the nominal configuration.

Set/⇓

Selecting the address of and assigning an address to a slave.

OK

Changing to the advanced display mode.

ESC

This button is used to leave the advanced display mode.

CESA-GW-AS-PB Description 23

Page 25: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6. Operation in advanced display mode

6.1 Overview

Information!From SETUP/LANGUAGE you can set the desired menu language (German, English,French, Italian or Spanish), see <Language (menu language)>.

.12AClassic mode

green marked data can be edited Advanced display mode

Basic OperationThe 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.

BINARY INPUTSBINARY OUTPUTSANALOG INPUTSANALOG OUTPUTSPARAMETER

BINARY INPUTSD3...D0 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

PARAMETER | 1A- 0

2A- 2 | 3A- F 4A- E | 5A- 3

ANALOG INPUTS 1 X (SINGLE SLAVE) 2 A (A-SLAVE) 3 B (B-SLAVE)..31

ANALOG OUTPUTS 1 X (SINGLE SLAVE) 2 A (A-SLAVE) 3 B (B-SLAVE)..31

WARNING:OUTPUTS MAY BESET AND HOST MAYLOOSE CONTROL.

WARNING:OUTPUTS MAY BERESET

ANALOG OUT 1

....

0

1

2 +32767 OVERFL

3

+2500

+17898

-20023

STORE AS-ICONFIGURATIONSTORE + RUNSTORE + PRJ MODE

ANALOG IN 10 +2500

1 +17898

2 +32767 OVERFL

3 -20023

....

AS-I CONTROLPROFIBUS

ADV. DIAGNOSIS AS-I SAFETY

IO + PARAM.TESTDIAGNOSIS

QUICK SETUPSLAVE ADR TOOLSLAVE TEST TOOLSETUP

LANGUAGE

SLAVE ADR TOOLCONNECTOLD ADDRESS 21ANEW ADDRESS 03BPRG

....30A- 8 | 31A- 9

| 1B- 0 2B- E | 3B- 0

...

WARNING:OUTPUTS MAY BE

LOOSE CONTROL.

SLAVE ADR 21AOK

BINARY INPUTS 1

BINARY OUTPUTS ANALOG INPUTS

ANALOG OUTPUTS0

1

+1

+2

FF

0A72

0000

1 +32767 OVERFL

1

PARAM PERM PARAM

PERM CONF

SET AND HOST MAY

SLAVE TEST TOOLSLAVE ADR 21ATEST

4B- E | 5B- 0...30B- 8 | 31B- 9

AS-I SLAVE ADDROLD ADDRESS NEW ADDRESS

21A03B

PERMANENT PARAM | 1A- 0

2A- 2 | 3A- F 4A- E | 5A- 3....30A- 8 | 31A- 9

| 1B- 0 2B- E | 3B- 0 4B- E | 5B- 0...30B- 8 | 31B- 9

PERMANENT CONFIGIO ID XID1 XID2 1A - 7 F 3 4...31A - 7 F 3 4 1B - 7 F 3 4...31B - 7 F 3 4

STORE ACTUALCONFIGURATIONSTORE

AS-I ADDRESSASSISTANT ONNEXT ADDRESS TOPROGRAM: 1A

FORCE OFFLINENOCHANGE

AS-I SLAVE ADDRFORCE OFFLINEOPERATION MODESTORE ACT CFGPERMANENT PARAMPERMANENT CFGADDR.ASSISTANTLOSAUTO ADDR ENABLEFACTORY RESET

OPERATION MODECONFIG MODECHANGE

FACTORY RESETDO RESET

FACTORY RESETDO RESET

AUTO ADDRESSENABLECHANGE

DISPLAY CONTRAST

LOS LIST OFOFFLINE SLAVESCLEAR ALLSET ALL

| 1A- X

....

2A- | 3A- 4A- X | 5A- X....30A- X | 31A-

| 1B- X 2B- X | 3B- X 4B- X | 5B- X...30B- X | 31B- X

TEST

QUICK SETUP

SETUP

PROFIBUS ADDRESSOLD ADDRESS 099NEW ADDRESS 003

SET ADDR OVER PBDISABLECHANGE

PROFIBUS ADDRESSSET ADDR OVER PBI+M SERVICESPROFIBUS STATUS

PROFIBUS

I+M SERVICESI+M ACTIVATEDCHANGE

CONTROL INFOCONTROL RUNCONTROL FLAGS

CONTROL INFOSTART BIT SETRUNNINGCYCLE TIMEACT: 2MSMAX: 5MS

CONTROL RUNRUNCHANGE

CONTROL FLAGS0: 2A 47 2B 2C4: 83 BD F2 58...124:4A C3 84 7A

PROFIBUS STATUS DPV0: CONN DPV1: CONN

CONFIG 0A72

BINARY OUTPUTSD3...D0 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

(option)

Commissioning

CESA-GW-AS-PB Description 24

Page 26: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

.12AClassic Mode

green marked data can be edited Advanced display mode

Basic OperationThe 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.

Commissioning

FLAGSACTUAL CONFIGLPFAS-I MASTER

ACTUAL CONFIG 0A | 1A-C

...30A-X | 31A-D

| 1B-X...30A | 31B-FHELP:X O.K.D DETECTED ONLY UNKNOWN SLAVEP PROJ. ONLY MISSING SLAVEC TYPE CONFLICTF PERIPH. FAULTA DUPLICATE ADR

LPF LIST OFPERIPH. FAULTS

| 1A-X 2A- | 3A-

4A-X | 5A-X....30A-X | 31A-

| 1B-X 2B-X | 3B-X 4B-X | 5B-X...30B-X | 31B-X

VERSION20000919FEATURE STRINGZEFOD1.AS.ER

0A - .... -

1A - 7A28 -C TYPE CONFLICT

LCS LIST OFCORRUPTED SLAVESRESET

ERROR COUNTERSRESET 1A - 0

...31A - 65535 1B - 34...30B - 0

ERROR COUNTERSLCSFAULT DETECTOR

| 1A-X 2A- | 3A-

4A-X | 5A-X....30A-X | 31A-

| 1B-X 2B-X | 3B-X 4B-X | 5B-X

...30B-X | 31B-X

SAFETY ORIENTEDSLAVES

| 1- 2-XX | 3-RR....

30-RX | 31-XRHELP:X O.K.R CH. RELEASED

SAFETY SLAVESSAFETY MONITORSAFE SUBST VAL

FLAGS: 0131 05 0000 0001 0011 0001 0000 01011 PERIPHERY_OK0 OFFLINE_READY0 AS-I_PWR_FAIL1 NORMAL_OP.1 CONFIG_ACTIVE0 AUTO_ADDR_AVL0 0 LDS.01 CONFIG_OK

1 AUTO_ADDR_ENA0 OFFLINE1 DATA_EXCH_ACT

AUTO_ADDR_ASN

FAULT DETECTORRESET HISTORY:EFLT OVRV NOISACTUAL:EFLT OVRV NOISDUP ASI ADR: 0 |31BHELP:EFLT EARTH FAULTOVRV OVERVOLTAGENOIS NOISEDUP ASI ADR DUPLICATE ASI SLAVE ADDRESS

SAFETY MONITORADDRESS MODE: OK

17SORTED/V1

SAFETY MONITORDIAGNOSISADDR: 17MODE: SORTED/V1STATUS: OKCH.1: OFFCH.2: OFF1-32: GREEN...

AS-I CONTROLPROFIBUS

ADV. DIAGNOSISAS-I SAFETY

IO + PARAM.TESTDIAGNOSIS

QUICK SETUPSLAVE ADR TOOLSLAVE TEST TOOLSETUP

LANGUAGEDISPLAY CONTRAST

SAFE SUBST VALSUBSTITUTECHANGE

AS-I SAFETYADV. DIAGNOSISDIAGNOSIS

DISPLAY CONTRDEFAULT

ENGLISH XDEUTSCHFRANCAISITALIANOESPANOL

CESA-GW-AS-PB Description 25

Page 27: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.2 Navigating through the advanced display mode

The device starts up in the classical mode. Pressing the OK button switches tothe advanced mode. To return to the classical mode, the ESC button must bepressed several times. In the advanced mode, the selection menu can be moved up and down by usingthe two arrow buttons. Pressing OK switches to the selected function or to thedisplayed menu, respectively. Pressing ESC returns to the previous menu. To edit a value it must be highlighted by using the selection bar and then press-ing OK. The data can be changed by using the arrow-buttons. Changes are con-firmed with OK. The ESC button cancels the editing process. All possible slave addresses are displayed in sequence from 1 A to 31 A andfrom 1 B to 31 B. Data for single slaves are displayed along with the addresses1 A to 31 A.

Warning!Classical (traditional) mode does not guarantee any protection of the settings of thedevice! In the classical mode, it is possible to change settings while the device is in operation.This can lead to failures of the installation/process (for example changing the addressof an AS-i slave).

1.12A

PROFIBUSAS-I CONTROLQUICK SETUPSLAVE ADR. TOOLSLAVE TEST TOOLSETUPIO + PARAM.TESTDIAGNOSISDISPLAY CONTRASTADV. DIAGNOSEAS-I SAFETYLANGUAGEDISPLAY CONTRAST

Information!Some of the settings in the advanced mode are protected as long as the upstreamfieldbus running. That means that some status information can be displayed only.To protect the installation/process, many options such as "change address", "writeparameter", "set outputs", etc. cannot be performed with an active connection to thecontrol system (active PROFIBUS masters Class 1Bus connection) . In order to exe-cute these commands via the display, the connection to the control system must bedeactivated first (no PROFIBUS Master Class 1 connection).

CESA-GW-AS-PB Description 26

Page 28: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.3 PROFIBUS (main menu)

6.3.1 PROFIBUS address (PROFIBUS Station Address)Main menu || PROFIBUS || PROFIBUS ADDRESS ||

This function is used to set and change the PROFIBUS station address.The number following OLD ADDRESS shows the current station address. By se-lecting NEW ADDRESS, the address can be changed.

6.3.2 ADR. OVER PB (Set address via PROFIBUS) Main menu || PROFIBUS || ADR. OVER PB ||

By using this function the option of changing the address via PROFIBUS can beswitched on and off.CHANGE: the display switches between ENABLED and DISABLED.

PROFIBUS ADDRESSADDR. OVER PBI+M SERVICESPROFIBUS STATUS

PROFIBUS ADDRESSOLD ADDRESS 099NEU ADRESS 003

PROFIBUS ADDRESSADDR. OVER PBI+M SERVICESPROFIBUS STATUS

ADDR. OVER PBDISABLEDCHANGE

DISABLED: address modification via PROFIBUS is not possibleENABLED: address modification via PROFIBUS is possible

CESA-GW-AS-PB Description 27

Page 29: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.3.3 I+M DIENSTE (Information and maintenance services)Main menu || PROFIBUS || I+M SERVICES ||

The function I+M SERVICES enables or disables the PROFIBUS "Informationand Maintenance" services. Disabling these services frees up additional memoryspace in the SPC3 and thus changes DP/V0 length limitations (see chap. <Re-strictions>).Displayed information:

CHANGE switches the displayed information from DISABLED to ENABLED andvice versa.

6.3.4 PROFIBUS STATUSMain menu || PROFIBUS || PROFIBUS STATUS ||

The function PROFIBUS Status indicates if and how many connections are activeon each PROFIBUS channel.

PROFIBUS ADDRESSADDR. OVER PBI+M SERVICESPROFIBUS STATUS

I+M SERVICESENABLEDCHANGE

DISABLED: I+M service is offENABLED: I+M service is on.

PROFIBUS ADDRESSADDR. OVER PBI+M SERVICESPROFIBUS STATUS

PROFIBUS STATUS DPV0: 1 VERBUND. DPV1: 0 VERBUND.

CESA-GW-AS-PB Description 28

Page 30: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.4 AS-I CONTROL (option)Main menu || AS-I CONTROL ||

The control menu contains the following sub-menus:

6.4.1 CONTROL INFOMain menu || AS-I CONTROL || CONTROL INFO ||

This function displays the current status of the AS-i control (control program).

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.

DP/V0 = cyclic channel:0: not active1: activeDP/V1 = acyclic channel:0: not active≠0: number of connections

CONTROL INFOCONTROL RUNCONTROL FLAGS

CONTROL INFO: status of the control programmCONTROL RUN: start/stop the control programm

CONTROL FLAGS: read/change the control programm

CONTROL INFOSTART BIT SETRUNNINGCYCLE TIMEACT: 2MSMAX: 5MS

START BIT SET: the control program has been startedSTART BIT RESET: the control program has been stopped

RUNNING: the control program is runningSTOPPED: the control program has stopped

ACT: current cycle time of the control programMAX: maximum cycle time of the control program since its last start

CESA-GW-AS-PB Description 29

Page 31: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.4.2 CONTROL RUNMain menu || AS-I CONTROL || CONTROL RUN ||

This function is used to start or stop the control program. It modifies the STARTBIT in the Control Info menu.

6.4.3 CONTROL FLAGS (control program flag memory)Main menu || AS-I CONTROL || CONTROL FLAGS ||

This function is used to read and modify the control program's flag memory.• First, a row needs to be selected using the soft keys.• Pressing OK displays the selected row.

After pressing OK, the display mode changes and it is now possible to select indi-vidual flags using the soft keys. The selected flag is then displayed in binary for-mat at the top row.• Pressing OK again enables editing the selected binary value.

CONTROL RUNRUNCHANGE

RUN: The control program has been started. The control program can be stopped even if the start bit is set, for example if a con-figuration error occurred or if the master is in configuration mode.

CHANGE: Change the state between RUN and and STOP.

CONTROL FLAGS 0:2A 47 2B 2C 4:83 BD F2 58...124: 4A C3 84 7A

5:10111101

4:83 [BD] F2 58

CESA-GW-AS-PB Description 30

Page 32: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.5 QUICK SETUPMain menu || QUICK SETUP ||

This menu enables a quick configuration of the AS-i network.

Pressing "OK" switches the user to the sub menu "Store AS-i Configuration".

Store+RunPressing "OK" stores the detected configuration and the detected slaves on theAS-i network as the active configuration. The gateway then switches to the pro-tected operating mode.

Store + Prj ModePressing "OK" stores the detected configuration and the detected slaves on theAS-i network as the active configuration. The gateway remains in configurationmode.Pressing "ESC" leaves this menu and switches back to the main menu.

6.6 SLAVE ADR TOOLMain menu || SLAVE ADR TOOL ||

This function enables setting and changing the addresses of both new and al-ready configured AS-i slaves. This function replaces the handheld AS-i addressprogramming device.Pressing the OK button continues with the actual test, ESC cancels the process.

WARNING:OUTPUTS CAN BERESET!

Warning!Outputs can be reset!

STORE AS-ICONFIGURATIONSTORE + RUNSTORE + PRJ MODE

SLAVE ADR TOOLCONNECT NEW SLVOLD ADDRESSNEW ADDRESSPRG

CESA-GW-AS-PB Description 31

Page 33: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

Now the new slave can be connected to the AS-i network. After connecting, thecurrent address of the slave is displayed as "OLD ADDRESS"and the message"CONNECT NEW SLV" disappears.To assign a new address to the slave the menu entry "NEW ADDRESS" must beselected. Afterwards the new address can be selected by using the arrow but-tons. The selected address is assigned by selecting "PRG" on the menu andpressing the OK button.

If an error occurs while addressing a slave, one of the following error messages isdisplayed for about 2 seconds:

6.7 SLAVE TEST TOOLMain menu || SLAVE TEST TOOL ||

After selecting the menu SLAVE TEST TOOL a warning message is displayed,pointing out, that it is possible during this test that outputs are set and that thehost may loose control over the network.Pressing the OK button continues with the actual test, ESC cancels the process.

In the proceeding menu the slave to be tested has to be selected by entering theslave address.Afterwards, testing the selected slave is started by confirming the menu entry"Test".

SLAVE ADR TOOLCONNECTOLD ADDRESS 21ANEW ADDRESS 03BPRG

Failed: SND: slave with old address has not been detected.Failed: SD0: slave with address 0 already exists.Failed: SD2: chosen slave address already exists. Failed: DE: AS-i slave address cannot be deleted. Failed: SE: error setting new address for AS-i slave.Failed: AT: new address for AS-i slave could be stored temporarily only.Failed: RE: error reading extended ID1-code.

WARNING:OUTPUTS MAY BESET AND HOST MAYLOOSE CONTROL.

CESA-GW-AS-PB Description 32

Page 34: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

After finishing testing the selected slave all relevant information is displayed. Asuccessful test is indicated by "OK" below the address of the tested slave.The following information is displayed: • Address of the tested slave• Display of a configuration error (if present)• Binary inputs (digital inputs)• Binary outputs (digital outputs)• Analog inputs• Analog outputs• Param (actual parameters)• Perm Param (permanent parameters)• Config (actual configuration)• Perm Conf (permanent configuration)

SLAVE TEST TOOLSLAVE ADR 21ATEST

CESA-GW-AS-PB Description 33

Page 35: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.8 SETUP (configuration of an AS-i network)Main menu || SETUP ||

In the "Setup menu", the following sub-menus are available:

SLAVE ADR 21AOK

BINARY INPUTS 1BINARY OUTPUTS

1ANALOG INPUTS 0000

1 +32767 OVERFL

ANALOG OUTPUTS0 +32767 OVERFL

ANALOG OUTPUTS0 +1

1 +2PARAM FPERM PARAM FCONFIG 0A72PERM CONF 0A72

AS-I SLAVE ADDRFORCE OFFLINEOPERATION MODESTORE ACT CFGPERMANENT PARAMPERMANENT CFGADDR.ASSISTANTLOSAUTO ADDR. ENABLEFACTORY RESET

CESA-GW-AS-PB Description 34

Page 36: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.8.1 AS-I SLAVE ADR. (set/change slave address)Main menu || SETUP || AS-I SLAVE ADDR ||

This function is used to change the address of a slave. To assign a new address to a slave, the menu entry "OLD ADDRESS" and thenthe slave to be changed must be selected. The new address of the slave can beset in the menu item "NEW ADDRESS". The address change is performed bypressing the OK button.

6.8.2 FORCE OFFLINE (Switch AS-i Master to offline operation)Main menu || SETUP || FORCE OFFLINE ||

This function is used to change the address of a slave.

With "Change", this status can be changed.Switching the AS-i master to offline operation puts the AS-i network into the safestate. The AS-i master must be offline if an AS-i slave needs to be readdressedvia the IR-interface.

AS-I SLAVE ADDR: set/edit AS-i slave addressFORCE OFFLINE: switch AS-i master to offline operation

OPERATION MODE: operation modeSTORE ACT CFG: store current configuration

PERMANENT PARAM permanent parametersPERMANENT CFG: permanent configuration dataADDR.ASSISTANT: address assistant

LOS: list of offline slavesAUTO ADDR. ENABLE: auto addressing enable

FACTORY RESET: reset to factory settings

AS-I SLAVE ADDR.OLD ADDRESS 21ANEU ADDRESS 03B

FORCE OFFLINENOCHANGE

YES: AS-i Master is offline.NO: AS-i Master is online.

CESA-GW-AS-PB Description 35

Page 37: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.8.3 OPERATION MODEMain menu || SETUP || OPERATION MODE ||

This function shows the current operation mode of the AS-i master:

The operation mode can be changed with “Change”.Parameters and configuration data can be modified in configuration mode, only.

6.8.4 STORE ACTUAL (store currently detected configuration)Main menu || SETUP || STORE ACTUAL||

This function can only be executed in configuration mode. This function enables currently detected slaves on the selected AS-i network tobe stored in the configuration of the AS-i Master.If "Store" was successful, the LED "Config error" is turned off. The configuration isstored and the configuration error has been eliminated.However, if one of the connected slaves exhibits a peripheral fault, the LED "Con-fig error" will flash.If the AS-i master is in protected mode, the error message "Failed No ConfigMode" will appear:Address 0 is not a permitted operation address for a slave. If an AS-i slave withthis address exists, storing the configuration will still be confirmed with "OK".However, the configuration error remains.

OPERATION MODECONFIG MODECHANGE

PROTECTED MODE: protected operating modeCONFIG MODE: configuration mode

STORE ACTUALCONFIGURATIONSTORE

CESA-GW-AS-PB Description 36

Page 38: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.8.5 PERMANENT PARA (permanent parameters)Main menu || SETUP || PERMANENT PARA ||

This function is used to set the permanent parameters. All present slave address-es are displayed in sequence from 1A to 31A and from 1B to 31B. Data for singleslaves are displayed with the addresses 1A to 31A. The parameter value is dis-played behind the respective slave address.

6.8.6 PERMANENT CONFIG (permanent configuration data)Main menu || SETUP || PERMANENT CONFIG ||

This function is used to set the permanent configuration values. The defined val-ues for the configuration data are displayed behind the respective slave addressin the following order: IO (I/O-configuration) ID (ID-configuration) xID1 (extended ID1)xID2 (extended ID2).

PERMANENT PARAM | 1A- 02A - 2 | 3A- F4A - E | 5A- F…30A- 8 | 31A- 9 | 1B- 02B - E | 3B- 04B - E | 5B- 0…30B- 8 | 31B- 9

PERMANENT CONFIG.IO ID XID1 XID2 1A- 7F34…31A- 7F34 1B- 7F34…31B- 7F34

CESA-GW-AS-PB Description 37

Page 39: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.8.7 AS-I ADDRESS (AS-i address assistant)Main menu || SETUP || AS-I ADDRESS ||

The AS-i address assistant assists the user to quickly set up an AS-i network.Once the AS-i configuration has been stored, a new AS-i slave with address 0can be used to assign the correct address.Selecting "Assistant on" or "Assistant off" switches the AS-i address assistant onor off. The current state of the AS-i address assistant is displayed:

Procedure:1. Store AS-i configuration in the device. This can easily be done by using the

Windows software AS-i Control Tools (Master | Store configuration for theAS-i Master ...), or directly in the advanced display mode.

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 network.

3. Start the AS-i address assistant.4. Now the AS-i slaves are connected to the AS-i network one at the time in

the order specified by the AS-i address assistant. The last line displayed for the AS-i address assistant shows which AS-i slave will be connected next.

6.8.8 LOS (list of offline slaves)Main menu || SETUP || LOS LIST OF OFFLINE SLAVES ||

AS-I ADDRESSASSISTANT ONNEXT ADDRESSADDR.: –

ASSISTANT ON: AS-i address assistant is switched on.ASSISTANT OFF: AS-i address assistant is switched off.

LOS LIST OFOFFLINE SLAVESCLEAR ALLSET ALL | 1A- X2A- | 3A-4A-X | 5A- X....30A-X | 31A- | 1B- X2B- X | 3B- X4B- X | 5B- X....30B- X | 31B- X

CESA-GW-AS-PB Description 38

Page 40: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

See also <Advanced Diagnostics for AS-i Masters>.By using "Clear all" and "Set all" all bits in this list can be delete or set, respective-ly, at the same time. Below this is a list of all slaves that can be selected individu-ally in order to set or delete the LOS bit.

6.8.9 AUTO ADDR (enable automatic address)Main menu || SETUP || AUTO ADDRESS ||

This function is used to enable or disable automatic address assignment.This mode can be:

6.8.10 FACTORY RESET (factory default settings)Main Menu || SETUP || FACTORY RESET ||

This function can be used to reset the master to the factory default settings. The“Reset” is done by selecting menu point DO RESET.

6.9 IO + PARAM.TESTMain menu || IO + PARAM.TEST ||

The following warning message will be displayed before entering this menu:

Empty field: LOS bit deletedX: LOS bit set

AUTO ADDRESSENABLECHANGE

Enable: automatic address assignment is released.Disable: automatic address assignment is locked.

FACTORY RESETDO RESET

Warning!This function should be used only in emergencies, since all previously set attributes areset back to the factory setting and ,thus, secure communication and operation of themasters with the AS-i network is no longer guaranteed.Master and AS-i network have to be reconfigured after a successful "Reset".For double masters the "Reset" acts on both AS-i masters!

CESA-GW-AS-PB Description 39

Page 41: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

Pressing the OK button continues with the actual test, ESC cancels the process.

The menu "IO + Param.Test" offers the following sub menus:

6.9.1 BINARY INPUTSMain menu || IO + PARAM.TEST || BINARY INPUTS ||

This function displays the state of the binary inputs for all AS-i slaves.

WARNING: OUTPUTSMAY BE SET ANDHOST MAY LOSECONTROL OVERTHE AS-I MASTER.

BINARY INPUTSBINARY OUTPUTSANALOG INPUTSANALOG OUTPUTSPARAMETER

BINARY INPUTS: State of the binary inputsBINARY OUTPUTS: State of the binary outputs

ANALOG INPUTS State of the analog inputsANALOG OUTPUTS: State of the analog outputs

PARAMETERS: Value of the current AS-i parameter

BINARY INPUTS D3...D0 1A - 0 1 0 1 2A - 0 1 0 1 3A - 0 0 0 1 ⇓

0: Input cleared1: Input set

CESA-GW-AS-PB Description 40

Page 42: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.9.2 BINARY OUTPUTSMain menu || IO + PARAM.TEST || BINARY OUTPUTS ||

This function displays the state of the binary outputs for all AS-i slaves.

The binary outputs can be modified after selecting an AS-i slave.

6.9.3 ANALOG INPUTSMain menu || IO + PARAM.TEST || ANALOG INPUTS ||

The slave types are characterized as follows:

The data of the B slaves starts at channel 2! The order in which information is displayed is as follows:• AS-i slave address• decimal 16-bit value• bar graph

If the selected slave is a transparent slave, the value is always displayed withoutsign. If the selected slave is a transparent slave, the value is always displayedwithout sign. In this case, when the value is changed only positive values can beentered. Additionally, a value overflow is indicated by "Overfl".

BINARY OUTPUTS D3...D0 1A - 0 1 0 1 2A - 0 1 0 1 3A - 0 0 0 1 ⇓

0: output cleared1: output set

ANALOG INPUTS 1 X 2 A 3 B

X: Single SlaveA: A-SlaveB: B-Slave

AB: A+B Slave...

CESA-GW-AS-PB Description 41

Page 43: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.9.4 ANALOG OUTPUTSMain menu || IO + PARAM.TEST || ANALOG OUTPUTS ||

This function displays the values of the analog outputs for all AS-i slaves.The order in which information is displayed is as follows:

• AS-i slave address• decimal 16-bit value• bar graph.

If the selected slave is a transparent slave, the value is always displayed withoutsign. If the selected slave is a transparent slave, the value is always displayedwithout sign. In this case, when the value is changed only positive values can beentered. Additionally, a value overflow is indicated by "Overfl".

The analog outputs can be changed after selecting an AS-i slave.

ANALOG IN 10 +2500

1 +17898

2 +32767 OVERFL

3 -20023

ANALOG OUTPUTS 1 X 2 A 3 B

ANALOG OUT 10 +2500

1 +17898

2 +32767 OVERFL

3 -20023

CESA-GW-AS-PB Description 42

Page 44: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.9.5 PARAMETERMain menu || IO + PARAM.TEST || PARAMETER ||

This function displays the hexadecimal value of the current AS-i parameters forall AS-i slaves.The current AS-i parameters can be changed after selecting a slave address.

6.10 DIAGNOSISMain menu || DIAGNOSIS ||

For additional information refer to chap. <Advanced Diagnostics for AS-i Mas-ters>.

PARAMETER | 1A - 0 2A - 2| 3A - F 4A - E| 5A - 3 ⇓

FLAGSACTUAL CONFIGLPFAS-I MASTER

FLAGS: Display of the EC-FlagsACTUAL CONFIG: Display of the current configuration

LPF: List of Peripheral FaultsAS-I MASTER: Display of the software states

CESA-GW-AS-PB Description 43

Page 45: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.10.1 FLAGSMain menu || DIAGNOSIS || FLAGS ||

This function displays the EC-flags in hexadecimal or binary format as well as sin-gle bits beginning with the least significant bit.Arrangement of the bits within the byte:

FLAGS: 0131 05 0000 0001 0011 0001 0000 01011 PERIPHERY_OK0 OFFLINE_READY0 AS-I_PWR_FAIL1 NORMAL_OP.1 CONFIG_ACTIVE0 AUTO_ADDR_AVL0 AUTO_ADDR_ASN0 LDS.O1 CONFIG_OK

1 AUTO_ADDR_ENA0 OFFLINE1 DATA_EXCH_ACT

ByteByte value: 27 26 25 24 23 22 21 20

Bit: 7 6 5 4 3 2 1 0

Byte 1Bit 0: Periphery_OK

This flag is set if none of the AS-i slave signals a peripheral fault.

Byte 2Bit 7: Offline_Ready

The flag is set if the AS-i master is offline.Bit 6: AS-i Pwr Fail

The flag is set if the AS-i circuit is not sufficiently powered.Bit 5: Normal_Op.

The flag is set if the AS-i master is in normal operation.Bit 4: Config_Active

The flag is set in configuration mode and is reset in protected mode.Bit 3: Auto_Addr_Avl

CESA-GW-AS-PB Description 44

Page 46: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.10.2 ACTUAL CONFIG (actual slave configuration)Main menu || DIAGNOSIS || ACTUAL CONFIG ||

The flag is set if the automatic addressing is possible. This means that exactly one slave has failed.

Bit 2: Auto_Addr_AsnThe flag is set if automatic addressing is possible (AUTO_ADDR_ENABLE = 1; no "incorrect" AS-i slave is connected to AS-i).

Bit 1: LDS.0The flag is set,if an AS-i slave with address 0 has been detected.

Bit 0: Config_OKThe flag is set if the projected configuration is equal to the actual configura-tion.

Byte 3Bit 0: Data_Exch_Act

If the flag "Data Exchange Active" is set, the data exchange with AS-i slaves is possible during the data exchange phase. If the bit is not set, the data exchange with AS-i slaves is inhibited. Instead of data telegrams READ_ID telegrams will be sent.The bit is set by the AS-i master at the beginning of the offline phase.

Bit 1: OfflineThis bit is set if the operating mode is supposed to be changing to offline or is already offline.

Bit 2: Auto_Addr_EnaThis flag indicates if automatic addressing has been disabled (bit = 0) or ena-bled (bit = 1) by the user.

ACTUAL CONFIG 0A | 1A-C....30A-X | 31A-D | 1B-X....30A | 31B-FHELP:X O.K.D DETECTED ONLY UNKNOWN SLAVEP PROJ. ONLY MISSING SLAVEC TYPE CONFLICTF PERIPH. FAULTA DUPLICATE ADDR

CESA-GW-AS-PB Description 45

Page 47: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

This function displays the status of the actual configuration of the individual AS-islaves.A help appears at the end of the list explaining the abbreviations:

After selecting the desired AS-i slave address, the values for the current configu-ration data are displayed after the respective address in the following order:• IO (I/O-Configuration)• ID (ID-Configuration)• xID1 (extended ID1)• xID2 (extended ID2).

In addition, the status of the configuration is shown in plain text.If no AS-i slave is present at an address and none is designed in, four decimalpoints are displayed instead of the configuration data.

6.10.3 LPF (List of Peripheral Faults)Main menu|| DIAGNOSIS || LPF LIST OF PERIPH. FAULTS ||

This list shows the list of slaves which have triggered peripheral faults (LPF).

X (O.K.): The configuration data for the detected AS-i slave agree with the designed in configuration data.

D (Detected Only): An AS-i slave is detected at this address, but it was not designed in.

P (Projected Only): An AS-i slave was designed in at this address, but it was not detected.

C (Type Conflict): The configuration data for the detected AS-i slave do not agree with the designed in configuration data. The actual exist-ing configuration of the connected AS-i slave is displayed.

F (Periph. Fault): The AS-i slave has a peripheral error.A (Duplicate Adr.): Two AS-i slaves at the indicated address.

0A - .... -

1A - 7A28 -CWRONG TYPE

LPF LIST OFPERIPH. FAULTS | 1A-X2A- | 3A-4A-X | 5A-X....30A-X | 31A- | 1B-X

CESA-GW-AS-PB Description 46

Page 48: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.10.4 AS-I MASTER (info)Main menu || DIAGNOSIS || AS-I MASTER ||

This function shows information about the version and features of the AS-i mas-ter:

6.11 ADV. DIAGNOSIS (advanced diagnostics)Main menu || ADV. DIAGNOSIS ||

The menu "Adv. Diagnosis" has the following sub menu:

For additional information refer to section <Advanced Diagnostics for AS-i Mas-ters>.

6.11.1 ERROR COUNTERSMain Menu|| ADV. DIAGNOSIS || ERROR COUNTERS ||

Empty field: Peripheral O.K.X: Peripheral fault

VERSION20000919FEATURE STRINGZEFOD1.AS.ER

VERSION: date of the firmwareFEATURE STRING: feature string of the AS-i masters

ERROR COUNTERLCSFAULT DETECTOR

ERROR COUNTER: error counterLCS: list of slaves, that caused a configuration error

FAULT DETECTOR: history of the AS-i fault detector

ERROR COUNTERSRESET1A - 0...31A - 65535 1B - 34...30B - 0

CESA-GW-AS-PB Description 47

Page 49: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

This list displays the fault counter for each single AS-i slave.In addition, the number of voltage dropouts/undervoltage on AS-i (APF) is dis-played.Selecting RESET resets the fault counter to 0.

6.11.2 LCS (History of the slaves which have triggered a configuration error)Main menu || ADV. DIAGNOSIS || LCS ||

This list contains entries for all AS-i slaves that were responsible for at least oneintermittent configuration error since the list was last read or since the AS-i mas-ter was turned on.

LCS LIST OFCORRUPTED SLAVESRESET | 1A-X2A- | 3A-4A-X | 5A-X....30A-X | 31A- | 1B-X2B-X | 3B-X4B-X | 5B-X....30B-X | 31B-X

empty field: no errorX: AS-i Slave triggered a configuration error.

CESA-GW-AS-PB Description 48

Page 50: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.11.3 FAULT DETECTOR Main menu || ADV. DIAGNOSIS || FAULT DETECTOR ||

The menu "Fault Detector" displays information about the AS-i fault detector andpermits deleting the AS-i fault detector´s history. Furthermore, a list of abbrevia-tions in clear text is displayed in the "Help" section.By selecting "Reset" the history of the AS-i fault detector can be deleted.The section "Historic" lists the error messages generated by the AS-i fault detec-tor since the last "Reset".The section "Actual" lists the currently present error messages of the AS-i faultdetector.The following error messages are displayed:• Duplicate address (displaying of 2 lowest slave addresses with duplicate

addresses)• Earth faults • Noise • Over-voltage Optionally, the absence of the redundant 24V for some single masters may bedisplayed.

6.12 AS-I SAFETYMain menu || AS-I SAFETY ||

FAULT DETECTORRESETHISTORIC:EFLT OVRV NOISACTUAL:EFLT OVRV NOISDUP ASI ADR: 0 | 31BHELP:EFLT EARTH FAULTOVRV OVERVOLTAGENOIS NOISEDUP ASI ADDR DUPLICATE ASI SLAVE ADDRESS

SAFETY SLAVESSAFETY MONITORSAFE SUBST. VAL.

CESA-GW-AS-PB Description 49

Page 51: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

This menu enables the following functions:

6.12.1 SAFETY SLAVES (safety oriented slaves)Main Menu|| AS-I SAFETY || SAFETY ORIENTED SLAVES ||

The list of “Safety Input Slaves” (“AS-i Safety at Work”) shows the slaves forwhich the safety function has been released:

The first place corresponds to Channel 2, the second place to Channel 1. ThusRX means that Channel 2 released and Channel 1 is OK.The channels can not be evaluated individually, if the substitution of safety slavesinput data was disabled in menu:• command interface/ function profileor• slave value substitute (SAFETY SUBST VALUE).In this case both channels must have the same state, otherwise the indication willnot be proper.

6.12.2 SAFETY MONITORMain menu || AS-I SAFETY || SAFETY MONITOR ||

SAFETY SLAVES: safety oriented slavesSAFETY MONITOR: safety monitorSAFE SUBST. VAL: safe substitude values for safety slaves

SAFETY ORIENTEDSLAVES | 1- 2-XX | 3-RR 30-RX | 31-XR HELP: X O.K. RK RELEASED

X: The channel is OKR: The channel has released

SAFETY MONITORADDRESS 17MODUS: SORT./V1OK

CESA-GW-AS-PB Description 50

Page 52: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

The AS-i safety monitor diagnostics function reads the diagnostics data from theAS-i safety monitor and displays these data. The significance of the displayed di-agnostics and of the setting SORTED/V1, UNSORTED is described in the oper-ating manual of the safety monitor.

6.12.3 SAFETY SUBST VAL (Substitute values for input data from safe slaves)Main menu || AS-I SAFETY || SAFETY SUBST VAL ||

This function enables activation/deactivation of the code substitute function forsafe slaves.

SUBSTITUTE (values)The safety code sequences are replaced by the following values:

NO SUBSTITUTEThe safety code sequences are transmitted via the input data.

SAFETY MONITORDIAGNOSISADDR: 17MODE: SORT./V1STATUS: OKCHANNEL 1: OFFCHANNEL 2: OFF1-32: GREEN…

SAFE SUBST VALSUBSTITUTECHANGE

Both channels are in the safe state: 0000binChannel 1 is in the safe state: 0011binChannel 2 is in the safe state: 1100bin

No channel is in the safe state: 1111bin

CESA-GW-AS-PB Description 51

Page 53: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6.13 Language (menu language)Main Menu || LANGUAGE ||

From this menu you can select the menu language. „X“ marks the currently se-lected language.

6.14 DISPLAY CONTRAST (set display contrast)Main Menu || DISPLAY CONTRAST ||

This function allows you to set the display contrast.• Use the arrow keys to select the line with the bar• Confirm your selection with OK (bar flashes)• Use the arrow keys to set the display contrast• Use OK to apply the settingThe factory settings are invoked from the DEFAULT field.If the contrast is set so that the display can no longer be read, it can be reset tothe factory default setting as follows:• Shut the unit off• Press the MODE and SET keys and hold them down.• Shut the unit on.

LANGUAGEENGLISH XDEUTSCHFRANÇAISITALIANOESPAÑOL

DISPLAY CONTRASTDEFAULT

__________________

CESA-GW-AS-PB Description 52

Page 54: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

7. PROFIBUS DPThis chapter contains all necessary information to operate the PROFIBUS gate-ways in a PROFIBUS DP network.

7.1 DP Telegrams

7.1.1 Diagnostics

Information!The respective bits ground fault, overvoltage, noise, double address will only be set ifAS-i masters are used, which also support these functions.

DP diagnostics - single masterPDU byte user byte DP DP/V1 user

1 – station_status 1 4

2 – station_status 2 4

3 – station_status 3 4

4 – master address 4

5 – ident high 4

6 – ident low 4

7 1 header 4 4

8 2 type 4

9 3 slot 4

10 4 spec 4

11 5 ec-flags (high) 4

12 6 ec-flags (low) 4

13 7 delta (0…7) 4

14 8 delta (8…15) 4

… … … …

20 14 delta (56…63) 4

21 15 LPF (0…7) 4

… … … …

28 22 LPF (56 … 63) 4 Tab. 7-2.

ec-flags (high):bit 0: periphery fault

bit 1 … bit 2: reservedbit 3: failure redundant 24 V (option single master)bit 4: earth faultbit 5: over voltage

CESA-GW-AS-PB Description 53

Page 55: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

Each element of the user diagnostics (ec-flags and slave lists) can be switchedoff by setting the appropriate bit in the parameter telegram.Each element which is not used will be filled up with zeroes. This way the data el-ements in the diagnosis telegram will keep its designated position (and clear textdiagnosis still fits to the data).Only if an element at the end of the user diagnostics is not used, the length of thediagnosis will be shortened.ExtDiag will be set if at least one of the following conditions is fulfilled:• ConfigError ≡ 1• APF ≡ 1• PeripheryFault ≡ 1The conditions when to set the ExtDiag bit can be chosen using the user parame-ters or the commands of the command interface.The GSD file includes the following presettings:• The diagnosis transmitts ec-flags, delta list and LPF.• ExtDiag will be set if ConfigError = 1 and APF = 1. ExtDiag will not be set if

there is a periphery fault.

bit 6: noisebit 7: duplicate address

ec-flags (low):bit 0: configuration errorbit 1: slave with address 0 detectedbit 2: Auto_address_assignment not possiblebit 3: Auto_address_assingment availablebit 4: configuration mode acticebit 5: not in normal operationbit 6: AS-i power failbit 7: AS-i master is offline

Delta list: List of AS-i slaves with configuration error1: ConfigError0: no ConfigError

LPF: List of AS-i slaves with periphery fault1: periphery fault0: no periphery fault

ec-flags (high):

CESA-GW-AS-PB Description 54

Page 56: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

7.1.1.1 Parameters

With the user parameters you can choose if and which slave list will be displayedin the diagnosis. Furthermore you can select which conditions have to be fulfilledto set the ExtDiag bit within the diagnostic telegram.

The bits in "user byte 1" and "user byte 3" have the following meanings:

DP parameters - single masterPDU byte user byte DP DP/V1 user default

1 – Station_Status 4

2 – WD_Fact_1 4

3 – WD_Fact_2 4

4 – min Tsdr 4

5 – Ident High 4

6 – Ident Low 4

7 – Group_Ident 4

8 1 DPV Status 1 4 8016

9 2 DPV Status 2 4 0016

10 3 DPV Status 3 4 0016

11 4 User Byte 1 4 0B16

12 5 User Byte 2 4 0616

13 6 User Byte 3 4 0016

Tab. 7-3.

user byte 1

27 26 25 24 23 22 21 20

- - LPF – D F

default 0 0 0 1 0 1 1 Tab. 7-4.

user byte 2

27 26 25 24 23 22 21 20

FD 0 CS PF APF CF –

default 0 0 0 0 1 1 0 Tab. 7-5.

CESA-GW-AS-PB Description 55

Page 57: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

The GSD's default user parameter telegram is:

(DP/V1 enabled, diagnostics settings see chap. <Diagnostics>).

7.1.2 Configuration DP/V0 (cyclic data)The configuration of the AS-i/PROFIBUS gateways is made with the GSD file.Therefore the provided GSD file has to be imported into your PROFIBUS configu-ration tool.

user byte 3

27 26 25 24 23 22 21 20

– 0

default 0 0 Tab. 7-6.

LPF: 1: LPF will be transmitted in the diagnostics0: LPF will not be transmitted

D: 1: Delta list will be transmitted in the diagnostics0: Delta list will not be transmitted

F:1: EC-flags will be transmitted in the diagnostics0: EC-flags will not be transmitted

FD: If this bit is set, the PROFIBUS diagnostics is refreshed only if the PROFIBUS norm dictates this ("freeze diagnostics"). In doubt the data of the PROFIBUS masters diagnostics are not up to date.

CS: 1: ExtDiag will be set if the LCS is not empty0: ExtDiag will not be set if the LCS is not empty

PF: 1: ExtDiag will be set if there is a periphery fault at the AS-i line0: ExtDiag will not be set.

APF: 1: ExtDiag will be set if there is an AS-i power fail0: ExtDiag will not be set.

CF: 1: ExtDiag will be set if there is a configuration error0: ExtDiag will not be set.

8016 0016 0016 0B16 0616 0016

CESA-GW-AS-PB Description 56

Page 58: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

7.1.2.1 Options

The original data input and outlet data can be used with different „Special IDs“.The advantages of special input and output IDs are, that they can include up to64 elements (bytes or words), and that the length of input and output data can bedifferent. Additionally, "manufacturer specific" data bytes describing the ID typeare possible. These "manufacturer specific" data bytes describe the which type IDis.The GSD file offers here several combinations (several lengths) for transmitting I/O date, command interface (management) and analog data.Therefore the analog data can be transmitted directly in the process data channeland do not have to be requested by the slower DP/V1 commands.Maximally 8 modules can be configurated.The detailed possibilities:

Length description4 bytes digital input (slaves 0 - 7)

8 bytes digital input (slaves 0 - 15)

12 bytes digital input (slaves 0 - 23)

16 bytes digital input (slaves 0 - 31)

20 bytes digital input (slaves 0 - 7B)

24 bytes digital input (slaves 0 - 15B)

28 bytes digital input (slaves 0 - 23B)

32 bytes digital input (slaves 0 - 31B) Tab. 7-7.

Length description4 bytes digital output (slaves 0 - 7)

8 bytes digital output (slaves 0 - 15)

12 bytes digital output (slaves 0 - 23)

16 bytes digital output (slaves 0 - 31)

20 bytes digital output (slaves 0 - 7B)

24 bytes digital output (slaves 0 - 15B)

28 bytes digital output (slaves 0 - 23B)

32 bytes digital output (slaves 0 - 31B) Tab. 7-8.

Length description16 bytes digital in/out (slaves 0 - 31)

Tab. 7-9.

CESA-GW-AS-PB Description 57

Page 59: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

16 Bytes digital in/out (slaves 0B - 31B)

32 bytes digital in/out (slaves 0 - 31B)

Length description

Tab. 7-9.

Information!2 command interfaces can be intergrated.

Length description2 bytes management (command interface)

4 bytes management (command interface)

8 bytes management (command interface)

11 bytes management (command interface)

12 bytes management (command interface)

34 bytes management (command interface)

36 bytes management (command interface) Tab. 7-10.

Length description24 bytes analog input (slaves 29 - 31)

56 bytes analog input (slaves 25 - 31)

88 bytes analog input (slaves 21 - 31)

120 bytes analog input (slaves 17 - 31)

128 bytes analog input (slaves 16 - 31)

16 bytes analog input (slaves 14 - 15) Tab. 7-11.

Length description24 bytes analog output (slaves 29 - 31)

56 bytes analog output (slaves 25 - 31)

88 bytes analog output (slaves 21 - 31)

120 bytes analog output (slaves 17 - 31)

128 bytes analog output (slaves 16 - 31)

16 bytes analog output (slaves 14 - 15) Tab. 7-12.

CESA-GW-AS-PB Description 58

Page 60: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

7.1.3 I/O Data

7.1.3.1 Process data

In V2.1 mode the AS-i I/O data are mapped in the process data as known fromthe Siemens and AS-i/InterBus masters. This means that the lower nibble de-scribes the data of the AS-i slave with the higher slave address. The ec-flags orhi-flags are additionally mapped at the nibble of AS-i slave 0.

Length description2 bytes … 128 bytes analog input data circuit 1, dynamic1

1. Module parameters necessarily

2 bytes … 128 bytes analog output data circuit 1, dynamic1

2 bytes … 128 bytes analog input data circuit 2, dynamic1

2 bytes … 128 bytes analog output data circuit 2, dynamic1

Tab. 7-13.

Length description2 bytes flags and detector circuit 1

2 bytes flags and detector circuit 2 Tab. 7-14.

byte 27 26 25 24 23 22 21 20

0 flags slave 1/1A

F3 F2 F1 F0 D3 D2 D1 D0

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

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 Tab. 7-15.

CESA-GW-AS-PB Description 59

Page 61: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

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

Flagsinput data output data

F0 ConfigError Offline

F1 APF LOS master bit

F2 PeripheryFault → ConfigurationMode

F3 ConfigurationActive → ProtectedMode Tab. 7-16.

ConfigError: 0 = config ok1 = config error

APF: 0 = AS-i power ok1 = AS-i power fail

PeripheryFault: 0 = periphery ok1 = periphery fault

ConfigurationActive: 0 = configuration active1 = configuration inactive

byte 27 26 25 24 23 22 21 20

Tab. 7-15.

CESA-GW-AS-PB Description 60

Page 62: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

A rising edge of F2 and F3 switch the master to the desired mode.A rising edge of the "LOS master bit" effects that all bits in the LOS are set. A fall-ing edge effects that all bits are deleted.

7.1.3.2 EC flags and AS-i watchdog

In addition to ec-flags, the AS-i watchdog flags will be transferred in diagnosticdata too.Diagnostic data are assembled as follows:

7.1.3.3 AS-i 16-bit data

In addition to the access via the command interfaces, the 16-bit data for or by theslaves with 16-bit value can by exchanged cyclically (profile 7.3., S-7.4, S-6.0, S-7.5, S-7.A.8, S-7.A.9, S-7.A.A). Competing writing access attempts on analogoutput data will not be blocked by each other. If analog data for a particular slaveare being transmitted both cyclically and acyclically with the command interfaceor via DP/V1 connections, the acyclically transmitted values will be overwritten bythe cyclically transmitted values.AS-i 16-bit data can be transmitted in a reserved data area. Therefore accessinganalog data is as easy as accessing digital data.

Offline: 0 = online1 = offline

LOS-Master-Bit 0 = offline by configerror deactivated1 = offline by configerror activated

ec-flags (high):bit 0: periphery fault

bit 1 … bit 2: reservedbit 3: failure redundant 24 Vbit 4: earth faultbit 5: over voltagebit 6: noisebit 7: duplicate address

ec-flags (low):bit 0: configuration errorbit 1: slave with address0 detectedbit 2: auto_address_assignment not possiblebit 3: auto_address_assingment availablebit 4: configuration mode acticebit 5: not in normal operation

Information!A-slaves map the data on channels 1 and 2.B-slaves map the data on channels 3 and 4.

CESA-GW-AS-PB Description 61

Page 63: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

7.1.3.4 Command interface

Only using the IDs of the process data field the PROFIBUS gateway can be usedas M0 AS-i master. By using the command interface (see chap. <DP/V1>) thefunctions of a M3 master become available.

A command of the command interface will be edited if the toggle bit T1 haschanged. This way the same command can be used repeatedly.

16-bit databyte 27 26 25 24 23 22 21 20

1 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

n-2 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 Tab. 7-17.

Requestbyte 27 26 25 24 23 22 21 20

1 command

2 T circuit

3 request parameter byte 1

… …

36 request parameter byte 34

Answerbyte 27 26 25 24 23 22 21 20

1 command (mirrored)

2 result

3 response parameter byte 1

… …

34 response parameter byte 32 Tab. 7-18.

1. A T bit (toggle bit) is only needed to execute two commands directly one after the other.

CESA-GW-AS-PB Description 62

Page 64: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

The commands of the command interface can also be activated with PROFIBUSDP/V1. Even the process data exchange is possible via the command interface.This way the Windows configuration software "AS-i-Control Tools" can run thewhole communication via DP/V1.

7.2 DP/V1To exchange data between the PROFIBUS master and the AS-i/PROFIBUS gate-way via PROFIBUS DP/V1 only one data block is used - slot 1, index 16. Withinthis data block a command interface is installed like the one used in the DP tele-gram.The DP/V1-command interfaces are edited every time they are sent. Therefore itis possible to execute the same command several times without changing "com-mand" or "circuit" and setting a toggle bit.

7.3 RestrictionsThe SPC3 has only 1,5 KByte DP-RAM available. Therefore the lengths of tele-grams and the numbers of DP/V1-connections to class 2 masters have to be re-stricted.Information!I+M service contains data for identification and maintenance. This service is on bydefault. Switching the services off provides additional memory into SPC3. Thischanges the DP/VD length-limit.

Restrictions due to the SPC3MSC1 inputs data / outputs

datasingle master: 288 bytes1

diagnosis 62 bytes

parameter single master: 53 bytes

configuration2 32 bytes

SetSlaveAddress 4 bytes

MSAC1 SAPsPDU

172 bytes3

MSAC2 SAPsPDU

272 bytes4

Tab. 7-19.

1. The maximum length of the input and output data can vary up to 288 bytes input or output data if the I+M (information+maintenance) service is on only. The maximum length of the input and output data (both master) is not variable and it is limited to 144 bytes (for input and output data) if the I+M service is disabled.

2. Maximally 8 modules can be configurated3. The maximum length is limited to 42 bytes if the I+M service is set to off.4. The maximum length is limited to 52 bytes if the I+M service is set to off.

CESA-GW-AS-PB Description 63

Page 65: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

8. Advanced Diagnostics for AS-i Masters

The advanced AS-i diagnostics is intended to localize occasionally occurring con-figuration errors and to determine the quality of data transmission on AS-i withoutusing additional diagnostics tools.AS-i Control Tools, a MS-Windows software designed to simplify AS-i installationand used to program AS-i Control, enables operation of the advanced diagnosticsfunctions (LCS, error counters, and LOS).

8.1 List of corrupted AS-i Slaves (LCS)The LCS contains the information from the Delta list. In addition to the list of con-figured slaves (LPS), the list of detected slaves (LDS), and the list of activatedslaves (LAS), the AS-i master creates a fourth list, the list of corrupted slaves(LCS) containing advanced diagnostics data used to diagnose the causes for in-termittently occurring configuration errors on AS-i. This list contains entries for allAS-i slaves that were responsible for at least one intermittent configuration errorsince the list was last read or since the AS-i master was turned on. Furthermore,intermittent AS-i power failures are listed in the LCS at the position of AS-i slavewith address 0.

8.2 Protocol analysis: Counters for corrupted data telegramsThe AS-i master with advanced diagnostics provides a counter for telegram repe-titions for each AS-i slave. The counter counts up every time a corrupted data tel-egram has been found, making it possible to determine the quality of the trans-mission if only a few telegrams are corrupt and the AS-i slave never caused aconfiguration error.

Displaying the protocol analysis is possible through the AS-i Control Tools soft-ware by using the command "Master | AS-i Diagnostics".

Information!Whenever the LCS is read it is deleted from memory.

Information!The last intermittent configuration error can also be displayed on the AS-i master:Pressing the "Set" button on the AS-i master initiates the display of the AS-i slaveresponsible for the last intermittent configuration error. If a intermittent AS-i power fail-ure occurred, the display shows 39 after pressing the "Set" button.This function is only available if the device is in normal operating mode of the protectedmode (display empty) or in the off-line phase (Display: "40").

Information!The counter values are read via the host interface and will be deleted after they wereread.The highest possible counter value is 254. 255 indicates a counter overflow.

CESA-GW-AS-PB Description 64

Page 66: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

8.3 Offline Phase for Configuration ErrorsThe AS-i masters with advanced diagnostics offer the possibility to set them-selves into the offline phase when a configuration error occurs and thus are ableto transition the AS-i network into a safe operational state. This ensures a quickreaction to a configuration error and the host can be relieved from this task. If anyproblems occur on the AS-i network, the AS-i masters can independently switchthe AS-interface into a safe state.There are two different ways to parameterize the AS-i master for this feature:• Any configuration error occurring on AS-i switches the master from regular

operation in protected mode into the offline phase. • o . A list with the addresses of slaves that can potential initiate the off-line

phase is defined (list of offline slaves LOS).The user can decide how the system should react to a configuration error on AS-i. Thus, the AS-i master can be set to the offline phase for critical AS-i slaves,whereas for less critical slaves only the error message is sent to the host, butAS-i is still running. Like the advanced diagnostics, the parameterization "offline phase on configura-tion error" is also supported by "AS-i-Control-Tools"(Command | Characteristics | Offline because of configuration error).There are two options to reset the error message "OFFLINE BY LOS:1. Deleting the complete LOS list on the affected AS-i network ("CLEAR ALL").2. Power reset on the affected AS-i network.

8.4 Functions of the AS-i Fault Detector

8.4.1 Duplicate address detectionIf two slaves on an AS-i network have the same address, a duplicate address ex-ists. Since the master cannot communicate individually with these slaves anylonger, this is considered an error. Because the two slave replies interfere, it is im-possible for the master to recognize the slave responses. This results in extreme-ly unstable network behavior.The duplicate address detection function is used to safely recognize a duplicateaddress and to display it on the screen and in AS-i Control Tools.A duplicate address causes a configuration error and is displayed on the screen.Information!Duplicate addresses can be recognized only on an AS-i segment directly connected tothe master.

CESA-GW-AS-PB Description 65

Page 67: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

8.4.2 Earth/Ground Fault DetectorAn Earth/Ground Fault exists when the voltage UGND (Nominal value of UGND=0,5 UAS-i.) is outside of the following range:

10% UAS-i ≤ UGND ≤ 90% UAS-i

This error substantially limits the noise immunity of the AS-i communication.Ground faults are indicated on the master´s display as well as in AS-i ControlTools.

8.4.3 Noise DetectorThe noise detector detects AC voltages on AS-i, that are not initiated by an AS-imaster or AS-i slaves. These interference voltages can cause telegram distur-bances.A frequent cause are insufficiently shielded frequency inverters or improperlyrouted cables.Noises is indicated on the master´s display as well as in AS-i Control Tools.

8.4.4 Over-voltage DetectorOver-voltages are present if the conductors of an AS-i network that normally arerouted electrically symmetrical with respect to machine ground, are strongly elec-trically raised. A cause can for example be startup procedures of large consum-ers.However, over-voltages do generally not interfere with the AS-i communication,but can under certain circumstances cause incorrect sensor signals.Over-voltages are indicated on the master´s display as well as in the AS-i ControlTools.

Information!To recognize ground faults the master must be grounded with its machine ground con-nection.

CESA-GW-AS-PB Description 66

Page 68: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

9. System startup using AS-i Control Tools

The Windows based software "AS-i Control Tools" with a serial interface for stain-less steel AS-i masters is designed to make the startup of the AS-i 3.0 PROFI-BUS Gateway as comfortable as possible.Additionally, the software communicates with the AS-i 3.0 PROFIBUS Gatewayby using a PROFIBUS DP Master Simulator DP/V1 or the serial PROFIBUS mas-ter.

9.1 Windows software AS-i Control Tools

This way, the device driver is copied into the previous designed folder in AS-iControl Tools and should be recognized automatically.The Windows software "AS-i Control Tools" enables the user to easily configurethe AS-i network. 1. Plug the PROFIBUS Master Simulator or a serial PROFIBUS Master,

respectively, into the D-SUB connector of the AS-i/PROFIBUS Gatewayand connect the device to the PC via its serial interface.

2. Start AS-i Control Tools.3. Select Master | New.

4. Choose PROFIBUS as the protocol.5. Select the appropriate settings (for example serial interface COM 2, station

address <auto>).

Information!AS-i Control Tools must be installed first!

CESA-GW-AS-PB Description 67

Page 69: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

6. 5.Select Master | AS-i configuration. The AS-i configuration editor will be started. All detected and configured AS-i slaves are displayed in this win-dow.

7. Click on a slave to open the dialog window 'slave configuration'.

CESA-GW-AS-PB Description 68

Page 70: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

This window enables the user to edit a slave address and to set AS-i parameters or AS-i configuration data. Additionally, inputs and outputs can be tested.

8. Click the second button on the right side of the tool bar to get a graphical display of "AS-i Control Tools".

CESA-GW-AS-PB Description 69

Page 71: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

Configuring the AS-i network is easily accomplished by first connecting each AS-islave separately to the AS-i line and setting its address, followed by pressing thebutton “Store configuration” to store the existing AS-i network in the AS-i masteras configuration data.Furthermore, an AS-i Address Assistant is available, allowing to perform an ad-dress change of a new AS-i slave to the desired address as soon as it is con-nected to the AS-i network. The desired AS-i configuration can be created offlineahead of time and can be stored to a file. When setting up the system the AS-islaves are then simply connected, one at a time, to the AS-i network. Further de-scriptions to all additional features of this software can be obtained from the inte-grated help file.

CESA-GW-AS-PB Description 70

Page 72: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

10. Codes indicated by the display

In the basic state of the configuration mode, the addresses of all detected slavesare displayed in two-second intervals. A blank display indicates that the LDS (Listof Detected Slaves) is empty, no slaves were detected. In the basic state of the protected operating mode, the display is either blank ordisplays the address of a faulty assignment.During manual address programming, the slave address display has a differentmeaning (see also chapter "Operating in advanced display mode").All displayed numbers bigger than 31 which can not be interpreted as a slave ad-dress are status or error messages of the master. They have the following mean-ings:

39 Advanced AS-i diagnostics: After pressing the ’set’-button a short-time AS-i power failure occurred.

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

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 program: The AS-i Control program is being read from the 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.

CESA-GW-AS-PB Description 71

Page 73: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

93 Error while changing slave address: New address could only be stored volatile in the slave.

94 Error while changing the slave address in protected operating mode: Slave has wrong configuration data.

95 The error 95 is caused by a superfluous slave and not by a missing slave. That is why the slave address is occupied 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 graph-ical 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. Press-ing the SET button again the master attempts to program the slave at the address 0 to the incorrect address.)

CESA-GW-AS-PB Description 72

Page 74: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

11. Glossary

A/B slaveAn AS-i slave with extended addressing. The address range of an A/B slave ex-tends from 1A to 31A and 1B to 31B. As the master needs the fourth output databit for switching between A and B address, A/B slaves only have three outputdata bits maximum.

Activation phaseIn the activation phase the detected slaves are activated by sending the parame-ter. This is indicated by a "42" on the Master's Display. This phase takes only 10ms, tops, to short to be displayed.

AS-i Power FailVoltage drop on the AS-i line; If the voltage drops below a specific value, the mas-ter changes to the ⇒ Offline phase.

Initiation phaseAfter the initial data exchange with all AS-i slaves the master is looking for newslaves. For this purpose an inquiring call is sent to one AS-i address. If a reply isreceived, the master tries to read the ⇒ current configuration of the slave. De-pending on the mode (⇒ protected mode or ⇒ configuration mode) and on thecurrent configuration, the detected slave will be activated.

After each data exchange with all AS-i slaves exactly one inquiring call is sent toone slave address. Hence, the AS-i cycle always includes one more telegramthan the number of activated slaves (⇒ LAS).

Autoprog flags Auto Address Enable; flag from the operating system to the AS-i Master.

With this flag, automatic addressing can be enabled or disabled. This flag is saved in non-volatile memory in the Master.

Auto Address Assign, Auto Address Possible; flag from the AS-i Master to the op-erating system.

Automatic programming is not disabled and no configuration error was found.If a slave fails, it could be addressed automatically.

Auto Address Available, flag from the AS-i Master to the operating system. Exact-ly one AS-i slave is missing and the automatic single node replacement is not dis-abled.

If at this point a slave with the address 0 and the profile of the missing slave is connected, it automatically receives the address of the missing slave.

CESA-GW-AS-PB Description 73

Page 75: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

I/O codeThe first digit of the slave profile, which indicates how many in- and outputs theslave has. A 4I/4O slave has for example a “7”, and a slave with 4 digital inputs a"0".

Detection phaseIn the detection phase, after the startup the master is scanning for AS-i slaves.The master remains in this phase until at least one slave was detected. If themaster remains in the detection phase no slave was found. Most of the time, thereason for this is a wrong power supply or a wiring error.The detection phase is indicated by code "41".

Protected modeIn protected operating mode only those slaves that are registered in the ⇒ LPSand whose current configuration matches the target configuration are activated.Also see ⇒ configuration mode. This mode is intended for normal operation,since all AS-i protective measures are activated.

ID codeThe ID code is set by the slave manufacturer and cannot be changed. The AS-iAssociation determines the ID codes which are assigned for a particular class ofslaves. For example, all ⇒ A/B slaves have ID code “A“.

ID1 Code, extended ID1 codeThe ID1 code is set by the slave manufacturer. In contrast to the other codes,which determine the profile, it can be changed from the master or using an ad-dressing device. The user should however only use this feature in exceptional cir-cumstances, since otherwise configuration errors may occur.In the case of A/B slaves, the MSB of the ID1 code is used for distinguishing be-tween the A and the B address. Therefore, only the lowest 3 bits are relevant forthese slaves.Since this code was not introduced until AS-i Specification 2.1, it is also referredto as extended ID1 code.

CESA-GW-AS-PB Description 74

Page 76: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

ID2 Code, extended ID2 codeThe ID2 code is set by the slave manufacturer and cannot be changed. The AS-iAssociation determines the ID2 codes, which are assigned for a particular classof slaves. For example, all 2-channel 16 bit input slaves having an S-16 bit codeuse ID2 code “D”. Since this code was not introduced until AS-i Specification 2.1,it is also referred to as extended ID2 code.

Current configuration The configuration data of all slaves detected by the master. The configurationdata of a slave, the ⇒ slave profile, consists of: ⇒ IO code, ⇒ ID code, ⇒ extended ID1code , ⇒ extended ID2 code.

Current parameter The AS-i parameter that have most recently been sent to the AS-i slave, as op-posed to ⇒ permanent parameters.

Configuration Error/Config Error An configuration error is displayed if the target and the current configuration ofthe connected slaves do not match. A configuration error could be due to the fol-lowing:Missing slave:A slave entered in the ⇒ LPS is not available Wrong type of slave:The ⇒ slave profile of the connected slave does not complywith the configuration.Unknown slave: A connected slave is not entered in the ⇒ LPS.

LAS - List of Activated SlavesThe master exchanges I/O data with the slaves entered in the LAS. In protectedmode only the detected slaves (⇒ LDS) that are expected by the master and areentered in the ⇒ LPS are activated. In configuration mode all slaves entered inthe ⇒ LDS are activated.

LDS - List of Detected SlavesIf the master was able to read the ⇒ slave profile, the slave is entered in the LDS.

LPF - List of Peripheral FaultsThe list of peripheral faults was introduced with specification 2.1. This list includesan entry for each slave that signals a ⇒ peripheral fault.

LPS - List of Projected SlavesThe list of projected slaves includes all slaves expected by the master. When sav-ing the current configuration all entries in the ⇒ LDS are stored in the LPS (ex-cept for a slave with address 0).

CESA-GW-AS-PB Description 75

Page 77: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

Offline phaseIn the offline phase all input and output data is reset. This phase is entered afterthe startup of the master, after a ⇒ AS-i power fail, and during the transition fromthe ⇒ configuration mode to the ⇒ protected mode.Furthermore, the master can actively be transfered into the offline phase by set-ting the offline flag.During the offline phase, masters with a LED display show code "40".

Peripheral faultA peripheral fault is indicated by a red flashing LED on the master and on theslave.Depending on the slave type this indicates an overflow, an overload of the sen-sor's power supply, or another fault regarding the periphery of the slave.

Permanent configurationThe configuration data of all expected slaves stored in the master (⇒ slave pro-file). If the ⇒ permanent configuration differs from the ⇒ actual configuration, aconfiguration error exists.

Permanent parameterThe parameters saved in the master and sent to the slave after startup of themaster during the ⇒ activation phase.

Configuration modeDuring the configuration mode the master exchanges data with all connectedslaves, no matter which of the slaves were configured. Thus, in this mode it ispossible to operate a system without the necessity to configure it before.See also ⇒ protected mode.

Single SlaveA single slave can in contrast to a ⇒ A/B slave only be addressed from range 1 to31; the fourth output data bit can be used. All slaves as defined by the older AS-iSpecification 2.0 are single slaves.There are however also single slaves as defined by Specification 2.1, for examplethe new 16 bit slaves.

Slave profileConfiguration data for a slave, consisting of:⇒ I/O configuration and ⇒ ID-Code, as well as ⇒ extended ID1-Code and ⇒ ex-tended ID2-Code.The slave profile is used to distinguish between various slave classes. It is speci-fied by the AS-i Association and set by the slave manufacturer.

CESA-GW-AS-PB Description 76

Page 78: AS-i 3.0 PROFIBUS Gateway in Steinless Steel...The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and the software "AS-i Control Tools". Commissioning, debugging

AS-i 2.0 slaves do not have extended ID1 and ID2 codes. A 2.1 or 3.0 AS-inter-face master enters in this case an “F” for each of the extended ID1 and ID2codes.

CESA-GW-AS-PB Description 77