background image

 

device manual AS-i DP-Gateway

 

 

If as discussed above the parameter 'Extended Profibus Diag.'  (byte 37 bit 5 TRUE) is set to Disabled 
(default condition) the AS-i DP- Gateway transmits no extended unit specific diagnostic data, only 
diagnostic data which every Profibus DP Slave is required to transmit(first 6 bytes). This is generally 
known as standard diagnostic. In some applications jitter in the Profibus DP cycle time which takes 
place with diagnosis calls can not be tolerated. In this case system diagnosis can be realised via the 
I/O data(module 4) even though this causes the regular DP-cycle time to be increased. 
 
The device-specific Profibus DP diagnostics are activated by the Profibus DP parameter byte 37 bit 5 
being set and contains the following status information: 
 

Byte 

Contents 

 

station status 1 

station status 2 

station status 3 

station number DP master 

manufacturer ID (high byte)  0x04 

manufacturer ID (low byte )  0x0D 

standard 
diagnostic 

length of external diagnostics (0x3A) 

Status type: status manufacturer specific 

8 Slot 

number 

(0x04) 

9 0 

Header of 
extended 
diagnostic 

10, 11 

master flags  

12..19 

LDS: list of detected slaves 

20..27 

Config Error  

28..35 

LPF: list of periphery faults  

Diagnostic  
AS-i Master 

1

 

A and B-slaves 

36, 37 

master flags  

38..45 

LDS: list of detected slaves 

46..53 

Config Error  

54..61 

LPF: list of periphery faults  

Diagnostic  
AS-i Master 

A and B-slaves 
(only AC1326) 

 
 
The AS-i DP- Gateway generates 

68 Bytes of  diagnostic data 

when diagnosis is activated even if a 

unit containing only one master (AC1335) is used! 
 
 
Format of 1st byte of the master flags: 
 

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1  Bit0 

CTRL Cerr  Offl 

PF 

APF  Sl0 

ProjM Gateway

 

 
CTRL:  

Controller

e

 PLC in RUN mode (reserved in AS-i DP Gateway) 

Cerr: 

 

AS-i configuration error  

Offl: 

 

AS-i master offline (no AS-i slave detected) 

PF: 

 

AS-i periphery fault 

APF: 

 

AS-i power failure 

Sl0: 

 

AS-i Slave with addr. 0 detected 

ProjM:   

AS-i master in configuration mode 

Gateway: 

Gateway mode is active 

 
Format of slave lists: 
 

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 

7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0 
15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A)  8(A) 
23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A) 
31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 
7B 6B 5B 4B 3B 2B 1B not 

used 

15B 14B 13B 12B 11B 10B 9B  8B 
23B 22B 21B 20B 19B 18B 17B 16B 
31B 30B 29B 28B 27B 26B 25B 24B 

5-30 

Содержание AS-i DP Series

Страница 1: ...Device Manual AS i gateway Profibus DP 1 AS i master 2 AS i master AC1335 AC1326 Smart Link DP AS i DP Gateway AS i master profile M3 Firmware RTS 1 x English 7390677_00_UK 2005 03 14...

Страница 2: ...s provided in this manual represent no warranted characteristics No guarantee is assumed for the absence of mistakes errors or the general suitability of the indicated application examples Drawings an...

Страница 3: ...14 5 Profibus DP configuration 5 15 5 1 1 Definition of the Profibus DP module 5 15 5 1 2 Device specific Profibus DP parameters 5 28 5 1 3 AS i diagnostics 5 29 6 Reference 6 31 6 1 Display messages...

Страница 4: ...Specifications regarding the use of the AS i DP Gateway The AS i DP Gateway contains one AC1335 or two AS i masters AC1326 both according to the AS i version 2 1 and an Profibus DP fieldbus connection...

Страница 5: ...possible by the text graphics display of the DP Gateway The operation of the four buttons can be learned intuitively The two language capability of the text display is especially useful for those who...

Страница 6: ...frequency converter A 24 VDC 20 30V PELV power supply for example DN2011 from ifm electronic is required for operating the dual AS i DP Gateway AC1326 The connections are at terminals 24V and 0V see...

Страница 7: ...way or ASI 2 and ASI 2 for the second AS i master system in AC1326 For the operation of a second AS i master in AC1326 another AS i power supply is required causing the two systems to be galvanically...

Страница 8: ...s the responsibility of the installer or user The Profibus connection required for proper operation is not shown AC1325 wiring example with only one AS i system Adherence to codes and guidelines for e...

Страница 9: ...is connected CONF PF On Projected and current configuration not the same Flashing Periphery fault on at least one of the connected slaves 4 3 Connecting the slaves The AS i units feature short circuit...

Страница 10: ...is by connecting a new slave The LED PWR COM stops flashing since at least one slave has been detected correctly The red lighting LED CONF PF is still correct at this stage of system set up It indicat...

Страница 11: ...address can be chosen using the arrow buttons The confirmation is initiated with the OK button after which the selected addresses are redisplayed If this address is not correct the addressing procedu...

Страница 12: ...eaning is displayed in the bottom line of the display by two inverted texts Important The password option contained in the menu point System Setup can be used to enable or restrict menu operation The...

Страница 13: ...ertaining to AS i DP Gateway are displayed in a different way They are immediately displayed when they occur and must be confirmed by pressing the right key All possible system error messages are list...

Страница 14: ...ostics AC1335 only Read the configuration error counter of the connected AS i system Read the telegram error rate of the connected AS i system Reset the configuration error counter Display transmissio...

Страница 15: ...cated lengths for each of the 11 modules the file ifm_07E5 gsd for AC1335 contains different possible definitions for 12 modules You can find the GSD file in the hardware catalogue of the Profibus con...

Страница 16: ...user it is also possible to use other length codes than those given as long as the respective maximum lengths of the modules are not exceeded When using the single master AC1325 modules which refer to...

Страница 17: ...esent Bit 5 in the control information resets this information More information on this subject is to be found in the paragraph AS i diagnostics Module 2 Content Only AC1326 binary inputs and outputs...

Страница 18: ...about this subject see module 1 Module 5 Content multiplexed analogue inputs of AS i master 1 and 2 Length 2 word consistent I O 0 if not used DP master request 1st word MMXSSSSS 000000CC Bit 15 14 13...

Страница 19: ...e value INTEGER AS i DP Gateway response 1st word MMXSSSSS EEEE00CC copy of request EEEE 4 bit error No of response 0 OK 1 invalid 2 Overflow 4 no active analogue slave 2nd word analogue value INTEGER...

Страница 20: ...or 16 31 or 0 15b or 16b 31b 10 Get LPF MMXSSSSS answer MMXSSSSS LPF 0 15 or 16 31 or 0 15b or 16b 31b 11 Get LPS MMXSSSSS answer MMXSSSSS LPS 0 15 or 16 31 or 0 15b or 16b 31b 12 reserved 13 Get err...

Страница 21: ...1 Byte 16 01 copy of request 2 Byte 16 40 copy of request 3 4 Byte Data see table below Master Flags Byte Bit Meaning of Bit TRUE 3 0 the periphery of connected AS i slaves is OK no Peripheral Fault...

Страница 22: ...est 2 Byte 16 50 Copy of request 3 Byte 16 EF extended ID Code 2 16 E extended ID Code 1 16 F 4 Byte 16 37 ID Code 16 3 IO Konfiguration 16 7 corresponds to slave profile S 7 3 E 4I analogue module Ex...

Страница 23: ...st 3 Byte 16 02 slaves 8 15 that means slave 9 is activated 4 Byte 16 04 slaves 1 7 that means slave 2 is activated The answer returns the slave list to which the requested slave belongs Group Slave B...

Страница 24: ...Byte 16 0B Copy of request 2 Byte 16 61 Copy of request 3 Byte 16 02 slaves 8B 15B that means slave 9B is projected 4 Byte 16 04 slaves 1B 7B that means slave 2B is projected Example command 13 read...

