IFM Ecomat 300 AC1375 Application guide

Device Manual
AS-i Gateway Profibus-DPV1
1 AS-i Master 2 AS-i Master
AC1375 AC1376
Smart Link DP AS-i DP Gateway
Firmware from Version
RTS 1.4x
Firmware from Version
RTS 2.3x
Master profile: M4
English
7390704_03_UK 2012-02-23

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Contents
2
Contents
1On this manual 9
1.1 What do the symbols and formats mean? ......................................................................9
1.2 What devices are described in this manual? ................................................................10
1.3 How is this documentation structured?.........................................................................10
2Safety instructions 11
2.1 Important!......................................................................................................................11
2.2 What previous knowledge is required?.........................................................................12
3System description 13
3.1 Information concerning the device................................................................................13
3.1.1 Overview: Where is what for AC1375?....................................................................13
3.1.2 Overview: Where is what for AC1376?....................................................................14
3.1.3 Required accessories ..............................................................................................14
3.2 Intended use .................................................................................................................15
3.2.1 Permitted use...........................................................................................................15
3.2.2 Prohibited use..........................................................................................................15
4Function 16
4.1 Data management ........................................................................................................16
4.2 Introduction AS-i data ...................................................................................................17
4.2.1 Field definitions for direct data access ....................................................................18
4.2.2 Profiles of AS-i slaves..............................................................................................32
4.2.3 Data distribution of slaves in the M4 gateway (depending on the profile)...............41
5Electrical connection 88
5.1 Suggested wiring ..........................................................................................................88
5.2 The AS-i power supply..................................................................................................90
5.3 Wiring and set-up of the slaves ....................................................................................91
6Operating and display elements 92
6.1 Diagnostic LEDs ...........................................................................................................92
6.2 Display (presentation, language, contrast/brightness) .................................................94
6.2.1 What is what in the text/graphics display?...............................................................94
6.2.2 Text/graphics display: Switch language ..................................................................96
6.2.3 Text/graphics display: Set contrast/brightness........................................................97
6.3 Key functions ................................................................................................................98
7Menu 99
7.1 Menu overview..............................................................................................................99
7.2 Main menu [Quick Setup] .......................................................................................... 100

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Contents
3
7.3 Main menu [Slave Lists]............................................................................................. 101
7.4 Main menu [Address Slave]....................................................................................... 102
7.5 Main menu [Diagnostics] ........................................................................................... 103
7.6 Main menu [Master Setup]......................................................................................... 105
7.7 Main menu [Fieldbus Setup] ...................................................................................... 107
7.8 Main menu [Slave Info] .............................................................................................. 109
7.9 Main menu [Slave Setup]........................................................................................... 110
7.10 Main menu [System Setup]........................................................................................ 112
7.11 Main menu [System Info] ........................................................................................... 115
8Switch operating modes 116
8.1 Which operating modes are available for the AS-i master? ...................................... 116
8.2 How to switch the operating modes for the AS-i master............................................ 117
9Set-up 119
9.1 Configuration of the slaves ........................................................................................ 119
9.1.1 Permissible slave addresses ................................................................................ 120
9.1.2 Automatic individual addressing of slaves............................................................ 121
9.1.3 Manual slave addressing...................................................................................... 124
9.1.4 Finish configuration............................................................................................... 128
9.1.5 Enter detected slaves in the configuration list ...................................................... 131
9.2 Change slave parameter data ................................................................................... 133
9.3 Password protection .................................................................................................. 136
9.3.1 General ................................................................................................................. 136
9.3.2 Password levels.................................................................................................... 137
9.3.3 Password setting .................................................................................................. 138
9.4 Reset to factory preset............................................................................................... 140
9.5 Update firmware......................................................................................................... 142
9.6 Character sets............................................................................................................ 142
9.7 Set the parameters of the fieldbus interface in the device......................................... 143
9.8 Parameter setting of the Profibus host ...................................................................... 145
9.8.1 Introduction ........................................................................................................... 145
9.8.2 Assigning the addresses of the inputs/outputs to the host "locations" ................. 147
9.8.3 Define Profibus DP modules ................................................................................ 156
9.8.4 Device-specific Profibus DP parameters .............................................................. 169
9.8.5 Finish set-up ......................................................................................................... 171
10 DP module 7 – command channel 172
10.1 Commands in DP module 7....................................................................................... 172
10.1.1 Module 7, command 01 – Read master flags....................................................... 173
10.1.2 Module 7, command 02 – Change operating mode ............................................. 174
10.1.3 Module 7, command 03 – Read current slave configuration................................ 175
10.1.4 Module 7, command 04 – Read projected slave configuration ............................ 177
10.1.5 Module 7, command 05 – Change projected slave configuration ........................ 179
10.1.6 Module 7, command 06 – Read slave parameters............................................... 181
10.1.7 Module 7, command 07 – Change projected slave parameters........................... 182
10.1.8 Module 7, command 08 – Read LAS (list of active slaves) .................................. 184
10.1.9 Module 7, command 09 – Read LDS (list of detected slaves) ............................. 186
10.1.10 Module 7, Command 10 (0Ahex) – Read LPF (list of slaves with
peripheral fault).................................................................................................... 188
10.1.11 Module 7, command 11 (0Bhex) – Read LPS (list of projected slaves)............... 190

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Contents
4
10.1.12 Module 7, command 13 (0Dhex) – Read telegram error counter......................... 192
10.1.13 Module 7, command 14 (0Ehex) – Read configuration error counter .................. 194
10.1.14 Module 7, command 15 (0Fhex) – Read AS-i cycle counter................................ 195
10.1.15 Module 7, command 16 (10hex) – Change current slave parameters ................. 196
10.1.16 Module 7, command 19 (13hex) – Project all....................................................... 198
10.1.17 Module 7, command 21 (15hex) – Save configuration in flash memory .............. 199
10.1.18 Module 7, command 22 (16hex) – Reset telegram error counter of a slave........ 200
10.1.19 Module 7, command 23 (17hex) – Address slave ................................................ 202
10.1.20 Module 7, command 62 (3Ehex) – [Continuous Command] operating mode ...... 204
10.1.21 Module 7, command 63 (3Fhex) – No-operation command without function....... 206
11 DP module 12: extended command channel 207
11.1 Syntax of the extended command channel ............................................................... 207
11.2 Error codes in the module 12..................................................................................... 209
11.2.1 General error codes.............................................................................................. 209
11.2.2 CTT2 error codes.................................................................................................. 210
11.3 Commands in the extended command channel ........................................................ 211
11.3.1 Module 12, extended command 00 = execute no command ............................... 212
11.3.2 Module 12, extended command 01 – change slave parameters ......................... 213
11.3.3 Module 12, extended command 03 – adopt and save connected AS-i slaves
in the configuration .............................................................................................. 216
11.3.4 Module 12, extended command 04 – change the list of projected
AS-i slaves (LPS)................................................................................................. 219
11.3.5 Module 12, extended command 05 – change the operating mode of the
AS-i master .......................................................................................................... 222
11.3.6 Module 12, extended command 06 – change the AS-i slave address ................. 224
11.3.7 Module 12, extended command 07 – set the autoaddress mode of the
AS-i master .......................................................................................................... 227
11.3.8 Module 12, extended command 09 – Change [extended ID code 1] in the
connected AS-i slave ........................................................................................... 229
11.3.9 Module 12, extended command 10...20 (0A...14hex) – force analogue data
transmission directly to / from 3 AS-i slaves each............................................... 232
11.3.10 Module 12, extended command 21 (15hex) – read 7.4 ID string of an
AS-i slave............................................................................................................. 238
11.3.11 Module 12, extended command 25 (19hex) – set AS-i master test mode ........... 242
11.3.12 Module 12, extended command 26 (1Ahex) – read AS-i master version............. 244
11.3.13 Module 12, extended command 28 (1Chex) – no slave reset when changing
to the protected mode.......................................................................................... 246
11.3.14 Module 12, extended command 31 (1Fhex) – execute the extended safety
monitor protocol in the Safety-at-Work monitor once .......................................... 248
11.3.15 Module 12, extended command 33 (21hex) – read 7.4 diagnostic string of
an AS-i slave........................................................................................................ 253
11.3.16 Module 12, extended command 34 (22hex) – read 7.4 parameter string of
an AS-i slave........................................................................................................ 255
11.3.17 Module 12, extended command 35 (23hex) – write 7.4 parameter string of
an AS-i slave........................................................................................................ 257
11.3.18 Module 12, acyclic command 36 (24hex) – standard read call to an AS-i slave
with CTT2 profile.................................................................................................. 259
11.3.19 Module 12, acyclic command 37 (25hex) – standard write call to an AS-i slave
with CTT2 profile.................................................................................................. 264
11.3.20 Module 12, acyclic command 38 (26hex) – manufacturer-specific read call
to an AS-i slave with CTT2 profile ....................................................................... 269
11.3.21 Module 12, acyclic command 39 (27hex) – manufacturer-specific write call
to an AS-i slave with CTT2 profile ....................................................................... 274
11.3.22 Module 12, extended command 50 (32hex) – read current configuration of
AS-i slaves 0(A)...15(A) ....................................................................................... 279

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Contents
5
11.3.23 Module 12, extended command 51 (33hex) – read current configuration of
AS-i slaves 16(A)...31(A) ..................................................................................... 282
11.3.24 Module 12, extended command 52 (34hex) – read current configuration of
AS-i slaves 1B...15B............................................................................................ 284
11.3.25 Module 12, extended command 53 (35hex) – read current configuration of
AS-i slaves 16B...31B.......................................................................................... 286
11.3.26 Module 12, extended command 54 (36hex) – read current parameters of
the AS-i slaves..................................................................................................... 288
11.3.27 Module 12, extended command 55 (37hex) – read current AS-i slave lists......... 291
11.3.28 Module 12, extended command 56 (38hex) – read projected configuration
of AS-i slaves 1(A)...15(A) ................................................................................... 293
11.3.29 Module 12, extended command 57 (39hex) – read projected configuration
of AS-i slaves 16(A)...31(A) ................................................................................. 296
11.3.30 Module 12, extended command 58 (3Ahex) – read projected configuration
of AS-i slaves 1B...15B........................................................................................ 298
11.3.31 Module 12, extended command 59 (3Bhex) – read projected configuration
of AS-i slaves 16B...31B...................................................................................... 300
11.3.32 Module 12, extended command 96 (60hex) – save data in the non volatile
flash memory of the device.................................................................................. 302
11.3.33 Module 12, extended command 97 (61hex) – make settings in the
AS-i master .......................................................................................................... 304
11.3.34 Module 12, extended command 102 (66hex) – user menu.................................. 306
11.3.35 Module 12, extended command 105 (69hex) – read device features .................. 311
12 Acyclic services for Profibus DPV1 314
12.1 Description................................................................................................................. 314
12.2 Services for acyclic data transfer between DPM1 master and slave ........................ 315
12.3 Services for acyclic data transfer between DPM2 master and slave ........................ 315
12.4 DPV1 addresses in slot 0 for access via PLC ........................................................... 316
12.5 Examples ................................................................................................................... 318
12.5.1 Examples DPV1 reading....................................................................................... 318
12.5.2 Examples DPV1 writing ........................................................................................ 318
12.6 DPV1 error messages ............................................................................................... 319
12.6.1 DPV1 error codes: application.............................................................................. 319
12.6.2 DPV1 error codes: data access............................................................................ 319
12.6.3 DPV1 error codes: device..................................................................................... 320
12.6.4 DPV1 error codes: application-specific................................................................. 320
12.6.5 DPV1 function 58 'Reason codes' ........................................................................ 320
12.7 Syntax of the acyclic services in the DPV1 command channel................................. 321
12.7.1 Command status................................................................................................... 322
12.8 Acyclic command in the DPV1 command channel.................................................... 323
12.8.1 Acyclic command 00 – execute no command ...................................................... 324
12.8.2 Acyclic command 01 – change slave parameters ................................................ 325
12.8.3 Acyclic command 03 – adopt and save connected AS-i slaves in configuration.. 327
12.8.4 Acyclic command 04 – change the list of projected AS-i slaves (LPS) ................ 329
12.8.5 Acyclic command 05 – set the operating mode of the AS-i master...................... 331
12.8.6 Acyclic command 06 – change the AS-i slave address........................................ 333
12.8.7 Acyclic command 07 – set the autoaddress mode of the AS-i master................. 336
12.8.8 Acyclic command 09 – change extended ID code 1 in the AS-i slave ................. 337
12.8.9 Acyclic command 10...20 (0A...14hex) – force analogue data transmission
directly to / from 3 AS-i slaves each .................................................................... 339
12.8.10 Acyclic command 21 (15hex) – read 7.4 ID of an AS-i slave ............................... 344
12.8.11 Acyclic command 25 (19hex) – set AS-i master test mode.................................. 347
12.8.12 Acyclic command 26 (1Ahex) – read AS-i master version ................................... 349
12.8.13 Acyclic command 28 (1Chex) – no slave reset when changing to the
protected mode.................................................................................................... 351

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Contents
6
12.8.14 Acyclic command 31 (1Fhex) – execute the extended safety monitor protocol
in the Safety-at-Work monitor once ..................................................................... 352
12.8.15 Acyclic command 33 (21hex) – read 7.4 diagnostic string of an AS-i slave......... 357
12.8.16 Acyclic command 34 (22hex) – read 7.4 parameter string of an AS-i slave ........ 360
12.8.17 Acyclic command 35 (23hex) – write 7.4 parameter string of an AS-i slave........ 363
12.8.18 Acyclic command 36 (24hex) – acyclic standard read call to an AS-i slave
with CTT2 profile.................................................................................................. 365
12.8.19 Acyclic command 37 (25hex) – acyclic standard write call to an AS-i slave
with CTT2 profile.................................................................................................. 369
12.8.20 Acyclic command 38 (26hex) – acyclic manufacturer-specific read call to
an AS-i slave with CTT2 profile ........................................................................... 372
12.8.21 Acyclic command 39 (27hex) – acyclic manufacturer-specific write call to
an AS-i slave with CTT2 profile ........................................................................... 376
12.8.22 Acyclic command 50 (32hex) – read current configuration of AS-i slaves
0(A)...15(A) .......................................................................................................... 379
12.8.23 Acyclic command 51 (33hex) – read current configuration of AS-i slaves
16(A)...31(A) ........................................................................................................ 381
12.8.24 Acyclic command 52 (34hex) – read current configuration AS-i slaves
1B...15B ............................................................................................................... 382
12.8.25 Acyclic command 53 (35hex) – read current configuration AS-i slaves
16B...31B ............................................................................................................. 383
12.8.26 Acyclic command 54 (36hex) – read current parameters of the AS-i slaves ....... 384
12.8.27 Acyclic command 55 (37hex) – read current AS-i slave lists ............................... 386
12.8.28 Acyclic command 56 (38hex) – read projected configuration of AS-i slaves
1(A)...15(A) .......................................................................................................... 388
12.8.29 Acyclic command 57 (39hex) – read projected configuration of the AS-i
slaves 16(A)...31(A)............................................................................................. 390
12.8.30 Acyclic command 58 (3Ahex) – read projected configuration of AS-i slaves
1B...15B ............................................................................................................... 391
12.8.31 Acyclic command 59 (3Bhex) – read projected configuration of AS-i slaves
16B...31B .............................................................................................................. 392
12.8.32 Acyclic command 96 (60hex) – save data non-volatilely in the flash memory
of the device ........................................................................................................ 393
12.8.33 Acyclic command 97 (61hex) – carry out settings in the device .......................... 394
12.8.34 Acyclic command 102 (66hex) – user menu ........................................................ 396
12.8.35 Acyclic command 105 (69hex) – read device features......................................... 400
13 Further functions for Profibus DPV1 402
13.1 AS-i diagnosis via Profibus DP .................................................................................. 402
13.1.1 Digital inputs ......................................................................................................... 402
13.1.2 Digital outputs ....................................................................................................... 403
13.1.3 Extended device-specific diagnosis for Profibus DP ............................................ 404
13.1.4 Diagnostic master flags (byte 10 / byte 36) .......................................................... 405
13.2 Set the Profibus slave address on the gateway ........................................................ 406
13.3 Read fieldbus parameters.......................................................................................... 408
14 Operation 413
14.1 Display of the list of detected slaves (LDS) ............................................................... 413
14.2 Display of the list of projected slaves (LPS) .............................................................. 416
14.3 Display list of activated slaves (LAS)......................................................................... 419
14.4 Display of the list of slaves with peripheral fault (LPF) .............................................. 422
14.5 Display of slave with peripheral fault ......................................................................... 425
14.6 Detect an unknown slave address............................................................................. 426
14.7 Number of AS-i voltage failures on the AS-i master.................................................. 427

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Contents
7
14.8 Number of configuration errors on the master........................................................... 429
14.9 AS-i telegram errors on the master............................................................................ 431
14.10 Number of disturbed telegrams on the master (by noisy slaves) .............................. 434
14.11 Reset error counter.................................................................................................... 437
14.12 Display of the longest cycle time ............................................................................... 439
14.13 Read states of the safety monitor .............................................................................. 441
14.13.1 Case A: no safety device has triggered................................................................ 443
14.13.2 Case B: a safety device has triggered.................................................................. 443
14.14 Read states of safety slaves...................................................................................... 445
14.14.1 Case A: Safety sensor not actuated / not triggered.............................................. 447
14.14.2 Case B: Safety sensor actuated / not triggered.................................................... 448
14.15 Set AS-i address of the safety monitor ...................................................................... 449
14.16 Reset AS-i address of the safety monitor .................................................................. 452
14.17 Set the diagnostic characteristics of the safety monitor ............................................ 455
14.18 Reset diagnostic states of safety devices.................................................................. 458
14.19 Switch operating modes ............................................................................................ 460
14.20 Display slave data...................................................................................................... 461
14.20.1 Status information of analogue slaves.................................................................. 465
14.21 Set output values ....................................................................................................... 466
14.21.1 Set digital output ................................................................................................... 469
14.21.2 Set analogue output.............................................................................................. 471
14.22 Display system parameters ....................................................................................... 474
15 Technical data 477
15.1 General data .............................................................................................................. 477
15.2 Data AS-i master........................................................................................................ 477
15.3 Interface Profibus DPV1 ............................................................................................ 478
16 Troubleshooting 479
16.1 Boot errors – error codes B00...B11.......................................................................... 480
16.2 AS-i system errors – error codes E10...E32 .............................................................. 482
16.3 FAT errors – error codes F01...F10........................................................................... 485
16.4 Flash errors – error codes F20...F30......................................................................... 487
16.5 Information errors – error code I01 ............................................................................ 489
16.6 AS-i master command errors – error codes M01...M44 ............................................ 490
16.7 RTS errors – error codes R01...R43.......................................................................... 494
16.8 Timeout errors – error codes T00...T13..................................................................... 500
16.9 List of errors ............................................................................................................... 502
16.10 How does the device react in case of a fault? ........................................................... 504
16.11 Hardware errors, exception errors............................................................................. 505
17 Glossary of Terms 507
18 Index 518
19 ifm weltweit • ifm worldwide • ifm à l’échelle internationale 523

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Contents
8

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
On this manual What do the symbols and formats mean?
9
1 On this manual
What do the symbols and formats mean? .....................................................................................9
What devices are described in this manual? ...............................................................................10
How is this documentation structured? ........................................................................................10
4406
In the additional "Programming Manual for CoDeSys V2.3" you will obtain more details about the use
of the programming system "CoDeSys for Automation Alliance". This manual can be downloaded free
of charge from ifm's website:
www.ifm.com > select your country > [Service] > [Download] > [Bus system AS-Interface]
Nobody is perfect. Send us your suggestions for improvements to this manual and you will receive a
little gift from us to thank you.
© All rights reserved by ifm electronic gmbh. No part of this manual may be reproduced and used
without the consent of ifm electronic gmbh.
All product names, pictures, companies or other brands used on our pages are the property of the respective rights owners:
- AS-i is the property of the AS-International Association, (www.as-interface.net)
- CAN is the property of the CiA (CAN in Automation e.V.), Germany (www.can-cia.org)
- CoDeSys™ is the property of the 3S – Smart Software Solutions GmbH, Germany (www.3s-software.com)
- DeviceNet™ is the property of the ODVA™ (Open DeviceNet Vendor Association), USA (www.odva.org)
- IO-Link®(www.io-link.com) is the property of the PROFIBUS Nutzerorganisation e.V., Germany
- Microsoft®is the property of the Microsoft Corporation, USA (www.microsoft.com)
- PROFIBUS®is the property of the PROFIBUS Nutzerorganisation e.V., Germany (www.profibus.com)
- PROFINET®is the property of the PROFIBUS Nutzerorganisation e.V., Germany
- Windows®is the property of the Microsoft Corporation, USA
1.1 What do the symbols and formats mean?
203
The following symbols or pictograms depict different kinds of remarks in our manuals:
WARNING
Death or serious irreversible injuries are possible.
CAUTION
Slight reversible injuries are possible.
NOTICE
Property damage is to be expected or possible.
NOTE
Important notes on faults and errors.

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
On this manual What devices are described in this manual?
10
Info
Further hints.
►... Required action
> ... Response, effect
... "see"
abc Cross references (links)
[...] Designations of keys, buttons or display
1.2 What devices are described in this manual?
5308
This manual describes the AS-i gateway family from ifm electronic gmbh for the connection to
Profibus DPV1:
AC1375 + AC1376
with master profile M4
with AS-i version 3.0 master
with a firmware
- from version RTS 1.4x for AC1375
- from version RTS 2.3x for AC1376
1.3 How is this documentation structured?
4373
This documentation is a combination of different types of manuals. It is for beginners and also a
reference for advanced users.
How to use this documentation:
Refer to the table of contents to select a specific subject.
The print version of the manual contains a search index in the annex.
At the beginning of a chapter we will give you a brief overview of its contents.
Abbreviations and technical terms are listed in the glossary.
In case of malfunctions or uncertainties please contact the manufacturer at:
www.ifm.com > select your country > [Contact].
We want to become even better! Each separate section has an identification number in the top right
corner. If you want to inform us about any inconsistencies, please indicate this number with the title
and the language of this documentation. Thank you for your support.
We reserve the right to make alterations which can result in a change of contents of the
documentation. You can find the current version on ifm's website at:
www.ifm.com > select your country > [Service] > [Download] > [Bus system AS-Interface]

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Safety instructions Important!
11
2 Safety instructions
Important! .....................................................................................................................................11
What previous knowledge is required? ........................................................................................12
213
2.1 Important!
214
No characteristics are warranted with the information, notes and examples provided in this manual.
The drawings, representations and examples imply no responsibility for the system and no application-
specific particularities.
The manufacturer of the machine/equipment is responsible for the safety of the machine/equipment.
WARNING
Property damage or bodily injury are possible when the notes in this manual are not adhered to!
ifm electronic gmbh does not assume any liability in this regard.
►The acting person must have read and understood the safety instructions and the corresponding
chapters of this manual before performing any work on or with this device.
►The acting person must be authorised to work on the machine/equipment.
►Adhere to the technical data of the devices!
You can find the current data sheet on ifm's homepage at:
www.ifm.com > select your country > [Data sheet search] > (Article no.) > [Technical data in
PDF format]
►Note the installation and wiring information as well as the functions and features of the devices!
supplied installation instructions or on ifm's homepage:
www.ifm.com > select your country > [Data sheet search] > (Article no.) > [Operating
instructions]
NOTICE
The driver module of the serial interface can be damaged!
Disconnecting the serial interface while live can cause undefined states which damage the driver
module.
►Do not disconnect the serial interface while live.
Start-up behaviour of the controller
The manufacturer of the machine/equipment must ensure with his application program that when the
controller starts or restarts no dangerous movements can be triggered.
A restart can, for example, be caused by:
voltage restoration after power failure
reset after watchdog response because of too long a cycle time

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Safety instructions What previous knowledge is required?
12
2.2 What previous knowledge is required?
215
This document is intended for people with knowledge of control technology and PLC programming
with IEC 61131-3.
If this device contains a PLC, in addition these persons should know the CoDeSys®software.
The document is intended for specialists. These specialists are people who are qualified by their
training and their experience to see risks and to avoid possible hazards that may be caused during
operation or maintenance of a product. The document contains information about the correct handling
of the product.
Read this document before use to familiarise yourself with operating conditions, installation and
operation. Keep the document during the entire duration of use of the device.
Adhere to the safety instructions.

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
System description Information concerning the device
13
3 System description
Information concerning the device ...............................................................................................13
Intended use.................................................................................................................................15
975
3.1 Information concerning the device
Overview: Where is what for AC1375? ........................................................................................13
Overview: Where is what for AC1376? ........................................................................................14
Required accessories...................................................................................................................14
5330
What devices are described in this manual? (→page 10)
3.1.1 Overview: Where is what for AC1375?
5311
1
2
3
4
5
6
7
8
Legend:
1. unlocking key for detaching the
device from a DIN rail
2. metal housing IP20
3. text/graphics display
4. 4 pushbuttons
5. status LEDs
6. connection terminals for the AS-i
interface and FE
7. fieldbus interface
8. status LED of the
fieldbus interface
Figure: Overview gateway AC1375

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
System description Information concerning the device
14
3.1.2 Overview: Where is what for AC1376?
5312
1
2
3
4
5
6
7
8
9
Legend:
1. unlocking key for detaching the
device from a DIN rail
2. metal housing IP20
3. text/graphics display
4. 4 pushbuttons
5. status LEDs
6. 6-pin RJ11 socket of RS-232C
for firmware update
7. connection terminals for the 24V
voltage supply, AS-i interfaces
and FE
8. status LED of the
fieldbus interface
9. fieldbus interface
Figure: Overview gateway AC1376
3.1.3 Required accessories
5316
To be able to operate the system in a sensible way you need the following accessories besides the
gateway (not supplied with the device):
(Only AC1376:) a power supply for the 24 V power supply (e.g. art. no. DN3011)
(AC1375 is supplied via AS-i)
for each AS-i master one power supply each (e.g. art. no. AC1236)
as well as AS-i slaves.

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
System description Intended use
15
3.2 Intended use
5310
NOTE
Danger when device is overloaded or incorrectly used.
The device and / or the associated machine / plant may be damaged or destroyed or may malfunction if
the limits of the "Technical data" for this device are exceeded or if the device is used outside the
specified "Intended use".
►Use the device only within the limits of the Technical data (→page 477) (data sheet).
►Use the device only in accordance with the "Intended use".
3.2.1 Permitted use
5319
You may use the device for the following purposes (= Intended use):
as fieldbus gateway between the actuator-sensor-interface network and a higher-level controller
(fieldbus master = host; e.g. PLC) via the fieldbus connection Profibus DPV1.
3.2.2 Prohibited use
5320
In the following areas you must NOT use the device:
outdoors,
in wet environments,
beyond the limits of the Technical data (→page 477) (data sheet).
Tampering with the device can seriously affect the safety of operators and machinery. This is not
permitted and leads to an exclusion of liability and warranty.

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Function Data management
16
4 Function
Data management........................................................................................................................16
Introduction AS-i data...................................................................................................................17
5322
4.1 Data management
5323
The device consists of different units:
AS-i Master 1
AS-i Master 2
(optional)
SRAM-Speicher
SRAM memory
Flash-Speicher
Flash memory
Text-/Grafik-Anzeige
Text/graphics display
Feldbusschnittstelle Profibus DPV1
Fieldbus interface Profibus DPV1
RS-232C Schnittstelle
RS-232C interface
(only AC1376 for Firmware update)
Zentraleinheit
Central unit
The central processing unit (CPU) ensures the data transfer between the subsystems. It manages
the remanent flash memory and the volatile RAM memory.
The flash memory (1 Mbyte) stores non-volatilely...
the system configuration including the AS-i configurations,
the runtime system (RTS),
the remanent data.
After power-on of the device the operating system runs in the SRAM memory (1 Mbyte).
The AS-i masters of AC1376 have one separate microcontroller each.
The AS-i master communicates with the connected slave modules on the AS-i bus according to
the AS-i specification.

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Function Introduction AS-i data
17
Using the text/graphics display on the device enables a more detailed system diagnosis. With the
four keys the device is easy to use.
chapter Operating and display elements (→page 92)
The bilingual structure of the menus and messages simplifies worldwide use of this device
family. chapter Text/graphics display: Switch language (→page 96)
An intelligent message management generates priority-based diagnostic and error messages
and supports the user considerably during set-up and removal of failures. chapter
Troubleshooting (→page 479)
The fieldbus interface operates independently and exchanges data with the central system via a
"dual port RAM" interface.
4.2 Introduction AS-i data
Field definitions for direct data access.........................................................................................18
Profiles of AS-i slaves ..................................................................................................................32
Data distribution of slaves in the M4 gateway (depending on the profile) ...................................41
5327
The AS-i master and the AS-i slaves make a large amount of data available to the user. The user can
retrieve information, such as the status of the master and the configuration data of the slaves. This
data is combined in several data fields.
These data structures and their contents will be described in the following sections.

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Function Introduction AS-i data
18
4.2.1 Field definitions for direct data access
strMasterFlags – fields with master status information ................................................................18
strSlaveCyc – fields with digital I//O data.....................................................................................19
strFbusInCyc / strFbusOutCyc – fields with fieldbus I/O data......................................................20
strSlavePara – fields with current / projected / reflected parameter data ....................................21
strSlaveCDI / strSlavePrj – fields with current and projected configuration data (CDI) ...............22
strSlaveList– fields with slave lists ...............................................................................................23
strSlaveErrCtr – fields with slave telegram error counters...........................................................24
strAnalogSlave – fields with analogue I/O data ...........................................................................25
strSafetyList – fields with safety slave contacts ...........................................................................31
5328
strMasterFlags – fields with master status information
5329
Word no. Bit Bit = TRUE means:
0 "no slave reset"
When executing the function "Config all" (via the menu or command channel of the device)
the slaves are NOT reset, as described in the AS-i specification.
0
1...15 reserved
0 "Config OK“
There is no configuration error. The configuration of all AS-i slaves in the network complies
with the projection data.
1 "LDS.0"
One slave with the AS-i address 0 was detected on the master.
2 reserved
3 reserved
4 "Configuration_Active"
The device is in the projection mode
5 "Normal_Operation_Active"
The AS-i master is in normal operation: it communicates with at least one slave.
6 "AS-i_Power_Fail"
The AS-i voltage is too low.
7 reserved
8 "Periphery_OK"
None of the active AS-i slaves signals a peripheral fault.
9 "Auto_Address_Enable"
The mode "automatic addressing of the slaves" on this master is activated.
1
10...15 reserved

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Function Introduction AS-i data
19
strSlaveCyc – fields with digital I//O data
5332
Word no. Bit 12...15 Bit 8...11 Bit 4...7 Bit 0...3
0reserved slave 2(A) reserved slave 1(A)
1reserved slave 4(A) reserved slave 3(A)
2reserved slave 6(A) reserved slave 5(A)
3reserved slave 8(A) reserved slave 7(A)
4reserved slave 10(A) reserved slave 9(A)
5reserved slave 12(A) reserved slave 11(A)
6reserved slave 14(A) reserved slave 13(A)
7reserved slave 16(A) reserved slave 15(A)
8reserved slave 18(A) reserved slave 17(A)
9reserved slave 20(A) reserved slave 19(A)
10 reserved slave 22(A) reserved slave 21(A)
11 reserved slave 24(A) reserved slave 23(A)
12 reserved slave 26(A) reserved slave 25(A)
13 reserved slave 28(A) reserved slave 27(A)
14 reserved slave 30(A) reserved slave 29(A)
15 reserved reserved reserved slave 31(A)
16 reserved slave 2B reserved slave 1B
17 reserved slave 4B reserved slave 3B
18 reserved slave 6B reserved slave 5B
19 reserved slave 8B reserved slave 7B
20 reserved slave 10B reserved slave 9B
21 reserved slave 12B reserved slave 11B
22 reserved slave 14B reserved slave 13B
23 reserved slave 16B reserved slave 15B
24 reserved slave 18B reserved slave 17B
25 reserved slave 20B reserved slave 19B
26 reserved slave 22B reserved slave 21B
27 reserved slave 24B reserved slave 23B
28 reserved slave 26B reserved slave 25B
29 reserved slave 28B reserved slave 27B
30 reserved slave 30B reserved slave 29B
31 reserved reserved reserved slave 31B

ifm Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376) 2012-02-23
Function Introduction AS-i data
20
strFbusInCyc / strFbusOutCyc – fields with fieldbus I/O data
5333
Word no. Bit 12...15 Bit 8...11 Bit 4...7 Bit 0...3
0slave 2(A) slave 3(A) DP status slave 1(A)
1slave 6(A) slave 7(A) slave 4(A) slave 5(A)
2slave 10(A) slave 11(A) slave 8(A) slave 9(A)
3slave 14(A) slave 15(A) slave 12(A) slave 13(A)
4slave 18(A) slave 19(A) slave 16(A) slave 17(A)
5slave 22(A) slave 23(A) slave 20(A) slave 21(A)
6slave 26(A) slave 27(A) slave 24(A) slave 25(A)
7slave 30(A) slave 31(A) slave 28(A) slave 29(A)
8slave 2B slave 3B reserved slave 1B
9slave 6B slave 7B slave 4B slave 5B
10 slave 10B slave 11B slave 8B slave 9B
11 slave 14B slave 15B slave 12B slave 13B
12 slave 18B slave 19B slave 16B slave 17B
13 slave 22B slave 23B slave 20B slave 21B
14 slave 26B slave 27B slave 24B slave 25B
15 slave 30B slave 31B slave 28B slave 29B
This manual suits for next models
1
Table of contents
Other IFM Gateway manuals

IFM
IFM mobileIoT CR3156 User manual

IFM
IFM AC412S Application guide

IFM
IFM AL1350 User manual

IFM
IFM AC422S User manual

IFM
IFM AL1940 Application guide

IFM
IFM Ecomat 300 AC1421 Application guide

IFM
IFM ZB0929 User manual

IFM
IFM AC1401 Owner's manual

IFM
IFM mobileIoT CR3145 User manual

IFM
IFM ZB0929 User manual