4.8.2 Error display (last error) ..................... 15 Quick setup ....................... 16 4.10 Addressing ......................17 4.10.1 Program slave 0 to address 4.....................17 Electrical connection ................. 18 Overview of terminals, indicators and operating elements ......18 5.1.1 CESA-GW-AS-PB......................... 18 CESA-GW-AS-PB Description...
Page 6
AS-i bus connection..................19 AS-i and power supply terminal assignments..........19 5.3.1 Electrical connection CESA-GW-AS-PB ................. 20 PROFIBUS interface ..................20 5.4.1 Terminating resistors on the PROFIBUS network ............21 Diagnostics interface ..................21 5.5.1 Diagnostics port RS 232..................... 21 Indicators and operating elements ..............
Page 7
Earth/Ground Fault Detector ....................66 8.4.3 Noise Detector ........................66 8.4.4 Over-voltage Detector ......................66 System startup using AS-i Control Tools ........67 Windows software AS-i Control Tools............67 Codes indicated by the display ............71 Glossary ....................73 CESA-GW-AS-PB Description...
Page 8
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.
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. Abbreviations Information! Additional information can be found in section <Glossary>. CESA-GW-AS-PB Description...
General Product information This system manual applies to the following Festo equipment: AS-i 3.0 PROFIBUS Gateway in Stainless Steel CESA-GW-AS-PB Tab. 2-1. 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 operator is responsible for the observation of local safety standards. 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...
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...
To remove, press the holding clamps [2] down using a screwdriver [1], press the unit firmly against the upper rail guide and lift out. 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...
4.6.2 Setting the PROFIBUS-DP address 14 PROFIBUS ADDRESS OLD ADDRESS PROFIBUS NEW ADDRESS 000 QUICK SETUP ASI SAFETY 2x ↓ PROFIBUS ADDRESS OLD ADDRESS PROFIBUS ADDRESS NEW ADDRESS 000 PROFIBUS STATUS CESA-GW-AS-PB Description...
STORE AS-INTERFACE CONFIGURATION STORE +PRJ MODE ↓ 2x ESC PROFIBUS QUICK SETUP SETUP SLAVE ADR TOOL CONFIGURATION OK WARNING: OUTPUTS MAY BE HOST ERROR RESET NO CONNECTION ↓ STORE AS-I CONFIGURATION STORE +RUN STORE +PRJ MODE CESA-GW-AS-PB Description...
NEW ADDRESS 6 SLAVE ADR TOOL CONNECT NEW SLAVE SLAVE ADR TOOL OLD ADDRESS NEW ADDRESS Master Slave 2x ESC Modul anschließen/Connect module/Raccordez le module/ Collegare il modulo/Conecte modulo UNKNOWN SLAVE SLAVE ADR TOOL OLD ADDRESS 2 NEW ADDRESS 3 CESA-GW-AS-PB Description...
2 x (0,5 ..1,5) mm 2 x (0,5 ..1,5) mm 2 x 24 ...12 Legend: RS232 diagnostics port LEDs D-sub connection (PROFIBUS interface) LC display Push-buttons AS-i and power supply terminal Only in conjunction with AS-i Control Tools CESA-GW-AS-PB Description...
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...
5.3.1 Electrical connection CESA-GW-AS-PB 5 mm max! +ASI – Function ground +ASI – ASI +PWR– (max. 8A) Terminal Signal / Description +AS-i– Connection to AS-i Circuit ASI +PWR– (max. 8 A) Supply voltage for AS-i Circuit Function ground Information! For additional information, please refer to the section <AS-i and power supply terminal assignments>.
(see section <Overview of terminals, indicators and operating elements>). 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...
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...
Set/⇓ Selecting the address of and assigning an address to a slave. Changing to the advanced display mode. 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...
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...
Page 26
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...
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...
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: address modification via PROFIBUS is not possible ENABLED: address modification via PROFIBUS is possible CESA-GW-AS-PB Description...
Main menu || PROFIBUS || PROFIBUS STATUS || 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...
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. ACT: current cycle time of the control program MAX: maximum cycle time of the control program since its last start CESA-GW-AS-PB Description...
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...
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. SLAVE ADR TOOL CONNECT NEW SLV OLD ADDRESS NEW ADDRESS CESA-GW-AS-PB Description...
OUTPUTS MAY BE SET AND HOST MAY LOOSE CONTROL. 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...
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 AUTO ADDR. ENABLE FACTORY RESET In the "Setup menu", the following sub-menus are available: CESA-GW-AS-PB Description...
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...
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...
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...
OFFLINE SLAVES CLEAR ALL SET ALL | 1A- X | 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...
Master and AS-i network have to be reconfigured after a successful "Reset". For double masters the "Reset" acts on both AS-i masters! IO + PARAM.TEST Main menu || IO + PARAM.TEST || The following warning message will be displayed before entering this menu: CESA-GW-AS-PB Description...
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. 0: Input cleared 1: Input set CESA-GW-AS-PB Description...
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...
In this case, when the value is changed only positive values can be entered. Additionally, a value overflow is indicated by "Overfl". ANALOG OUT +2500 +17898 +32767 OVERFL -20023 The analog outputs can be changed after selecting an AS-i slave. CESA-GW-AS-PB Description...
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...
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...
Main menu || DIAGNOSIS || ACTUAL CONFIG || ACTUAL CONFIG 1A-C ..30A-X | 31A-D 1B-X ..| 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 CESA-GW-AS-PB Description...
LPF (List of Peripheral Faults) Main menu|| DIAGNOSIS || LPF LIST OF PERIPH. FAULTS || LPF LIST OF PERIPH. FAULTS 1A-X 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...
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 X: AS-i Slave triggered a configuration error. CESA-GW-AS-PB Description...
• 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 || SAFETY SLAVES SAFETY MONITOR SAFE SUBST. VAL. CESA-GW-AS-PB Description...
• 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 MODUS: SORT./V1 CESA-GW-AS-PB Description...
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...
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...
… … … LPF (56 … 63) Tab. 7-2. ec-flags (high): bit 0: periphery fault bit 1 … bit 2: reserved failure redundant 24 V bit 3: (option single master) bit 4: earth fault bit 5: over voltage CESA-GW-AS-PB Description...
Page 55
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...
User Byte 1 User Byte 2 User Byte 3 Tab. 7-3. The bits in "user byte 1" and "user byte 3" have the following meanings: user byte 1 – default Tab. 7-4. user byte 2 – default Tab. 7-5. CESA-GW-AS-PB Description...
(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...
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...
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 after the other. CESA-GW-AS-PB Description...
Maximally 8 modules can be configurated The maximum length is limited to 42 bytes if the I+M service is set to off. The maximum length is limited to 52 bytes if the I+M service is set to off. CESA-GW-AS-PB Description...
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...
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...
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. CESA-GW-AS-PB Description...
D-SUB connector of the AS-i/PROFIBUS Gateway and connect the device to the PC via its serial interface. Start AS-i Control Tools. Select Master | New. Choose PROFIBUS as the protocol. Select the appropriate settings (for example serial interface COM 2, station address <auto>). CESA-GW-AS-PB Description...
Page 69
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. Click on a slave to open the dialog window 'slave configuration'. CESA-GW-AS-PB Description...
Page 70
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. 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...
Page 71
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...
Display test while starting up the AS-i master Error while changing a slave address in protected operating mode: No slave with address 0 existing. Error while changing slave address: Target address is already used. Error while changing slave address: New address could not be set. CESA-GW-AS-PB Description...
Page 73
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...
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...
Page 75
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...
Page 76
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 LDS are stored in the LPS (ex- cept for a slave with address 0). CESA-GW-AS-PB Description...
Page 77
⇒ 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...
Page 78
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...
Need help?
Do you have a question about the CESA-GW-AS-PB and is the answer not in the manual?
Questions and answers