Страница 25: ...Byte 16 42 Copy of request 3 Byte 16 0F returned parameter values of slave 2 not necessarily equal to those which were sent 4 Byte 16 00 not used Example command 19 project all DP Master Request 1 Byt...

Страница 26: ...rocess 16 57 afterwards 16 17 and equal to 16 97 at occurrence of an error for example projection mode not active or Slave 0 present 2 Byte 16 42 Copy of request 3 Byte 16 07 Copy of request 4 Byte 16...

Страница 27: ...to ProfibusDP master system Not used in AS i DP Gateway Length 0 not used Module 9 Content data transfer field from ProfibusDP master system to PLC system in controllere Not used with AS i DP Gateway...

Страница 28: ...er 1 Byte 37 16 2F Bit 5 1 enables extended diagnostics of the AS i systems via Profibus DP Byte 37 16 1F Bit 4 1 enables AS i parameter download When using a single master AC1335 Byte 37 68 16 1F 16...

Страница 29: ...inputs of the single A slave data byte 0 bit 4 7 contains the master flags of the respective AS i system Bit7 Bit6 Bit5 Bit4 reserved configuration error in AS i system no AS i slave detected peripher...

Страница 30: ...er 0x04 9 0 Header of extended diagnostic 10 11 master flags 12 19 LDS list of detected slaves 20 27 Config Error 28 35 LPF list of periphery faults Diagnostic AS i Master 1 A and B slaves 36 37 maste...

Страница 31: ...N B In the slave Info menu the projected and the detected slave profile can be checked E11 slave not present The slave was found in the projection but it was not detected on the AS i line LPS not iden...

Страница 32: ...e N B In the slave Info menu the projected and the detected slave profile can be checked also the entries of the slaves in the LAS LDS LPS E26 Generic Periphery fault The master is in the Normal Opera...

Страница 33: ...l Example AS i slave has a limited number of readdressing possibilities and this number has now been used up M06 Reading Extended IO Code 1 The master does not receive any or an invalid answer during...

Страница 34: ...essage has a multiple meaning and thus depends on the requested command 1 The attempt was made to write a parameter to slave 0 2 For readdressing the address 0B or the address 0 was indicated as start...

Страница 35: ...ectification Repeat command F05 Flash device command The flash device has received an invalid command Possible cause Software error in the operating system F06 Flash system timeout The operating syste...

Страница 36: ...2 The operating system has found a timeout during the execution of a command to the master on the respective channel Possible cause The status information of the command channel has been overwritten b...

Страница 37: ...ply Unacceptable interference on the AS i power supply Unacceptably high electrostatic charges and electromagnetic fields in close proximity of the device Rectification Grounding of the device via the...

Страница 38: ...cause Complete erasure of the flash device by the user F05 Bad NV field checksum The checksum of the non volatile data within the FAT contain an invalid value Possible cause Unacceptable interference...

Страница 39: ...am failure The operating system has found an invalid state in the process of the internal program processing Possible cause Operating system software error R07 Projecting mode not active The attempt w...

Страница 40: ...DIN rail connection of the FE terminal to the plant ground Use a switched mode power supply to supply the device Hardware operating system software error R16 Software restart The main processor has de...

Страница 41: ...oltage smaller than 22V and therefore changes into the Offline Mode The master has received a request from the operating system to change into the Offline Mode The master has found a transfer error in...

Страница 42: ...urther details about the error cause TFR Register D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 NMI STK OF STK UF UND OPC PRT FLT ILLO PA ILL INA ILLB US Bit Name Possible error source NMI int...

Страница 43: ...ng to version 2 11 AS interface voltage 26 5 31 6V special AS i power supply AS i current consumption 0 1 A master AC1326 Microcontroller Infinion C161 microcontroller Supported V2 1 features A B slav...

Страница 44: ...2 F FE terminal 1 4 Feldbuskonfiguration 5 15 Field bus Setup 4 14 Field modules 4 9 G German texts 4 12 GSD file 5 15 I Installation 1 4 L LED 24V PWR 3 6 LED CONF PF 4 9 LED PROJ 4 9 LED PWR COM 4 9...

Отзывы: