Festo CESA-GW-AS-PB Installation And Operation Owner's Manual

Gateway AS-i - PROFIBUS CESA-GW-AS-PB
Description
AS-i Gateway
English
749962 1002NH
The reproduction, distribution and utilization of this document as well as the comunication of its contents to 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 a patent, utility module or design.
Sin nuestra expresa autorización, queda terminante­mente prohibida la reproducción total o parcial de este documento, así como su uso indebido y/o ex­hibición o comunicación a terceros. De los infractores se exigirá el correspondiente resarcimiento de daños y perjuicios. Quedan reservados todos los derechos inherentes, en especial los de patentes, de modelos registrados 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. Tout manquement à cette règle est illicite et expose son auteur au versement de dommages et intérêts. Tous droits 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 comunque noto 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à o di brevetti per modelli ornamentali. Detta dokument får inte utan vårt tillstånd utlämnas till obehöriga eller kopieras, ej heller får dess inne­håll delges obehöriga eller utnyttjas. Överträdelse medfö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, Postfach D-73726 Esslingen
Phone: +49 / 711 / 347-0
Fax : +49 / 711 / 347-2144
e-mail: service_international@festo.com
Internet: http://www.festo.com
Original: de Version: 1002NH
Table of contents
AS-i 3.0 PROFIBUS Gateway in Stainless Steel
1 Symbol catalog..................................................................................... 8
1.1 Abbreviations ...................................................................................................... 8
2 General.................................................................................................. 9
2.1 Product information............................................................................................ 9
2.2 Technical data ..................................................................................................... 9
2.3 AS-i specification 3.0.......................................................................................... 9
3 Safety .................................................................................................. 10
3.1 Intended use...................................................................................................... 10
3.2 General safety information ..............................................................................10
3.3 Disposal............................................................................................................. 10
4 Installation .......................................................................................... 11
4.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 ...............................................................................................................13
4.6.1 Switching to advanced display mode................................................................................ 13
4.6.2 Setting the PROFIBUS-DP address 14 .............................................................................. 13
4.7 Connecting AS-i Slaves.................................................................................... 14
4.8 Error tracing ...................................................................................................... 15
4.8.1 Faulty slaves........................................................................................................................ 15
4.8.2 Error display (last error) ..................................................................................................... 15
4.9 Quick setup .......................................................................................................16
4.10 Addressing ........................................................................................................ 17
4.10.1 Program slave 0 to address 4............................................................................................. 17
5 Electrical connection ......................................................................... 18
5.1 Overview of terminals, indicators and operating elements ..........................18
5.1.1 CESA-GW-AS-PB................................................................................................................. 18
CESA-GW-AS-PB Description
4
5.2 AS-i bus connection......................................................................................... 19
5.3 AS-i and power supply terminal assignments ............................................... 19
5.3.1 Electrical connection CESA-GW-AS-PB ......................................................................... 20
5.4 PROFIBUS interface ......................................................................................... 20
5.4.1 Terminating resistors on the PROFIBUS network .......................................................... 21
5.5 Diagnostics interface ....................................................................................... 21
5.5.1 Diagnostics port RS 232.....................................................................................................21
5.6 Indicators and operating elements ................................................................. 22
5.6.1 LED indicators – master ..................................................................................................... 22
5.6.2 Buttons ................................................................................................................................ 23
6 Operation in advanced display mode...............................................24
6.1 Overview............................................................................................................ 24
6.2 Navigating through the advanced display mode........................................... 26
6.3 PROFIBUS (main menu)................................................................................... 27
6.3.1 PROFIBUS address (PROFIBUS Station Address).......................................................... 27
6.3.2 ADR. OVER PB (Set address via PROFIBUS)................................................................... 27
6.3.3 I+M DIENSTE (Information and maintenance services) .................................................. 28
6.3.4 PROFIBUS STATUS ............................................................................................................28
6.4 AS-I CONTROL (option) ................................................................................... 29
6.4.1 CONTROL INFO................................................................................................................... 29
6.4.2 CONTROL RUN ................................................................................................................... 30
6.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)..................................................... 34
6.8.1 AS-I SLAVE ADR. (set/change slave address)................................................................. 35
6.8.2 FORCE OFFLINE (Switch AS-i Master to offline operation) ............................................ 35
6.8.3 OPERATION MODE .............................................................................................................36
6.8.4 STORE ACTUAL (store currently detected configuration) ............................................. 36
6.8.5 PERMANENT PARA (permanent parameters).................................................................. 37
6.8.6 PERMANENT CONFIG (permanent configuration data) .................................................. 37
6.8.7 AS-I ADDRESS (AS-i address assistant) .......................................................................... 38
6.8.8 LOS (list of offline slaves).................................................................................................. 38
6.8.9 AUTO ADDR (enable automatic address)......................................................................... 39
6.8.10 FACTORY RESET (factory default settings)..................................................................... 39
6.9 IO + PARAM.TEST ............................................................................................ 39
6.9.1 BINARY INPUTS .................................................................................................................. 40
6.9.2 BINARY OUTPUTS .............................................................................................................. 41
6.9.3 ANALOG INPUTS ................................................................................................................ 41
6.9.4 ANALOG OUTPUTS ............................................................................................................ 42
6.9.5 PARAMETER ....................................................................................................................... 43
6.10 DIAGNOSIS ....................................................................................................... 43
6.10.1 FLAGS.................................................................................................................................. 44
6.10.2 ACTUAL CONFIG (actual slave configuration) ................................................................ 45
6.10.3 LPF (List of Peripheral Faults)...........................................................................................46
6.10.4 AS-I MASTER (info)............................................................................................................. 47
6.11 ADV. DIAGNOSIS (advanced diagnostics)..................................................... 47
CESA-GW-AS-PB Description
5
6.11.1 ERROR COUNTERS ............................................................................................................47
6.11.2 LCS (History of the slaves which have triggered a configuration error) ....................... 48
6.11.3 FAULT DETECTOR .............................................................................................................. 49
6.12 AS-I SAFETY...................................................................................................... 49
6.12.1 SAFETY SLAVES (safety oriented slaves) ........................................................................ 50
6.12.2 SAFETY MONITOR .............................................................................................................. 50
6.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..................................................................................... 53
7.1 DP Telegrams .................................................................................................... 53
7.1.1 Diagnostics .......................................................................................................................... 53
7.1.1.1 Parameters ............................................................................................................................ 55
7.1.2 Configuration DP/V0 (cyclic data) ...................................................................................... 56
7.1.2.1 Options ..................................................................................................................................57
7.1.3 I/O Data ................................................................................................................................. 59
7.1.3.1 Process data .........................................................................................................................59
7.1.3.2 EC flags and AS-i watchdog.................................................................................................. 61
7.1.3.3 AS-i 16-bit data...................................................................................................................... 61
7.1.3.4 Command interface ...............................................................................................................62
7.2 DP/V1 ................................................................................................................. 63
7.3 Restrictions ....................................................................................................... 63
8 Advanced Diagnostics for AS-i Masters .......................................... 64
8.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............................................................... 65
8.4.1 Duplicate address detection............................................................................................... 65
8.4.2 Earth/Ground Fault Detector .............................................................................................. 66
8.4.3 Noise Detector ..................................................................................................................... 66
8.4.4 Over-voltage Detector ......................................................................................................... 66
9 System startup using AS-i Control Tools ........................................ 67
9.1 Windows software AS-i Control Tools............................................................ 67
10 Codes indicated by the display ........................................................ 71
11 Glossary.............................................................................................. 73
CESA-GW-AS-PB Description
6
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.
CESA-GW-AS-PB Description
7
1. Symbol catalog
Information!
This symbol indicates important information.
Attention!
This symbol warns of a potential failure. Non-compliance may lead to interruptions of the 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.
1.1 Abbreviations
Information!
Additional information can be found in section <Glossary>.
CESA-GW-AS-PB Description
8
2. General
2.1 Product information
This system manual applies to the following Festo equipment:
AS-i 3.0 PROFIBUS Gateway in Stainless Steel
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 on PROFIBUS.
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 a slave 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 channel through PROFIBUS.
On the serial PROFIBUS Master AS-i Control Tools can be used to monitor the AS-i data online via PROFIBUS DP/V1.
2.2 Technical data
The technical data are placed in the data sheet. Please view the current version on the web page: http://www.festo.com
2.3 AS-i specification 3.0
The 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 Diagnostics
Diagnostics, which go far beyond the standard diagnostics facilitate the simple detection of the occasionally occurring configuration errors and further irritations towards 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 monitoring
The AS-i Gateway can be commissioned via the RS 232 diagnostics interface and 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.
CESA-GW-AS-PB
Tab. 2-1.
CESA-GW-AS-PB Description
9
3. Safety
3.1 Intended use
Warning!
This symbol warns of a possible danger. The protection of operating personnel and the system against possible danger is not guaranteed if the control interface unit is not operated in accordance to its intended use.
3.2 General safety information
Warning!
Safety and correct functioning of the device cannot be guaranteed if any operation other than described in this operation manual is performed. Connecting the equipment and conducting any maintenance work under power must exclusively be performed by appropriately qualified personnel. In case a failure cannot be eliminated, the device must be taken out of operation and inadvertently operation must be prevented. Repair work must be performed by the manufacturer only. Additions or modifications to the equipment are not permitted and will void the warranty.
Information!
The operator is responsible for the observation of local safety standards.
3.3 Disposal
Information!
Electronic waste is hazardous waste. Please comply with all local ordinances when disposing this product!
The device does not contain batteries that need to be removed before disposing it.
CESA-GW-AS-PB Description
10
4. Installation
4.1 Dimensions
4.2 Connections
5 ... 6 mm / PZ2
10
10
AWG 2 x 24 ...12
55
75
2 x (0,5 .... 1,5) mm
2 x (0,5 ..
0,8 Nm
7 LB.IN
.. 1,5) mm
76
7
120
2
2
4.3 Installing in the control cabinet
The AS-i/Gateway is installed in the control cabinet on 35mm DIN rails per DIN EN 50 022.
Information!
The enclosure of the AS-i/Gateway is made of stainless steel. The unit is also suitable for exposed wall mounting.
CESA-GW-AS-PB Description
11
To install, place the unit on the upper edge of the DIN rail and then snap in the lower edge.
4.4 Removing
[1]
[2]
-
-
+-+
+
-
-
+-+
+
To remove, press the holding clamps [2] down using a screwdriver [1], press the unit firmly against the upper rail guide and lift out.
4.5 Electrical Connection
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
3
1
2
12
4.6 Startup
4.6.1 Switching to advanced display mode
klassische Anzeige classical display affichage classique display classico indicación clásica
OK
erweiterter Anzeigemodus advanced display mode mode d‘affichage étendu modo di visualizzazione avanzata modo de visualisación avanzada
LCD
.12A
UNKNOWN SLAVE
ESC
PROFIBUS QUICK SETUP SETUP SLAVE ADR TOOÖ
4.6.2 Setting the PROFIBUS-DP address 14
OK
OK
LCD
PROFIBUS QUICK SETUP ASI SAFETY
OK
LCD
PROFIBUS ADDRESS PROFIBUS STATUS
LCD
Menüaufbau siehe Zusatzblatt menu structure see additional page structure de menu voir page supplémentaire struttura di menu vedi pagina supplementare estructura del menu ver página adicional
LCD
PROFIBUS ADDRESS OLD ADDRESS 3 NEW ADDRESS 000
2x
LCD
PROFIBUS ADDRESS OLD ADDRESS 3 NEW ADDRESS 000
CESA-GW-AS-PB Description
13
2x OK
PROFIBUS ADDRESS OLD ADDRESS 3 NEW ADDRESS 010
OK
LCD
PROFIBUS ADDRESS OLD ADDRESS 14 NEW ADDRESS 000
LCD
2x ESC
4x
The device is set to address 3 at the factory.
4.7 Connecting AS-i Slaves
Power
Profibus
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-i
AS-i Slave 1
AS-i Slave 5
OK
AS-i Master
. 41
SEARCHING SLAVES
LCD
AS-i
AS-i Slave 1
AS-i Slave 5
Power
Profibus
Config error
U AS-i
AS-i active
prg enable
prj mode
LCD
PROFIBUS QUICK SETUP SETUP
2x ESC
LCD
. 1
AS-i Master
0.5s
. 5
0.5s
. 24
CESA-GW-AS-PB Description
0.5s
14
4.8 Error tracing
4.8.1 Faulty slaves
Power
Profibus
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-i
LCD
AS-i Master
.1
MISSING SLAVE
AS-i Slave 1
AS-i Slave 5
AS-i Slave 24
4.8.2 Error display (last error)
Power
Profibus
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface Slave 1
AS-Interface Slave 5
AS-Interface Slave 24
AS-i Master
Power
Profibus
Config error
U AS-i
AS-i active
prg enable
prj mode
AS-Interface
AS-Interface Slave 1
AS-Interface Slave 5
AS-Interface Slave 24
2s
.24
MISSING SLAVE
2s
LCD
HOST ERROR
AS-i Master
NO CONNECTION
set/
24
LCD
CESA-GW-AS-PB Description
15
4.9 Quick setup
config error
. 5
OK
PROFIBUS QUICK SETUP SETUP SLAVE ADR TOOL
OK
WARNING: OUTPUTS MAY BE RESET
LCD
LCD
LCD
OK
LCD
STORE AS-INTERFACE CONFIGURATION OK STORE +PRJ MODE
2x ESC
LCD
.
CONFIGURATION OK
LCD
HOST ERROR NO CONNECTION
OK
STORE AS-I CONFIGURATION STORE +RUN STORE +PRJ MODE
CESA-GW-AS-PB Description
LCD
16
4.10 Addressing
4.10.1 Program slave 0 to address 4
. 41
SEARCHING SLAVE
OK
PROFIBUS QUICK SETUP SLAVE ADR TOOL SLAVE TEST TOOL
OK
SLAVE ADR TOOL CONNECT NEW SLAVE OLD ADDRESS NEW ADDRESS
Master Slave
Modul anschließen/Connect module/Raccordez le module/ Collegare il modulo/Conecte modulo
SLAVE ADR TOOL OLD ADDRESS 2 NEW ADDRESS 3 PRG
2x
LCD
LCD
LCD
LCD
1x
SLAVE ADR TOOL OLD ADDRESS 2 NEW ADDRESS 6 PRG
1x
SLAVE ADR TOOL OLD ADDRESS 2 NEW ADDRESS 6
PRG
OK
SLAVE ADR TOOL
OK
2x ESC
3xOK
. 6
UNKNOWN SLAVE
LCD
LCD
LCD
LCD
CESA-GW-AS-PB Description
17
5. Electrical connection
5.1 Overview of terminals, indicators and operating elements
5.1.1 CESA-GW-AS-PB
[1]
[2]
[3]
[4]
[5]
[6]
Legend:
[1] RS232 diagnostics port [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
CESA-GW-AS-PB Description
0,8 Nm
5 ... 6 mm / PZ2
10
-
-
+-+
+
10
7 LB.IN
2 x (0,5 .... 1,5) mm
2 x (0,5 ..
.. 1,5) mm
2
2
AWG 2 x 24 ...12
1
18
5.2 AS-i bus connection
Blue AS-i-
Brown AS-i+
Blau AS-i-
Braun AS-i+
Yellow ASi ribbon cable
2-conductor AS-i round cable (Recommended: flexible power cable H05VV-F2x1,5 per DIN VDE 0281)
Information!
Electrical work is to be performed only by electrical technicians.
5.3 AS-i and power supply terminal assignments
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 connected to 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 good EMC characteristics.
Therefore function grounding using the grounding screw is preferred.
CESA-GW-AS-PB Description
19
5.3.1 Electrical connection CESA-GW-AS-PB
M4
5 mm max!
-
+-+
+
-
Function ground
Terminal Signal / Description
+AS-i– ASI +PWR– Supply voltage for AS-i Circuit (max. 8 A) FE
Information!
For additional information, please refer to the section <AS-i and power supply terminal assignments>.
5.4 PROFIBUS interface
The PROFIBUS interface is designed as a 9-pin D-SUB connector, in accordance with the PROFIBUS standard EN 50 170. It is located at the top left-hand side of the master.
.
5
9
4
8
3
7
2
6
1
PROFIBUS
+ASI –
+ASI –
ASI +PWR– (max. 8A)
Connection to AS-i Circuit
Function ground
DGND (0 Volt)
RxD/TxD-N (data line A) RxD/TxD-P (data line B)
VP / +5 Volt)
PIN Designation of the D-SUB
connector
Pin 3 Data line B („RxD/TxD-P“) Pin 5 DGND (0 V) Pin 6 VP / +5 V Pin 8 Data line A („RxD/TxD-N“)
CESA-GW-AS-PB Description
20
The AS-i/PROFIBUS gateway sends and receives signals on pins 3 and 8 of the D-SUB connector. The PROFIBUS signal “RxD/TxD-N (data line A)
1
on pin 8, the signal “RxD/TxD-P (data line B)
” 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
5V 5V
1
” is located
390
AA A
220
B
390
GND GND
Host
5.5 Diagnostics interface
The service and diagnostics interface (in conjunction with AS-i Control Tools software) 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 it is placed at the top of the housing (see section <Overview of terminals, indicators and operating elements>).
AS-i Master
390
B
B
AS-i Master
220
390
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.
CESA-GW-AS-PB Description
21
5.6 Indicators and operating elements
5.6.1 LED indicators – master
PROFIBUS
The LED’s on the front panel of the device indicate:
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
5.6.2 Buttons
The buttons are used for the following:
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.
For additional information see section <Operation in advanced display mode>.
CESA-GW-AS-PB Description
23
6. Operation in advanced display mode
Information!
From SETUP/LANGUAGE you can set the desired menu language (German, English, French, Italian or Spanish), see <Language (menu language)>.
6.1 Overview
Commi ssioning
Classic mode
.12A
green marked data can be edited
PROFIBUS
PROFIBUS ADDRESS SET ADDR OVER PB I+M SERVICES PROFIBUS STATUS
WARNING: OUTPUTS MAY BE RESET
QUICK SETUP
STORE AS-I CONFIGURATION
STORE + RUN STORE + PRJ MODE
Basic Operation
The device starts in the traditional mode. You can switch between the two modes with ESC or OK. In the advanced mode the cursor is moved by both arrow buttons. Pushing OK puts you to the superior menue (in the drawing one step to the right side). ESC puts you back to the previous menue. To edit data you first mark them with the cursor and then select them with OK, change them with the arrow buttons and finally apply them with OK. Pushing ESC cancels the editing.
PROFIBUS ADDRESS OLD ADDRESS 099 NEW ADDRESS 003
SET ADDR OVER PB DISABLE
CHANGE
I+M SERVICES I+M ACTIVATED
CHANGE
PROFIBUS STATUS DPV0: CONN DPV1: CONN
SLAVE ADR TOOL CONNECT OLD ADDRESS 21A NEW ADDRESS 03B PRG
WARNING: OUTPUTS MAY BE SET AND HOST MAY LOOSE CONTROL.
BINARY INPUTS BINARY OUTPUTS ANALOG INPUTS ANALOG OUTPUTS PARAMETER
WARNING: OUTPUTS MAY BE SET AND HOST MAY LOOSE CONTROL.
SLAVE TEST TOOL SLAVE ADR 21A
TEST
SLAVE ADR 21A OK
BINARY INPUTS
BINARY OUTPUTS
ANALOG INPUTS
1 +32767 OVERFL
ANALOG OUTPUTS 01+1
+2
1
PARAM PERM PARAM
CONFIG 0A72
PERM CONF
Advanced display mode
TEST
1
0000
F F
0A72
PROFIBUS AS-I CONTROL QUICK SETUP SLAVE ADR TOOL SLAVE TEST TOOL SETUP IO + PARAM.TEST DIAGNOSIS ADV. DIAGNOSIS AS-I SAFETY LANGUAGE DISPLAY CONTRAST
BINARY INPUTS D3...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
BINARY OUTPUTS D3...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
ANALOG INPUTS 1 X (SINGLE SLAVE) 2 A (A-SLAVE)
(B-SLAVE)
3 B
..
31
ANALOG OUTPUTS 1 X
(SINGLE SLAVE) (A-SLAVE)
2 A 3 B
(B-SLAVE) .. 31
PARAMETER
| 1A- 0 2A- 2 | 3A- F 4A- E | 5A- 3
....
30A- 8 | 31A- 9
| 1B- 0 2B- E | 3B- 0
4B-
| 5B-
E
0
...
...
| 31B-
30B- 8
9
(option)
AS-I SLAVE ADDR FORCE OFFLINE OPERATION MODE STORE ACT CFG PERMANENT PARAM PERMANENT CFG ADDR.ASSISTANT LOS AUTO ADDR ENABLE FACTORY RESET
ANALOG IN 1 0 +2500
1 +17898
2 +32767 OVERFL
3 -20023
....
ANALOG OUT 1 0
1
2 +32767 OVERFL
3
....
+25 0 0
+17898
-20023
SETUP
CONTROL INFO CONTROL RUN CONTROL FLAGS
AS-I SLAVE ADDR OLD ADDRESS NEW ADDRESS
FORCE OFFLINE NO
CHANGE
OPERATION MODE CONFIG MODE
CHANGE
STORE ACTUAL CONFIGURATION
STORE
PERMANENT PARAM
| 1A- 0
2A- 2 | 3A- F
| 5A-
4A- E
....
30A- 8 | 31A- 9
| 1B­ 2B- E | 3B- 0 4B- E | 5B- 0
...
30B- 8
| 31B-
PERMANENT CONFIG IO ID XID1 XID2
1A - 7 F 3 4
...
31A - 7 F 3 4
1B - 7 F 3 4
...
31B - 7 F 3 4
AS-I ADDRESS ASSISTANT ON NEXT ADDRESS TO PROGRAM: 1A
LOS LIST OF OFFLINE SLAVES
CLEAR ALL SET ALL
| 1A-
2A- | 3A-
4A- X | 5A- X
....
....
30A- X | 31A-
| 1B- X 2B- X | 3B- X 4B- X | 5B- X
...
30B- X | 31B- X
AUTO ADDRESS ENABLE
CHANGE
FACTORY RESET
FACTORY RESET
DO RESET
DO RESET
CONTROL INFO START BIT SET
21A
RUNNING
03B
CYCLE TIME ACT: 2MS MAX: 5MS
CONTROL RUN RUN
CHANGE
CONTROL FLAGS 0: 2A 47 2B 2C 4: 83 BD F2 58
...
124:4A C3 84 7A
3
0
9
X
CESA-GW-AS-PB Description
24
Commi ssioning
Classic Mode
.12A
green marked data can be edited
DIAGNOSIS
FLAGS ACTUAL CONFIG LPF AS-I MASTER
FLAGS: 0131 05 0000 0001 0011 0001 0000 0101 1 PERIPHERY_OK 0 OFFLINE_READY 0 AS-I_PWR_FAIL 1 NORMAL_OP. 1 CONFIG_ACTIVE 0 AUTO_ADDR_AVL 0
AUTO_ADDR_ASN 0 LDS.0 1 CONFIG_OK
1 AUTO_ADDR_ENA 0 OFFLINE 1 DATA_EXCH_ACT
ACTUAL CONFIG
0A | 1A-C
...
30A-X | 31A-D
| 1B-X
...
30A | 31B-F HELP: X O.K. D DETECTED ONLY UNKNOWN SLAVE P PROJ. ONLY MISSING SLAVE C TYPE CONFLICT F PERIPH. FAULT A DUPLICATE ADR
LPF LIST OF PERIPH. 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
VERSION 20000919 FEATURE STRING ZEFOD1.AS.ER
ADV. DIAGNOSIS
ERROR COUNTERS LCS FAULT DETECTOR
0A - .... -
1A - 7A28 -C TYPE CONFLICT
Advanced display mode
PROFIBUS AS-I CONTROL QUICK SETUP SLAVE ADR TOOL SLAVE TEST TOOL SETUP IO + PARAM.TEST DIAGNOSIS ADV. DIAGNOSIS AS-I SAFETY LANGUAGE DISPLAY CONTRAST
ERROR COUNTERS
RESET
1A - 0 ... 31A - 65535 1B - 34 ... 30B - 0
LCS LIST OF CORRUPTED SLAVES
RESET
| 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
FAULT DETECTOR
RESET
HISTORY: EFLT OVRV NOIS ACTUAL: EFLT OVRV NOIS DUP ASI ADR: 0 |31B HELP: EFLT EARTH FAULT OVRV OVERVOLTAGE NOIS NOISE DUP ASI ADR DUPLICATE ASI SLAVE ADDRESS
AS-I SAFETY
SAFETY SLAVES SAFETY MONITOR SAFE SUBST VAL
ENGLISH X DEUTSCH FRANCAIS ITALIANO ESPANOL
DISPLAY CONTR
DEFAULT
SAFETY ORIENTED SLAVES
| 1-
2-XX | 3-RR
....
30-RX | 31-XR HELP: X O.K. R CH. RELEASED
SAFETY MONITOR ADDRESS
17
MODE:
SORTED/V1
OK
SAFE SUBST VAL SUBSTITUTE
CHANGE
SAFETY MONITOR DIAGNOSIS ADDR: 17 MODE: SORTED/V1 STATUS: OK CH.1: OFF CH.2: OFF 1-32: GREEN
...
Basic Operation
The device starts in the traditional mode. You can switch between the two modes with ESC or OK. In the advanced mode the cursor is moved by both arrow buttons. Pushing OK puts you to the superior menue (in the drawing one step to the right side). ESC puts you back to the previous menue. To edit data you first mark them with the cursor and then select them with OK, change them with the arrow buttons and finally apply them with OK. Pushing ESC cancels the
.
editing
CESA-GW-AS-PB Description
25
Warning!
Classical (traditional) mode does not guarantee any protection of the settings of the device!
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 address of an AS-i slave).
6.2 Navigating through the advanced display mode
PROFIBUS AS-I CONTROL QUICK SETUP SLAVE ADR. TOOL SLAVE TEST TOOL SETUP IO + PARAM.TEST DIAGNOSIS
1.12A
DISPLAY CONTRAST ADV. DIAGNOSE AS-I SAFETY LANGUAGE DISPLAY CONTRAST
Information!
Some of the settings in the advanced mode are protected as long as the upstream fieldbus running. That means that some status information can be displayed only.
To protect the installation/process, many options such as "change address", "write parameter", "set outputs", etc. cannot be performed with an active connection to the control system (active PROFIBUS masters Class 1Bus connection) . In order to exe­cute these commands via the display, the connection to the control system must be deactivated first (no PROFIBUS Master Class 1 connection).
The device starts up in the classical mode. Pressing the OK button switches to the advanced mode. To return to the classical mode, the ESC button must be pressed several times.
In the advanced mode, the selection menu can be moved up and down by using the two arrow buttons. Pressing OK switches to the selected function or to the displayed 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 and from 1 B to 31 B. Data for single slaves are displayed along with the addresses 1 A to 31 A.
CESA-GW-AS-PB Description
26
6.3 PROFIBUS (main menu)
6.3.1 PROFIBUS address (PROFIBUS Station Address)
Main menu || PROFIBUS || PROFIBUS ADDRESS ||
PROFIBUS ADDRESS ADDR. OVER PB I+M SERVICES PROFIBUS STATUS
PROFIBUS ADDRESS OLD ADDRESS 099 NEU ADRESS
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 ||
003
PROFIBUS ADDRESS ADDR. OVER PB I+M SERVICES PROFIBUS STATUS
By using this function the option of changing the address via PROFIBUS can be switched on and off.
CHANGE: the display switches between ENABLED and DISABLED.
DISABLED:
ENABLED:
CESA-GW-AS-PB Description
ADDR. OVER PB DISABLED CHANGE
address modification via PROFIBUS is not possible address modification via PROFIBUS is possible
27
6.3.3 I+M DIENSTE (Information and maintenance services)
Main menu || PROFIBUS || I+M SERVICES ||
PROFIBUS ADDRESS ADDR. OVER PB I+M SERVICES PROFIBUS STATUS
I+M SERVICES ENABLED CHANGE
The function I+M SERVICES enables or disables the PROFIBUS "Information and Maintenance" services. Disabling these services frees up additional memory space in the SPC3 and thus changes DP/V0 length limitations (see chap. <Re­strictions>).
Displayed information:
DISABLED:
ENABLED:
CHANGE switches the displayed information from DISABLED to ENABLED and vice versa.
6.3.4 PROFIBUS STATUS
Main menu || PROFIBUS || PROFIBUS STATUS ||
I+M service is off I+M service is on.
PROFIBUS ADDRESS ADDR. OVER PB I+M SERVICES PROFIBUS STATUS
PROFIBUS STATUS DPV0: 1 VERBUND. DPV1: 0 VERBUND.
The function PROFIBUS Status indicates if and how many connections are active on each PROFIBUS channel.
CESA-GW-AS-PB Description
28
DP/V0 = cyclic channel: 0: not active 1: active DP/V1 = acyclic channel: 0: not active
0:
6.4 AS-I CONTROL (option)
Main menu || AS-I CONTROL ||
number of connections
CONTROL INFO CONTROL RUN CONTROL FLAGS
The control menu contains the following sub-menus:
CONTROL INFO: status of the control programm
CONTROL RUN: start/stop the control programm
CONTROL FLAGS: read/change the control programm
6.4.1 CONTROL INFO
Main menu || AS-I CONTROL || CONTROL INFO ||
CONTROL INFO START BIT SET RUNNING CYCLE TIME ACT: 2MS MAX: 5MS
This function displays the current status of the AS-i control (control program).
START BIT SET: the control program has been started
START BIT RESET: the control program has been stopped
RUNNING: the control program is running STOPPED: the control program has stopped
The control program can be stopped even though the start bit was set. Example: any configuration error occurs, or the master is in the configuration mode.
CESA-GW-AS-PB Description
ACT: current cycle time of the control program
MAX: maximum cycle time of the control program since its last start
29
6.4.2 CONTROL RUN
Main menu || AS-I CONTROL || CONTROL RUN ||
CONTROL RUN RUN CHANGE
This function is used to start or stop the control program. It modifies the START BIT in the Control Info menu.
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.
6.4.3 CONTROL FLAGS (control program flag memory)
Main menu || AS-I CONTROL || CONTROL FLAGS ||
CONTROL FLAGS 0:2A 47 2B 2C 4:83 BD F2 58 ... 124: 4A C3 84 7A
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.
CESA-GW-AS-PB Description
5:10111101
4:83 [BD] F2 58
30
6.5 QUICK SETUP
Main menu || QUICK SETUP ||
This menu enables a quick configuration of the AS-i network.
Warning!
Outputs can be reset!
Pressing "OK" switches the user to the sub menu "Store AS-i Configuration".
Store+Run
Pressing "OK" stores the detected configuration and the detected slaves on the AS-i network as the active configuration. The gateway then switches to the pro­tected operating mode.
Store + Prj Mode
Pressing "OK" stores the detected configuration and the detected slaves on the AS-i network as the active configuration. The gateway remains in configuration mode.
Pressing "ESC" leaves this menu and switches back to the main menu.
WARNING: OUTPUTS CAN BE RESET!
STORE AS-I CONFIGURATION STORE + RUN STORE + PRJ MODE
6.6 SLAVE ADR TOOL
Main 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 address programming device.
Pressing the OK button continues with the actual test, ESC cancels the process.
CESA-GW-AS-PB Description
SLAVE ADR TOOL CONNECT NEW SLV OLD ADDRESS NEW ADDRESS PRG
31
Now the new slave can be connected to the AS-i network. After connecting, the current 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 be selected. Afterwards the new address can be selected by using the arrow but­tons. The selected address is assigned by selecting "PRG" on the menu and pressing the OK button.
If an error occurs while addressing a slave, one of the following error messages is displayed for about 2 seconds:
Failed: SND: slave with old address has not been detected.
Failed: SD0: slave with address 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.
6.7 SLAVE TEST TOOL
Main 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 the host may loose control over the network.
Pressing the OK button continues with the actual test, ESC cancels the process.
SLAVE ADR TOOL CONNECT OLD ADDRESS 21A NEW ADDRESS 03B PRG
In the proceeding menu the slave to be tested has to be selected by entering the slave address.
Afterwards, testing the selected slave is started by confirming the menu entry "Test".
CESA-GW-AS-PB Description
WARNING: OUTPUTS MAY BE SET AND HOST MAY LOOSE CONTROL.
32
SLAVE TEST TOOL SLAVE ADR 21A TEST
After finishing testing the selected slave all relevant information is displayed. A successful 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)
CESA-GW-AS-PB Description
33
SLAVE ADR 21A OK
BINARY INPUTS 1 BINARY OUTPUTS
1 ANALOG INPUTS 0000
1 +32767 OVERFL
ANALOG OUTPUTS 0 +32767 OVERFL
ANALOG OUTPUTS 0 +1
1 +2 PARAM F PERM PARAM F CONFIG 0A72 PERM CONF 0A72
6.8 SETUP (configuration of an AS-i network)
Main menu || SETUP ||
AS-I SLAVE ADDR FORCE OFFLINE OPERATION MODE STORE ACT CFG PERMANENT PARAM PERMANENT CFG ADDR.ASSISTANT LOS AUTO ADDR. ENABLE FACTORY RESET
In the "Setup menu", the following sub-menus are available:
CESA-GW-AS-PB Description
34
AS-I SLAVE ADDR: set/edit AS-i slave address
FORCE OFFLINE: switch AS-i master to offline operation
OPERATION MODE: operation mode
STORE ACT CFG: store current configuration
PERMANENT PARAM permanent parameters
PERMANENT CFG: permanent configuration data ADDR.ASSISTANT: address assistant
LOS: list of offline slaves
AUTO ADDR. ENABLE: auto addressing enable
FACTORY RESET: reset to factory settings
6.8.1 AS-I SLAVE ADR. (set/change slave address)
Main menu || SETUP || AS-I SLAVE ADDR ||
AS-I SLAVE ADDR. OLD ADDRESS 21A NEU ADDRESS 03B
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 then
the slave to be changed must be selected. The new address of the slave can be set in the menu item "NEW ADDRESS". The address change is performed by pressing the OK button.
6.8.2 FORCE OFFLINE (Switch AS-i Master to offline operation)
Main menu || SETUP || FORCE OFFLINE ||
FORCE OFFLINE NO CHANGE
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 safe
state. The AS-i master must be offline if an AS-i slave needs to be readdressed via the IR-interface.
CESA-GW-AS-PB Description
YES: AS-i Master is offline.
NO: AS-i Master is online.
35
6.8.3 OPERATION MODE
Main menu || SETUP || OPERATION MODE ||
OPERATION MODE CONFIG MODE CHANGE
This function shows the current operation mode of the AS-i master:
PROTECTED MODE: protected operating mode
CONFIG MODE: configuration mode
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||
STORE ACTUAL CONFIGURATION STORE
This function can only be executed in configuration mode. This function enables currently detected slaves on the selected AS-i network to
be stored in the configuration of the AS-i Master. If "Store" was successful, the LED "Config error" is turned off. The configuration is
stored 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 Config
Mode" will appear: Address 0 is not a permitted operation address for a slave. If an AS-i slave with
this address exists, storing the configuration will still be confirmed with "OK". However, the configuration error remains.
CESA-GW-AS-PB Description
36
6.8.5 PERMANENT PARA (permanent parameters)
Main menu || SETUP || PERMANENT PARA ||
PERMANENT PARAM | 1A- 0 2A - 2 | 3A- F 4A - E | 5A- F … 30A- 8
| 31A- 9 | 1B- 0 2B - E | 3B- 0 4B - E | 5B- 0 … 30B- 8 | 31B- 9
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 single slaves 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 ||
PERMANENT CONFIG. IO ID XID1 XID2 1A- 7F34 … 31A- 7F34 1B- 7F34 … 31B- 7F34
This function is used to set the permanent configuration values. The defined val­ues for the configuration data are displayed behind the respective slave address in the following order:
IO (I/O-configuration) ID (ID-configuration) xID1 (extended ID1) xID2 (extended ID2).
CESA-GW-AS-PB Description
37
6.8.7 AS-I ADDRESS (AS-i address assistant)
Main menu || SETUP || AS-I ADDRESS ||
AS-I ADDRESS ASSISTANT ON NEXT ADDRESS ADDR.: –
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 0 can be used to assign the correct address.
Selecting "Assistant on" or "Assistant off" switches the AS-i address assistant on or off. The current state of the AS-i address assistant is displayed:
ASSISTANT ON: AS-i address assistant is switched on.
ASSISTANT OFF: AS-i address assistant is switched off.
Procedure:
1. Store AS-i configuration in the device. This can easily be done by using the Windows software AS-i Control Tools (Master | Store configuration for the AS-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 ||
LOS LIST OF OFFLINE SLAVES CLEAR ALL SET 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
CESA-GW-AS-PB Description
38
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.
Empty field: LOS bit deleted
X: LOS bit set
6.8.9 AUTO ADDR (enable automatic address)
Main menu || SETUP || AUTO ADDRESS ||
AUTO ADDRESS ENABLE CHANGE
This function is used to enable or disable automatic address assignment. This mode can be:
Enable: automatic address assignment is released.
Disable: automatic address assignment is locked.
6.8.10 FACTORY RESET (factory default settings)
Main Menu || SETUP || FACTORY RESET ||
FACTORY RESET DO 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.
Warning!
This function should be used only in emergencies, since all previously set attributes are set back to the factory setting and ,thus, secure communication and operation of the masters 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!
6.9 IO + PARAM.TEST
Main menu || IO + PARAM.TEST ||
The following warning message will be displayed before entering this menu:
CESA-GW-AS-PB Description
39
WARNING: OUTPUTS MAY BE SET AND HOST MAY LOSE CONTROL OVER THE AS-I MASTER.
Pressing the OK button continues with the actual test, ESC cancels the process.
BINARY INPUTS BINARY OUTPUTS ANALOG INPUTS ANALOG OUTPUTS PARAMETER
The menu "IO + Param.Test" offers the following sub menus:
BINARY INPUTS: State of the binary inputs
BINARY OUTPUTS: State of the binary outputs
ANALOG INPUTS State of the analog inputs
ANALOG OUTPUTS: State of the analog outputs
PARAMETERS: Value of the current AS-i parameter
6.9.1 BINARY INPUTS
Main menu || IO + PARAM.TEST || BINARY INPUTS ||
BINARY INPUTS D3...D0 1A - 0 1 0 1 2A - 0 1 0 1 3A - 0 0 0 1
This function displays the state of the binary inputs for all AS-i slaves.
CESA-GW-AS-PB Description
0: Input cleared 1: Input set
40
6.9.2 BINARY OUTPUTS
Main menu || IO + PARAM.TEST || BINARY OUTPUTS ||
BINARY OUTPUTS D3...D0 1A - 0 1 0 1 2A - 0 1 0 1 3A - 0 0 0 1
This function displays the state of the binary outputs for all AS-i slaves.
0: output cleared 1: output set
The binary outputs can be modified after selecting an AS-i slave.
6.9.3 ANALOG INPUTS
Main menu || IO + PARAM.TEST || ANALOG INPUTS ||
ANALOG INPUTS 1 X 2 A 3 B
The slave types are characterized as follows:
X: Single Slave A: A-Slave B: B-Slave
AB: A+B Slave
...
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 without sign. If the selected slave is a transparent slave, the value is always displayed without sign. In this case, when the value is changed only positive values can be entered. Additionally, a value overflow is indicated by "Overfl".
CESA-GW-AS-PB Description
41
ANALOG IN 1 0 +2500
1 +17898
2 +32767 OVERFL
3 -20023
6.9.4 ANALOG OUTPUTS
Main menu || IO + PARAM.TEST || ANALOG OUTPUTS ||
ANALOG OUTPUTS 1 X 2 A 3 B
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 without sign. If the selected slave is a transparent slave, the value is always displayed without sign. In this case, when the value is changed only positive values can be entered. Additionally, a value overflow is indicated by "Overfl".
The analog outputs can be changed after selecting an AS-i slave.
CESA-GW-AS-PB Description
ANALOG OUT 1 0 +2500
1 +17898
2 +32767 OVERFL
3 -20023
42
6.9.5 PARAMETER
Main menu || IO + PARAM.TEST || PARAMETER ||
PARAMETER | 1A - 0 2A - 2| 3A - F 4A - E| 5A - 3
This function displays the hexadecimal value of the current AS-i parameters for all AS-i slaves.
The current AS-i parameters can be changed after selecting a slave address.
6.10 DIAGNOSIS
Main menu || DIAGNOSIS ||
FLAGS ACTUAL CONFIG LPF AS-I MASTER
FLAGS: Display of the EC-Flags
ACTUAL CONFIG: Display of the current configuration
LPF: List of Peripheral Faults
AS-I MASTER: Display of the software states
For additional information refer to chap. <Advanced Diagnostics for AS-i Mas­ters>.
CESA-GW-AS-PB Description
43
6.10.1 FLAGS
Main 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:
Byte
Byte value:
Bit: 76543210
FLAGS: 0131 05 0000 0001 0011 0001 0000 0101 1 PERIPHERY_OK 0 OFFLINE_READY 0 AS-I_PWR_FAIL 1 NORMAL_OP. 1 CONFIG_ACTIVE 0 AUTO_ADDR_AVL 0 AUTO_ADDR_ASN 0 LDS.O 1 CONFIG_OK
1 AUTO_ADDR_ENA 0 OFFLINE 1 DATA_EXCH_ACT
272625242322212
0
Byte 1
Bit 0: Periphery_OK
This flag is set if none of the AS-i slave signals a peripheral fault.
Byte 2
Bit 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
The flag is set if the automatic addressing is possible. This means that exactly one slave has failed.
Bit 2: Auto_Addr_Asn
The 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.0
The flag is set,if an AS-i slave with address 0 has been detected.
Bit 0: Config_OK
The flag is set if the projected configuration is equal to the actual configura­tion.
Byte 3
Bit 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: Offline
This bit is set if the operating mode is supposed to be changing to offline or is already offline.
Bit 2: Auto_Addr_Ena
This flag indicates if automatic addressing has been disabled (bit = 0) or ena­bled (bit = 1) by the user.
6.10.2 ACTUAL CONFIG (actual slave configuration)
Main menu || DIAGNOSIS || ACTUAL CONFIG ||
CESA-GW-AS-PB Description
ACTUAL CONFIG 0A | 1A-C
....
30A-X | 31A-D | 1B-X
....
30A | 31B-F HELP: X O.K. D DETECTED ONLY UNKNOWN SLAVE P PROJ. ONLY MISSING SLAVE C TYPE CONFLICT F PERIPH. FAULT A DUPLICATE ADDR
45
This function displays the status of the actual configuration of the individual AS-i slaves.
A help appears at the end of the list explaining the abbreviations:
X (O.K.): The configuration data for the detected AS-i slave agree with
D (Detected Only): An AS-i slave is detected at this address, but it was not
P (Projected Only): An AS-i slave was designed in at this address, but it was not
C (Type Conflict): The configuration data for the detected AS-i slave do not
F (Periph. Fault): The AS-i slave has a peripheral error.
A (Duplicate Adr.): Two AS-i slaves at the indicated address.
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).
the designed in configuration data.
designed in.
detected.
agree with the designed in configuration data. The actual exist­ing configuration of the connected AS-i slave is displayed.
0A - .... -
1A - 7A28 -C WRONG TYPE
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 decimal
points are displayed instead of the configuration data.
6.10.3 LPF (List of Peripheral Faults)
Main menu|| DIAGNOSIS || LPF LIST OF PERIPH. FAULTS ||
LPF LIST OF PERIPH. FAULTS | 1A-X 2A- | 3A­4A-X | 5A-X
....
30A-X | 31A­ | 1B-X
This list shows the list of slaves which have triggered peripheral faults (LPF).
CESA-GW-AS-PB Description
46
Empty field: Peripheral O.K.
X: Peripheral fault
6.10.4 AS-I MASTER (info)
Main menu || DIAGNOSIS || AS-I MASTER ||
VERSION 20000919 FEATURE STRING ZEFOD1.AS.ER
This function shows information about the version and features of the AS-i mas­ter:
VERSION: date of the firmware
FEATURE STRING: feature string of the AS-i masters
6.11 ADV. DIAGNOSIS (advanced diagnostics)
Main menu || ADV. DIAGNOSIS ||
ERROR COUNTER LCS FAULT DETECTOR
The menu "Adv. Diagnosis" has the following sub menu:
ERROR COUNTER: error counter
LCS: list of slaves, that caused a configuration error
FAULT DETECTOR: history of the AS-i fault detector
For additional information refer to section <Advanced Diagnostics for AS-i Mas­ters>.
6.11.1 ERROR COUNTERS
Main Menu|| ADV. DIAGNOSIS || ERROR COUNTERS ||
ERROR COUNTERS RESET 1A - 0 ... 31A - 65535 1B - 34 ... 30B - 0
CESA-GW-AS-PB Description
47
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 ||
LCS LIST OF CORRUPTED SLAVES RESET | 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
This list contains entries for all AS-i slaves that were responsible for at least one intermittent configuration error since the list was last read or since the AS-i mas­ter was turned on.
empty field: no error
CESA-GW-AS-PB Description
X: AS-i Slave triggered a configuration error.
48
6.11.3 FAULT DETECTOR
Main menu || ADV. DIAGNOSIS || FAULT DETECTOR ||
FAULT DETECTOR RESET HISTORIC: EFLT OVRV NOIS ACTUAL: EFLT OVRV NOIS DUP ASI ADR: 0 | 31B HELP: EFLT EARTH FAULT OVRV OVERVOLTAGE NOIS NOISE DUP ASI ADDR DUPLICATE ASI SLAVE ADDRESS
The menu "Fault Detector" displays information about the AS-i fault detector and permits 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 fault
detector. 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 be displayed.
6.12 AS-I SAFETY
Main menu || AS-I SAFETY ||
CESA-GW-AS-PB Description
SAFETY SLAVES SAFETY MONITOR SAFE SUBST. VAL.
49
This menu enables the following functions:
SAFETY SLAVES: safety oriented slaves
SAFETY MONITOR: safety monitor
SAFE SUBST. VAL: safe substitude values for safety slaves
6.12.1 SAFETY SLAVES (safety oriented slaves)
Main Menu|| AS-I SAFETY || SAFETY ORIENTED SLAVES ||
SAFETY ORIENTED SLAVES | 1­ 2-XX | 3-RR 30-RX | 31-XR HELP: X O.K. RK RELEASED
The list of “Safety Input Slaves” (“AS-i Safety at Work”) shows the slaves for which the safety function has been released:
X: The channel is OK R: The channel has released
The first place corresponds to Channel 2, the second place to Channel 1. Thus RX means that Channel 2 released and Channel 1 is OK.
The channels can not be evaluated individually, if the substitution of safety slaves input data was disabled in menu:
• command interface/ function profile or
• slave value substitute (SAFETY SUBST VALUE). In this case both channels must have the same state, otherwise the indication will
not be proper.
6.12.2 SAFETY MONITOR
Main menu || AS-I SAFETY || SAFETY MONITOR ||
SAFETY MONITOR ADDRESS 17 MODUS: SORT./V1 OK
CESA-GW-AS-PB Description
50
SAFETY MONITOR DIAGNOSIS ADDR: 17 MODE: SORT./V1 STATUS: OK CHANNEL 1: OFF CHANNEL 2: OFF 1-32: GREEN …
The AS-i safety monitor diagnostics function reads the diagnostics data from the AS-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 ||
SAFE SUBST VAL SUBSTITUTE CHANGE
This function enables activation/deactivation of the code substitute function for safe slaves.
SUBSTITUTE (values)
The safety code sequences are replaced by the following values:
Both channels are in the safe state: 0000bin
Channel 1 is in the safe state: 0011bin Channel 2 is in the safe state: 1100bin
No channel is in the safe state: 1111bin
NO SUBSTITUTE
The safety code sequences are transmitted via the input data.
CESA-GW-AS-PB Description
51
6.13 Language (menu language)
Main Menu || LANGUAGE ||
LANGUAGE ENGLISH X DEUTSCH FRANÇAIS ITALIANO ESPAÑOL
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 ||
DISPLAY CONTRAST DEFAULT
__________________
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 setting The 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 to
the factory default setting as follows:
Shut the unit off
Press the MODE and SET keys and hold them down.
Shut the unit on.
CESA-GW-AS-PB Description
52
7. PROFIBUS DP
This chapter contains all necessary information to operate the PROFIBUS gate­ways in a PROFIBUS DP network.
Information!
The respective bits ground fault, overvoltage, noise, double address will only be set if AS-i masters are used, which also support these functions.
7.1 DP Telegrams
7.1.1 Diagnostics
DP diagnostics - single master
PDU 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
82type 4
93slot 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 1 … bit 2: reserved
CESA-GW-AS-PB Description
bit 0: periphery fault
bit 3:
failure redundant 24 V (option single master)
bit 4: earth fault bit 5: over voltage
53
ec-flags (high):
bit 6: noise bit 7: duplicate address
ec-flags (low):
bit 0: configuration error bit 1: slave with address 0 detected bit 2: Auto_address_assignment not possible bit 3: Auto_address_assingment available bit 4: configuration mode actice bit 5: not in normal operation bit 6: AS-i power fail bit 7: AS-i master is offline
Delta list: List of AS-i slaves with configuration error
1: ConfigError 0: no ConfigError
LPF: List of AS-i slaves with periphery fault
1: periphery fault 0: no periphery fault
Each element of the user diagnostics (ec-flags and slave lists) can be switched off 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 text diagnosis still fits to the data).
Only if an element at the end of the user diagnostics is not used, the length of the diagnosis will be shortened.
ExtDiag will be set if at least one of the following conditions is fulfilled:
ConfigError1
APF1
PeripheryFault1 The 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.
CESA-GW-AS-PB Description
54
7.1.1.1 Parameters
With the user parameters you can choose if and which slave list will be displayed in the diagnosis. Furthermore you can select which conditions have to be fulfilled to set the ExtDiag bit within the diagnostic telegram.
DP parameters - single master
PDU byte user byte DP DP/V1 user default
1 Station_Status 4
2–WD_Fact_1 4
3–WD_Fact_2 4
4–min T
5 Ident High 4
6 Ident Low 4
7 Group_Ident 4
8 1 DPV Status 1 4 80
9 2 DPV Status 2 4 00
10 3 DPV Status 3 4 00
11 4 User Byte 1 4 0B
12 5 User Byte 2 4 06
13 6 User Byte 3 4 00
The bits in "user byte 1" and "user byte 3" have the following meanings:
user byte 1
default0 0 01011
user byte 2
default0 0 00110
2
2
FD
sdr
7
-
7
6
2
5
2
-
6
2
5
2
0
4
Tab. 7-3.
4
2
3
2
2
2
1
2
LPF D F
Tab. 7-4.
4
2
3
2
2
2
1
2
CS PF APF CF
Tab. 7-5.
16
16
16
16
16
16
0
2
0
2
CESA-GW-AS-PB Description
55
user byte 3
7
2
6
2
5
2
4
2
3
2
2
2
–0
default 0 0
LPF:
1: LPF will be transmitted in the diagnostics 0: LPF will not be transmitted
D:
1: Delta list will be transmitted in the diagnostics 0: Delta list will not be transmitted
F:
1: EC-flags will be transmitted in the diagnostics 0: 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 empty 0: 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 line 0: ExtDiag will not be set.
APF:
1: ExtDiag will be set if there is an AS-i power fail 0: ExtDiag will not be set.
CF:
1: ExtDiag will be set if there is a configuration error 0: ExtDiag will not be set.
1
2
0
2
Tab. 7-6.
The GSD's default user parameter telegram is:
8016001600
16
(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.
CESA-GW-AS-PB Description
0B1606
00
16
16
56
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 to
64 elements (bytes or words), and that the length of input and output data can be different. Additionally, "manufacturer specific" data bytes describing the ID type are possible. These "manufacturer specific" data bytes describe the which type ID is.
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 channel and do not have to be requested by the slower DP/V1 commands.
Maximally 8 modules can be configurated. The detailed possibilities:
Length description
4 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 description
4 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)
Length description
16 bytes digital in/out (slaves 0 - 31)
CESA-GW-AS-PB Description
Tab. 7-8.
Tab. 7-9.
57
Length description
16 Bytes digital in/out (slaves 0B - 31B)
32 bytes digital in/out (slaves 0 - 31B)
Information!
2 command interfaces can be intergrated.
Length description
2 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)
Length description
24 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-9.
Tab. 7-10.
Tab. 7-11.
Length description
24 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)
CESA-GW-AS-PB Description
Tab. 7-12.
58
Length description
2 bytes … 128 bytes
2 bytes … 128 bytes
2 bytes … 128 bytes
2 bytes … 128 bytes
1. Module parameters necessarily
Length description
2 bytes flags and detector circuit 1
2 bytes flags and detector circuit 2
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 from the 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 or hi-flags are additionally mapped at the nibble of AS-i slave 0.
byte
2
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
analog input data circuit 1, dynamic
analog output data circuit 1, dynamic
analog input data circuit 2, dynamic
analog output data circuit 2, dynamic
7
6
2
5
2
4
2
1
1
1
1
Tab. 7-13.
Tab. 7-14.
3
2
2
2
1
2
0
2
Tab. 7-15.
CESA-GW-AS-PB Description
59
byte
7
2
6
2
5
2
4
2
3
2
2
2
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
Flags
input data output data
F0
ConfigError Offline
F1
APF LOS master bit
F2
PeripheryFault ConfigurationMode
F3
ConfigurationActive ProtectedMode
1
2
0
2
Tab. 7-15.
Tab. 7-16.
ConfigError: 0 = config ok
PeripheryFault: 0 = periphery ok
ConfigurationActive:
CESA-GW-AS-PB Description
1 = config error
APF: 0 = AS-i power ok
1=AS-i power fail
1 = periphery fault 0=configuration active 1=configuration inactive
60
Offline: 0 = online
1=offline
LOS-Master-Bit
0=offline by configerror deactivated 1=offline by configerror activated
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 diagnostic data too.
Diagnostic data are assembled as follows:
ec-flags (high):
bit 0: periphery fault
bit 1 … bit 2: reserved
bit 3: failure redundant 24 V bit 4: earth fault bit 5: over voltage bit 6: noise bit 7: duplicate address
ec-flags (low):
bit 0: configuration error bit 1: slave with address0 detected bit 2: auto_address_assignment not possible bit 3: auto_address_assingment available bit 4: configuration mode actice bit 5: not in normal operation
7.1.3.3 AS-i 16-bit data
Information!
A-slaves map the data on channels 1 and 2.
B-slaves map the data on channels 3 and 4.
In addition to the access via the command interfaces, the 16-bit data for or by the slaves with 16-bit value can by exchanged cyclically (profile 7.3., S-7.4, S-6.0, S-
7.5, S-7.A.8, S-7.A.9, S-7.A.A). Competing writing access attempts on analog output data will not be blocked by each other. If analog data for a particular slave are being transmitted both cyclically and acyclically with the command interface or via DP/V1 connections, the acyclically transmitted values will be overwritten by the cyclically transmitted values.
AS-i 16-bit data can be transmitted in a reserved data area. Therefore accessing analog data is as easy as accessing digital data.
CESA-GW-AS-PB Description
61
16-bit data
byte
7
2
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
7.1.3.4 Command interface
Only using the IDs of the process data field the PROFIBUS gateway can be used as M0 AS-i master. By using the command interface (see chap. <DP/V1>) the functions of a M3 master become available.
Request
byte
7
2
1 command
2T circuit
3 request parameter byte 1
……
36 request parameter byte 34
6
2
6
2
5
2
5
2
4
2
4
2
3
2
3
2
2
2
2
2
1
2
1
2
0
2
Tab. 7-17.
0
2
Answer
byte
2
1 command (mirrored)
2 result
3 response parameter byte 1
……
34 response parameter byte 32
A command of the command interface will be edited if the toggle bit T changed. This way the same command can be used repeatedly.
1. A T bit (toggle bit) is only needed to execute two commands directly one a fter the other.
CESA-GW-AS-PB Description
7
6
2
5
2
4
2
3
2
2
2
1
2
0
2
Tab. 7-18.
1
has
62
The commands of the command interface can also be activated with PROFIBUS DP/V1. Even the process data exchange is possible via the command interface. This way the Windows configuration software "AS-i-Control Tools" can run the whole communication via DP/V1.
7.2 DP/V1
To 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. Within this 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 it is possible to execute the same command several times without changing "com­mand" or "circuit" and setting a toggle bit.
7.3 Restrictions
The 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 by default. Switching the services off provides additional memory into SPC3. This changes the DP/VD length-limit.
Restrictions due to the SPC3
MSC1 inputs data / outputs
data
diagnosis 62 bytes
parameter single master: 53 bytes
configuration
SetSlaveAddress 4 bytes
MSAC1 SAPs
PDU
MSAC2 SAPs
PDU
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 configurated
3. 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.
single master: 288 bytes
2
32 bytes
1 72 bytes
2 72 bytes
1
3
4
Tab. 7-19.
CESA-GW-AS-PB Description
63
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 without using additional diagnostics tools.
AS-i Control Tools, a MS-Windows software designed to simplify AS-i installation and used to program AS-i Control, enables operation of the advanced diagnostics functions (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 activated slaves (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 all AS-i slaves that were responsible for at least one intermittent configuration error since 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 slave with address 0.
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 slave responsible 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 protected mode (display empty) or in the off-line phase (Display: "40").
8.2 Protocol analysis: Counters for corrupted data telegrams
The 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 a configuration error.
Information!
The counter values are read via the host interface and will be deleted after they were read.
The highest possible counter value is 254. 255 indicates a counter overflow.
Displaying the protocol analysis is possible through the AS-i Control Tools soft­ware by using the command "Master | AS-i Diagnostics".
CESA-GW-AS-PB Description
64
8.3 Offline Phase for Configuration Errors
The 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 able to transition the AS-i network into a safe operational state. This ensures a quick reaction to a configuration error and the host can be relieved from this task. If any problems occur on the AS-i network, the AS-i masters can independently switch the 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, but AS-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 detection
If 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 any longer, 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 duplicate address 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 to the master.
CESA-GW-AS-PB Description
65
8.4.2 Earth/Ground Fault Detector
An Earth/Ground Fault exists when the voltage U
GND
=0,5 U
10% U
.) is outside of the following range:
AS-i
U
GND
90% U
AS-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 Control
Tools.
Information!
To recognize ground faults the master must be grounded with its machine ground con­nection.
8.4.3 Noise Detector
The noise detector detects AC voltages on AS-i, that are not initiated by an AS-i master or AS-i slaves. These interference voltages can cause telegram distur­bances.
A frequent cause are insufficiently shielded frequency inverters or improperly routed cables.
Noises is indicated on the master´s display as well as in AS-i Control Tools.
8.4.4 Over-voltage Detector
Over-voltages are present if the conductors of an AS-i network that normally are routed 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 Control Tools.
AS-i
U
(Nominal value of
GND
CESA-GW-AS-PB Description
66
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 Gateway by using a PROFIBUS DP Master Simulator DP/V1 or the serial PROFIBUS mas­ter.
9.1 Windows software AS-i Control Tools
Information!
AS-i Control Tools must be installed first!
This way, the device driver is copied into the previous designed folder in AS-i Control Tools and should be recognized automatically.
The Windows software "AS-i Control Tools" enables the user to easily configure the 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 Gateway and 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>).
CESA-GW-AS-PB Description
67
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
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
Configuring the AS-i network is easily accomplished by first connecting each AS-i slave separately to the AS-i line and setting its address, followed by pressing the button “Store configuration” to store the existing AS-i network in the AS-i master as 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 offline ahead of time and can be stored to a file. When setting up the system the AS-i slaves 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
10. Codes indicated by the display
In the basic state of the configuration mode, the addresses of all detected slaves are displayed in two-second intervals. A blank display indicates that the LDS (List of Detected Slaves) is empty, no slaves were detected.
In the basic state of the protected operating mode, the display is either blank or displays the address of a faulty assignment.
During manual address programming, the slave address display has a different meaning (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
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
11. Glossary
A/B slave
An 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 data bit for switching between A and B address, A/B slaves only have three output data bits maximum.
Activation phase
In the activation phase the detected slaves are activated by sending the parame­ter. This is indicated by a "42" on the Master's Display. This phase takes only 10 ms, tops, to short to be displayed.
AS-i Power Fail
Voltage drop on the AS-i line; If the voltage drops below a specific value, the mas­ter changes to the Offline phase.
Initiation phase
After the initial data exchange with all AS-i slaves the master is looking for new slaves. For this purpose an inquiring call is sent to one AS-i address. If a reply is received, the master tries to read the current configuration of the slave. De­pending on the mode ( protected mode or configuration mode) and on the current configuration, the detected slave will be activated.
After each data exchange with all AS-i slaves exactly one inquiring call is sent to one slave address. Hence, the AS-i cycle always includes one more telegram than 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
I/O code
The first digit of the slave profile, which indicates how many in- and outputs the slave has. A 4I/4O slave has for example a “7”, and a slave with 4 digital inputs a "0".
Detection phase
In 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 the master remains in the detection phase no slave was found. Most of the time, the reason for this is a wrong power supply or a wiring error.
The detection phase is indicated by code "41".
Protected mode
In protected operating mode only those slaves that are registered in the LPS and 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 code
The ID code is set by the slave manufacturer and cannot be changed. The AS-i Association determines the ID codes which are assigned for a particular class of slaves. For example, all A/B slaves have ID code “A“.
ID1 Code, extended ID1 code
The 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 for these slaves.
Since this code was not introduced until AS-i Specification 2.1, it is also referred to as extended ID1 code.
CESA-GW-AS-PB Description
74
ID2 Code, extended ID2 code
The ID2 code is set by the slave manufacturer and cannot be changed. The AS-i Association determines the ID2 codes, which are assigned for a particular class of slaves. For example, all 2-channel 16 bit input slaves having an S-16 bit code use 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 configuration data 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 of the 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 comply
with the configuration. Unknown slave: A connected slave is not entered in the LPS.
LAS - List of Activated Slaves
The master exchanges I/O data with the slaves entered in the LAS. In protected mode only the detected slaves ( entered in the the
LDS are activated.
LPS are activated. In configuration mode all slaves entered in
LDS) that are expected by the master and are
LDS - List of Detected Slaves
If the master was able to read the
LPF - List of Peripheral Faults
The list of peripheral faults was introduced with specification 2.1. This list includes an entry for each slave that signals a
LPS - List of Projected Slaves
The list of projected slaves includes all slaves expected by the master. When sav­ing the current configuration all entries in the cept for a slave with address 0).
CESA-GW-AS-PB Description
slave profile, the slave is entered in the LDS.
peripheral fault.
LDS are stored in the LPS (ex-
75
Offline phase
In the offline phase all input and output data is reset. This phase is entered after the startup of the master, after a the
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 fault
A peripheral fault is indicated by a red flashing LED on the master and on the slave.
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 configuration
The configuration data of all expected slaves stored in the master ( file). If the configuration error exists.
Permanent parameter
The parameters saved in the master and sent to the slave after startup of the master during the
Configuration mode
During the configuration mode the master exchanges data with all connected slaves, no matter which of the slaves were configured. Thus, in this mode it is possible to operate a system without the necessity to configure it before.
See also
permanent configuration differs from the ⇒ actual configuration, a
activation phase.
protected mode.
AS-i power fail, and during the transition from
slave pro-
Single Slave
A single slave can in contrast to a A/B slave only be addressed from range 1 to 31; the fourth output data bit can be used. All slaves as defined by the older AS-i Specification 2.0 are single slaves.
There are however also single slaves as defined by Specification 2.1, for example the new 16 bit slaves.
Slave profile
Configuration 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
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 ID2 codes.
CESA-GW-AS-PB Description
77
Loading...