background image

 

device manual AS-i DP-Gateway

 

 

5.1.2  Device-specific Profibus DP parameters: 

 

In order to define the addresses of the parallel analogue input and output slaves and to define 
parameters of the connected AS-i slaves, up to 100 byte device-specific parameters have to be set: 
 

Device-specific Profibus DP parameters (example):

  

Byte 1..4:  

16#80, 16#00, 16#00, 16#00, (fixed device parameter) 

Byte 5:   

16#AE, (fixed value: start of analogue input addresses) 

Byte 6..20:  

16#42, 16#44, 16#45, 16#48, 16#50,... (slaves 2,4,5,8,16, ... of master 1) 

Byte 21:  

16#AA, (fixed value:start of analogue output addresses) 

Byte 22..36:  

16#41, 16#43, ... (slaves 1, 3, ... of master 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#FF, ... (predefined parameters of the AS-i slaves) 

When using a double  master AC1326: 
Byte 37..100:   16#1F, 16#FF, ... (predefined parameters of AS-i slaves) 

 
Slave addresses in Profibus parameter bytes 6..20 and 21..36:

 MMXSSSSS   

 

 

MM:= 2 bit master number 1..2; 

  X:= 

0=A/Single, 

1=B-Slave; 

 

 

SSSSS:= 5 bit slave number 1..31 

 

 

to calculate: (slave No.) + (master No. * 64) + (32 if B-Slave)  

 
Examples:

  

16#43 : Master 1, slave 3(A) 

 

 

16#85 : Master 2, slave 5(A) 

 

 

16#61 : Master 1, slave 1B 

 

 

 

16#5C: Master 1, slave28(A)  

 
In the GSD file definitions have been created to make the parameter setting comfortable (if supported 
by the configuration tool of the Profibus DP master): 
 

 

 

5-28 

Summary of Contents for AC1326

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

Page 2: ...es 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 and representations depict circuit examples and do not take into account specifics of any given application Adherence to norms and guidelines i e installation of additional fuses is the responsibility ...

Page 3: ...4 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 6 31 6 1 1 AS i system error code E10 E30 6 31 6 1 2 AS i master command error code M01 M20 6 33 6 1 3 Flash error code F00 F10 6 35 6 1 4 Timeout error code T00 T11 6 36 6 1 5 Boot error code B00 B...

Page 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 It controls the exchange of data to the sensor actuator level communicates with the higher control level as fieldbus gateway Important directions on installation connection and maintenance Ensure a ...

Page 5: ...e 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 export their applications to a foreign An intelligent message management system generates priority controlled messages ensuring their display in order of importance AC1326 Display Buttons Profibus D...

Page 6: ...a 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 figure on next page Terminal FE is the functional ground earth of the unit Caution Remove power from the power supply before connection of the AS i DP Gateway Note that the current consumption of the...

Page 7: ...eway 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 separated The AS i masters of AC1326 are partially supplied with voltage from the AS i system The single master system AC1335 is completely supplied with voltage from the AS i system Caution Most AS ...

Page 8: ...is 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 example addition of fuses is the responsibility of the installer or user The Profibus connection required for proper operation is not shown 4 8 ...

Page 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 and reverse polarity protection nonetheless connections of for example control cabinet modules should be made only after power has been turned off Many slaves of this type have a jumper which when c...

Page 10: ...his 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 indicates that the new slave has not been projected in the master yet The text graphic display of the AS i DP Gateway gives information as to the slave addresses which have already been assigned as well as ...

Page 11: ...w 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 procedure can be terminated with ESC If the address is the one desired press OK and the addressing process will be completed Change Address Easy Startup OK ESC Addr Slave of AS i Master 1 AS i Master 2 OK E...

Page 12: ...meaning 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 unit is in the user mode when delivered Entering a non valid password such as 1000 deactivates all menu points with which settings may be changed Entering the password CE01 activates reactivates the ...

Page 13: ...pertaining 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 listed in the annex F10 system error number 4 13 ...

Page 14: ...nostics 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 transmission errors to the connected AS i system Master Setup information on AS i master system Teach in the current AS i configuration Config all Change to projecting mode Configure the AS i system Change to p...

Page 15: ...icated 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 configuration software in the folder Gateway The double master AC1326 uses the GSD of the controllere family which is listed in the hardware catalogue as ASI DP Controller e and supports 11 modules The ...

Page 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 master 2 are to be configured using spaces as placeholders Configuration example AC1335 Configuration example AC1326 Module1 Content binary inputs and outputs of Single or A slaves of AS i master 1 ...

Page 17: ...resent 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 of Single or A slaves of AS i master 2 Length 0 16 Byte I O 0 if not used Byte No Bits 4 7 Bits 0 3 1 flags master 2 Slave1 a 2 Slave2 a Slave3 a 15 Slave28 a Slave29 a 16 Slave30 a Slave31 a The fla...

Page 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 12 11 10 9 8 7 6 5 4 3 2 1 0 MM X SSSSS 0 0 0 0 0 0 CC MM 2 bit master number 1 2 X 0 A Single 1 B Slave SSSSS 5 bit slave number 1 31 CC 2 bit channel No 0 3 to calculate slave No master No 64 32 i...

Page 19: ...ue 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 copy of request Module 7 Content command channel Length 4 byte consistent I O 0 if not used DP master request 1st byte command No 2nd byte MMXSSSSS as far as necessary see table below MM 2 bit maste...

Page 20: ...5 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 counter MMXSSSSS answer MMXSSSSS Error counter 14 Get conf err cntr MM000000 answer MM000000 Error counter 15 Get ASi cycle cntr MM000000 answer MM000000 Error counter 16 Set slave param MMXSSSSS pa...

Page 21: ...e 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 3 1 the automatic addressing is enabled 3 2 the data transfer to at least 1 slave is active 3 3 7 reserved 4 0 the AS i configuration is OK 4 1 one Slave 0 detected 4 2 the automatic addressing is en...

Page 22: ...uest 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 Example command 5 project slave configuration DP Master Request 1 Byte 16 05 command number 2 Byte 16 81 AS i master 2 slave no 1 3 Byte 16 6F extended ID Code 2 16 6 extended ID Code 1 16 F 4 Byte 16 ...

Page 23: ...est 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 Byte 3 Byte 4 1 15a 14a 13a 12a 11a 10a 9a 8a 7a 6a 5a 4a 3a 2a 1a 0 2 31a 30a 29a 28a 27a 26a 25a 24a 23a 22a 21a 20a 19a 18a 17a 16a 3 15b 14b 13b 12b 11b 10b 9b 8b 7b 6b 5b 4b 3b 2b 1b res 4 31b 30...

Page 24: ...1 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 error counter DP Master Request 1 Byte 16 0D command number 2 Byte 16 41 AS i master 1 slave no 1 3 Byte 16 00 not used 4 Byte 16 00 not used DP Gateway Response 1 Byte 16 0D Copy of request 2 Byte 1...

Page 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 Byte 16 13 command number 2 Byte 16 40 AS i master 1 3 Byte 16 00 not used 4 Byte 16 00 not used DP Gateway Response 1 Byte 16 13 during the process 16 53 afterwards 16 13 and equal to 16 93 at occurren...

Page 26: ...process 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 00 not used Example command 62 Continuous command mode DP Master Request 1 Byte 16 3E command number 2 Byte 16 00 3 Byte 16 01 1 changes the status 0 reads current status 4 Byte 16 01 1 activates th...

Page 27: ...e 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 Length 0 not used Module 10 Content parallel analogue inputs of up to 15 AS i slaves 4 words per AS i slave slave No to be defined in Profibus DP parameter Length 0 60 words input 0 if not used Modu...

Page 28: ...ter 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 FF predefined parameters of the AS i slaves When using a double master AC1326 Byte 37 100 16 1F 16 FF predefined parameters of AS i slaves Slave addresses in Profibus parameter bytes 6 20 and 21 36 M...

Page 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 periphery fault The AS i master control information in the first byte of the digital outputs of the single A slave data byte 0 bit 4 7 controls the stored diagnostic information bit7 bit6 bit5 bit4 reserved ...

Page 30: ...ber 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 2 A and B slaves only AC1326 The AS i DP Gateway generates 68 Bytes of diagnosti...

Page 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 identical with LDS E12 slave not projected The slave was found on the AS i line but not in the projection LDS not identical with LPS E13 Periphery fault detected The master recognises that there is a per...

Page 32: ...ne 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 Operating Mode and detects that at least one slave on the AS i line signals a periphery fault E27 Normal operation inactive The master signals that it is not in the Normal Operating Mode Possible causes T...

Page 33: ...ul 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 the inquiry of the extended IO code 1 Example Attempt to readdress an A B slave to another address M07 Writing to slave failed The attempt by the master to readdress a slave to a new target address i...

Page 34: ...message 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 and target address 3 During the attempt to write the extended ID code 1 the address 0 was used M15 slave aborted 7 4 The addressed 7 4 slave has stopped the transfer Possible cause Error in the 7 4 ...

Page 35: ...Rectification 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 system has found a timeout during the execution of a flash command Possible cause Access to the flash device while it is in the command execution Rectification Repeat command F07 Erasure PLC sectors in Fl...

Page 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 by the plc T06 Timeout PLC cycle Not used in Profibus DP Gateway T07 Timeout command channel During the execution of a command started by the plc a timeout was found Possible causes The status informa...

Page 37: ...pply 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 DIN rail connection of the FE terminal to the plant ground Use a switched mode power supply to supply the device B03 General FAT failure An error was found in the data field of the FAT File Allocati...

Page 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 on the 24V power supply cable during the storage operation of the data in the flash device F06 Bad NV field ID The field code of the non volatile data contains an invalid value Possible cause Unaccep...

Page 39: ...ram 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 was made to execute an AS i command which is only permitted in the Projection Mode Rectification Switching the master into the Projection Mode operating mode in the master Setup Operating Mode menu R0...

Page 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 detected a restart of the device which was not caused by a voltage failure R17 Wait for 24V power good After the device was switched on an unacceptably low 24V power supply was detected 18V The device ...

Page 41: ...voltage 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 the communication with the operating system With the AS i power supply connected the master detects that no slave is connected to the AS i line Other causes which can lead to the error message direc...

Page 42: ...further 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 interrupt cannot be masked hardware STKOF stack overflow hardware STKUF stack underflow hardware UNDOPC unknown machine command hardware PRTFLT 32 bit execution code error hardware ILLOPA invalid access...

Page 43: ...ing 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 slaves periphery fault detection analogue Plug Play 7 3 profile ext ID codes Additional features AS i cycle counter communication error counter per slave Config error counter change into protected mode w...

Page 44: ...42 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 4 10 M Master Setup 4 14 Masterflags 5 21 Menu structure 4 14 Messages 4 12 Mounting 3 6 P Power supply 3 6 4 7 Profibus DP diagnostics 5 30 Profibus DP module 5 15 Profibus DP parameters 5 28 Q Qui...

Reviews: