background image

DP module 7: Command channel 

Module 7, command 62dec (3Ehex):  
operating mode "continuous command“ 

 

 

 

8-22 

8.21 

Module 7, command 62

dec

 (3E

hex

):  

operating mode "continuous command“ 

If the "continuous" mode is active, the current command is transferred in every cycle. 

 

NOTE 

The continuous mode influences the behaviour of the controllere. The mode should only be used for 
read commands. 

Structure 

Request of DP master 

Bit 

 

Byte 

 

0 0 

3E

hex 

 

 

01

hex 

changes the mode 

reads the current status 

01

hex 

commands are carried out cyclically 

commands are only carried out if the command number 
changes 

Response from controllere 

Bit 

 

Byte 

 

D7 D6 

3E

hex 

D6 = command code 
D7 = error code 

 page 

7-20

, table at the bottom 

copy of the request 

 

copy of the request 

 

Example: Activate the operating mode "continuous command" 

Request of DP master 

Byte no. 

Value [hex] 

Description 

3E 

3E = command 62 

2 00 

 

01 

changes the mode 

01 

commands are carried out cyclically 

Response from controllere 

Byte no. 

Value [hex] 

Description 

3E 

copy of the request 

47 

copy of the request 

01 

copy of the request 

01 

copy of the request 

 

Summary of Contents for Ecomat 300 AC1355

Page 1: ...vice manual AS i controllere with Profibus DPV1 A AC1355 AC1356 AC1365 AC1366 AS i master profile M4 Firmware from version RTS 3 0 onwards Target from V 15 onwards for CoDeSys from version 2 3 onwards 7390702 01 08 2008 ...

Page 2: ...2 As on 14 Aug 2008 All rights reserved by ifm electronic gmbh No part of this manual may be reproduced and used without ifm electronic s consent ...

Page 3: ... master 4 1 4 3 Set up Profibus DPV1 4 1 5 Function 5 1 5 1 Data management 5 1 5 2 Status LED for the fieldbus 5 2 5 3 Which operating modes are there for the PLC in the controllere 5 2 6 Menu 6 1 6 1 Main menu Quick Setup 6 1 6 2 Main menu Fieldbus Setup 6 2 7 Set up 7 1 7 1 Parameter setting of the controllere 7 1 7 1 1 Parameter setting of slaves in the controllere 7 1 7 1 2 Set the parameters...

Page 4: ...AS i cycle counter 8 16 8 16 Module 7 command 16dec 10hex change current slave parameters 8 17 8 17 Module 7 command 19dec 13hex config all 8 18 8 18 Module 7 command 21dec 15hex save configuration in flash 8 19 8 19 Module 7 command 22dec 16hex reset telegram error counter of a slave 8 20 8 20 Module 7 command 23dec 17hex address slave 8 21 8 21 Module 7 command 62dec 3Ehex operating mode continu...

Page 5: ...dule 12 acyclic command 39dec 27hex manufacturer specific write call of an AS i slave with CTT2 profile S 7 5 5 S 7 A 5 or S B A 5 9 51 9 25 Module 12 extended command 50dec 32hex read current configuration of AS i slaves 0 A 15 A 9 55 9 26 Module 12 extended command 51dec 33hex read current configuration of AS i slaves 16 A 31 A 9 56 9 27 Module 12 extended command 52dec 34hex read current config...

Page 6: ...perating mode of the AS i master 11 11 11 8 DPV1 command 6dec 06hex readdress a connected AS i slave 11 13 11 9 DPV1 command 7dec 07hex set the auto address mode of the AS i master 11 15 11 10 DPV1 command 9dec 09hex change the extended ID code 1 in the connected AS i slave 11 16 11 11 DPV1 command 10 20dec 0A 14hex force analogue data transfer directly to from 3 AS i slaves in each case 11 18 11 ...

Page 7: ... configuration of the AS i slaves 16 A 31 A 11 62 11 30 DPV1 command 58dec 3Ahex read projected configuration of the AS i slaves 1B 15B 11 63 11 31 DPV1 command 59dec 3Bhex read projected configuration of the AS i slaves 16B 31B 11 64 11 32 DPV1 command 96dec 60hex save data non volatilely in the flash memory of the controllere 11 65 11 33 DPV1 command 97dec 61hex carry out various settings in the...

Page 8: ...8 15 Terms abbreviations 15 1 16 Index 16 1 ...

Page 9: ...NING Death or serious irreversible injuries may result CAUTION Slight reversible injuries may result NOTICE Property damage is to be expected or possible NOTE The i in the square gives important information to help you handle the product or this manual correctly Request for action Reaction of device or software stands for see abc Cross reference Link Designation of key signalling lamp button menu ...

Page 10: ...nual To find a certain subject straight away please use the table of contents at the beginning of this manual Using the table of keywords at the end of the manual you can quickly find the term you are looking for At the beginning of a chapter we will give you a brief overview of its contents You can find the title of the current chapter in bold in the header of each page Below is the current title...

Page 11: ...tatus LEDs of the fieldbus interface option text graphics display 4 pushbuttons option fieldbus interface here Ethernet status LEDs terminals for the voltage supply 24 V AS i interface s and protective wire Option Ethernet programming interface 6 pole RJ11 socket of RS 232C as programming interface Figure overview controllere ...

Page 12: ...On this manual Overview where is what 1 4 ...

Page 13: ...mes no liability for this 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 2 2 What previous knowledge is required This manual is for persons with knowledge of control technology and PLC programming with IEC 611...

Page 14: ...Safety instructions Functions and features 2 2 ...

Page 15: ...ion and programming you also need the software CoDeSys for Automation Alliance version 2 3 or higher CD in case of direct connection of the controllere to a PC with Ethernet interface LAN a cross over CAT5 Ethernet patch cable with RJ45 plug on both sides 2 m art no EC2080 5 m art no E30112 In case of connection of the controllere to a PC with Ethernet interface LAN via a hub or switch a common CA...

Page 16: ...System requirements Required accessories 3 2 ...

Page 17: ...lere menu Config All basic manual If no slave is connected controllere menu Easy Startup basic manual 4 3 Set up Profibus DPV1 Controllere menu Fieldbus Setup set the Profibus address page 7 1 chapter Set the parameters of the fieldbus interface in the controllere Copy the GSD file from the ifm CD folder gateway to the suitable directory of the corresponding fieldbus configuration program Define t...

Page 18: ...Getting started Set up Profibus DPV1 4 2 ...

Page 19: ...fibus interface the data management of Profibus DP is handled in the operating system firmware of the device A special driver in the PLC user program in the controllere is not required In the mode Run Stop the digital and analogue output data is not transferred to the outputs of the AS i slaves Therefore this data must be recopied in the PLC user program of the controllere More information concern...

Page 20: ...PLC RUN lit Stop PLC program stop The PLC program stored in the controllere is stopped LED PLC RUN flashes Via DPV1 data can be written to AS i slaves in the controllere application program Mapping of the PLC address ranges IB4 512 IB4 639 IW4 320 IW4 639 Gateway Controllere as gateway LED PLC RUN goes out Fieldbus has exclusive write access for the AS i outputs DPV1 has no access here The timeout...

Page 21: ...ieldbus master of single or A slaves on AS i master 1 Digital outputs in the fieldbus master to single or A slaves on AS i 1 Digital inputs in the fieldbus master of single or A slaves on AS i master 2 Digital outputs in the fieldbus master to single or A slaves on AS i 2 Digital inputs in the fieldbus master of B slaves on AS i master 1 Digital outputs in the fieldbus master to B slaves on AS i 1...

Page 22: ... via the data packets for communication with the AS i controllere Digital inputs in the fieldbus master of single or A slaves on AS i master 1 Digital outputs in the fieldbus master on single or A slaves on AS i master 1 Digital inputs in the fieldbus master of single or A slaves on AS i master 2 Digital outputs in the fieldbus master on single or A slaves on AS i master 2 Digital inputs in the fi...

Page 23: ...on AS i master 1 Analogue inputs in the fieldbus master on AS i master 2 Analogue outputs in the fieldbus master on AS i master 2 Fieldbus data diagnosis Fieldbus master command channel Digital inputs in the fieldbus master of single or A slaves on AS i master 1 cycle starts again Cancel with ESC ...

Page 24: ...Menu Main menu Fieldbus Setup 6 4 ...

Page 25: ...e Set the parameters of the slaves in the AS i controllere as described in the basic device manual 7 1 2 Set the parameters of the fieldbus interface in the controllere Menu Fieldbus Setup Choose address OK M ME EN NU U 0 U US SE ER R 1 Press MENU Quick Setup PLC Setup Slave Lists O OK K 1 E ES SC C 2 Scroll to Fieldbus Setup with Diagnostics Master Setup Fieldbus Setup O OK K 1 E ES SC C 3 Select...

Page 26: ...h ESC 7 2 Connect the controllere to the Profibus host Connect the Profibus cable to the controllere 7 3 Parameter setting of the Profibus host NOTE Refer to the description of the Profibus interface on the host host fieldbus master in most cases higher level PLC GSD file GSD General Station Description The GSD file ifm604D8 gsd on the ifm CD contains different possible definitions indications of ...

Page 27: ...er 1 length 12 bytes single and A slaves with the addresses 1 A 15 A on AS i master 1 length 8 bytes single and A slaves with the addresses 1 A 7 A on AS i master 1 length 4 bytes no single or A slaves on AS i master 1 length 0 bytes If the parameters for a smaller number of slaves than indicated in the selection point are to be set you have created free reserve in the host Example 5 single and or...

Page 28: ... basic instructions of the device manual and there chapter Use of analogue channels in the controllere depending on the slave profile and chapter Data distribution of slaves to the M4 controllere Digital inputs outputs 1st example Siemens S7 with AS i controllere as gateway The digital inputs outputs on the AS i controllere are assigned to the host as bytes 0 15 In this constellation how are the I...

Page 29: ... 5 2 5 1 5 0 Slave 12 Slave 13 D3 D2 D1 D0 D3 D2 D1 D0 6 6 7 6 6 6 5 6 4 6 3 6 2 6 1 6 0 Slave 14 Slave 15 D3 D2 D1 D0 D3 D2 D1 D0 7 7 7 7 6 7 5 7 4 7 3 7 2 7 1 7 0 Slave 16 Slave 17 D3 D2 D1 D0 D3 D2 D1 D0 8 8 7 8 6 8 5 8 4 8 3 8 2 8 1 8 0 Slave 18 Slave 19 D3 D2 D1 D0 D3 D2 D1 D0 9 9 7 9 6 9 5 9 4 9 3 9 2 9 1 9 0 Slave 20 Slave 21 D3 D2 D1 D0 D3 D2 D1 D0 10 10 7 10 6 10 5 10 4 10 3 10 2 10 1 10 ...

Page 30: ...d example Siemens S7 with AS i controllere as gateway The digital inputs outputs on the AS i controllere are assigned to the host as bytes 65 80 In this constellation how are the IEC addresses distributed to the inputs and outputs of the slaves next page ...

Page 31: ... 70 3 70 2 70 1 70 0 Slave 12 Slave 13 D3 D2 D1 D0 D3 D2 D1 D0 71 71 7 71 6 71 5 71 4 71 3 71 2 71 1 71 0 Slave 14 Slave 15 D3 D2 D1 D0 D3 D2 D1 D0 72 72 7 72 6 72 5 72 4 72 3 72 2 72 1 72 0 Slave 16 Slave 17 D3 D2 D1 D0 D3 D2 D1 D0 73 73 7 73 6 73 5 73 4 73 3 73 2 73 1 73 0 Slave 18 Slave 19 D3 D2 D1 D0 D3 D2 D1 D0 74 74 7 74 6 74 5 74 4 74 3 74 2 74 1 74 0 Slave 20 Slave 21 D3 D2 D1 D0 D3 D2 D1 ...

Page 32: ... host as bytes 256 287 32 bytes 16 words The analogue outputs on the AS i controllere are assigned to the host as bytes 256 271 16 bytes 8 words The order of the shown analogue slaves can be explicitly defined via parameters in the Profibus configuration To adapt the parameters double click on the controllere symbol Change to the tab Parameter Assignment in the window which appears See figure ...

Page 33: ... parameters Analogue inputs Start address bytes Slave address Channel number 256 1 258 2 260 3 262 1 4 264 1 266 2 268 3 270 2 4 272 1 274 2 276 3 278 3 4 280 1 282 2 284 3 286 4 4 The slave address can be freely assigned via the Profibus parameter data Analogue outputs Start address bytes Slave address Channel number 256 1 258 2 260 3 262 1 4 264 1 266 2 268 3 270 2 4 The slave address can be fre...

Page 34: ...Set up Parameter setting of the Profibus host 7 10 Analogue inputs and outputs of the slaves at start address SORRY i n w o r k SORRY ...

Page 35: ...1 31 analogue inputs x channel 5 and 10 IW22 1 x IW22 31 x master 2 slaves 1 31 analogue inputs x channel 5 and 10 IW0 0 IW0 63 DP outputs for signal preprocessing 9 IB0 128 IB0 143 DP outputs for master1 slaves 1A 31A digital outputs 1 output IB0 144 IB0 159 DP outputs for master1 slaves 1B 31B digital outputs 3 output IB0 160 IB0 175 DP outputs for master2 slaves 1A 31A digital outputs 2 output ...

Page 36: ...uts x channel QW0 0 QW0 63 signal preprocessing outputs for DP data 8 Channel numbers x 0 analogue channel 1 x 1 analogue channel 2 x 2 analogue channel 3 x 3 analogue channel 4 The following device behaviour is defined a 1 channel per I O slave Word no AS i master no Slave no Channel 1 1 2 2 3 3 30 1 30 31 1 32 2 33 3 60 2 30 1 b 2 channels per I O slave Word no AS i master no Slave no Channel 1 ...

Page 37: ...t module in the device definition The first module for example defines the number of binary I O data bytes of single or A slaves of AS i master 1 in the controllere which are to be transferred to the Profibus master via Profibus DP NOTE The maximum data length of all 12 modules must not exceed 152 input bytes and 152 output bytes Example Siemens S7 For the advanced Profibus DP user it is also poss...

Page 38: ...26 A slave27 A 15 slave28 A slave29 A 16 slave30 A slave31 A The flags in the first input byte contain status information of the AS i master 1 Bit 7 Bit 6 Bit 5 Bit 4 PLC running in the controllere Configuration error in the AS i circuit AS i master offline Periphery fault The flags in the first output byte contain control information of the AS i master 1 Bit 7 Bit 6 Bit 5 Bit 4 Reserved Reserved ...

Page 39: ... slave27 A 15 slave28 A slave29 A 16 slave30 A slave31 A The flags in the first input byte contain status information of AS i master 2 Bit 7 Bit 6 Bit 5 Bit 4 PLC running in the controllere Configuration error in the AS i circuit No AS i slave detected Periphery fault The flags in the first output byte contain control information of the AS i master 2 Bit 7 Bit 6 Bit 5 Bit 4 Reserved Reserved Reset...

Page 40: ...gth 0 16 bytes I O if not used length 0 Byte no Bits 4 7 Bits 0 3 1 reserved slave1B 2 slave2B slave3B 3 slave4B slave5B 4 slave6B slave7B 5 slave8B slave9B 6 slave10B slave11B 7 slave12B slave13B 8 slave14B slave14B 9 slave16B slave15B 10 slave18B slave19B 11 slave20B slave21B 12 slave22B slave23B 13 slave24B slave25B 14 slave26B slave27B 15 slave28B slave29B 16 slave30B slave31B ...

Page 41: ...h 0 16 bytes I O if not used length 0 Byte no Bits 4 7 Bits 0 3 1 reserved slave1B 2 slave2B slave3B 3 slave4B slave5B 4 slave6B slave7B 5 slave8B slave9B 6 slave10B slave11B 7 slave12B slave13B 8 slave14B slave14B 9 slave16B slave15B 10 slave18B slave19B 11 slave20B slave21B 12 slave22B slave23B 13 slave24B slave25B 14 slave26B slave27B 15 slave28B slave29B 16 slave30B slave31B ...

Page 42: ... 3dec Calculation of the more significant byte MMXSSSSS slave no master no 64dec 32dec if B slave Controllere response 2 words first word copy of the request Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1st MM X SSSSS E4 E3 E2 E1 0 0 CC 2nd Analogue value INTEGER Legend MM 2 bits Master no 1 2 X 1 bit Slave type 0 single or A slave 1 B slave SSSSS 5 bits Slave no 1 31dec E1 1 bits Error no of th...

Page 43: ...bits Slave no 1 31dec V 1 bits Switch off the channel 1 TRUE switch off the channel master transmits invalid CC 2 bits Channel no 0 3 Calculation of the more significant byte MMXSSSSS slave no master no 64dec 32dec if B slave Controllere response 2 words copy of the request Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1st MM X SSSSS E4 E3 E2 E1 0 0 CC 2nd Analogue value INTEGER Legend MM 2 bits ...

Page 44: ...rting on the next page 4 Tables starting on the next page Calculation MMXSSSSS slave no master no 64dec 32dec if B slave Controllere response 4 bytes copy of the request Bit Byte 7 6 5 4 3 2 1 0 1 D7 D6 Command no 2 MM X SSSSS 3 Tables starting on the next page 4 Tables starting on the next page Legend D7 1 bit Error code 0 no error occurred 1 error occurred during command processing D6 1 bit Comm...

Page 45: ...MMXSSSSS 4 response MMXSSSSS slave configuration data change projected slave configuration MMXSSSSS slave configuration data 5 response MMXSSSSS slave configuration data read slave parameters MMXSSSSS 6 response MMXSSSSS projected parameters current parameters change projected slave parameters default parameters MMXSSSSS projected parameters 7 response MMXSSSSS projected parameters read LAS MMXSSS...

Page 46: ...l MM000000 19 response MM000000 status 20 reserved save configuration in flash MM000000 21 response MM000000 reset telegram error counter MMXSSSSS 22 response MMXSSSSS address slave MMXSSSSS 00XSSSSS 23 response MMXSSSSS operating mode continuous command 0 preset command mode 0 deactivate 1 activate 62 response 0 current command mode 0 deactivated 1 activated no operation command without function ...

Page 47: ...evice specific Profibus DP parameters page 7 25 Data length 2 words From slave 1 of up to 30 slaves on master 1 onwards the channels 1 and 2 are transmitted Contents Data length 1 word From slave 1 of up to 30 slaves on master 1 and 2 onwards channel 1 is transmitted Length 0 60 word inputs if not used length 0 Module 11 parallel analogue outputs Parallel analogue outputs of up to 30 AS i slaves 1...

Page 48: ...ended command channel Contents Extended command channel Length 2 18 word consistent inputs outputs if not used length 0 NOTE In some controllers larger consistent data fields cannot be processed in the direct I O address area special function calls are then required ...

Page 49: ... 1 21 AA fixed value start of the analogue output addresses 22 36 41 slaves 1 3 5 7 29 of master 1 2F bit 5 TRUE activates the extended diagnosis of the AS i system via Profibus DP 37 1F bit 4 TRUE activates the AS i parameter download 37 100 1F FF predefined parameters of the AS i slaves Slave addresses in the Profibus parameter bytes 6 20 and 22 36 Bit 7 6 5 4 3 2 1 0 MM X SSSSS Legend MM 2 bits...

Page 50: ...configuration tool of the Profibus DP master Example Siemens Step 7 Byte 37 Bit 5 TRUE If the parameter Extended Profibus Diag is set to Enabled the controllere transmits the extended diagnostic data described in the next section This data generates a DP request for a diagnosis in case of an error state in the controllere Therefore for a Siemens PLC OB82 must be programmed to react to this state o...

Page 51: ...or via the command channel Byte 37 Bit 4 TRUE 7 5 Finish set up System behaviour Define the system behaviour in the fieldbus configuration program e g watchdog etc Save the configuration Transfer the configuration to the DP master Start Start the DP master If there is communication on the fieldbus The menu Fieldbus Setup in the controllere successively shows the settings configured in the DP maste...

Page 52: ...Set up Finish set up 7 28 ...

Page 53: ... projected slave parameters default parameters 8 8 08 08 read LAS list of active slaves 8 9 09 09 read LDS list of detected slaves 8 11 10 0A read LPF list of slaves with periphery fault 8 12 11 0B read LPS list of projected slaves 8 13 12 0C reserved 13 0D read telegram error counter 8 14 14 0E read configuration error counter 8 15 15 0F read AS i cycle counter 8 16 16 10 change current slave par...

Page 54: ...7 error code page 7 20 table at the bottom 3 table at the bottom 4 table at the bottom master flags Byte Bit If bit D6 TRUE then 0 periphery of all connected slaves is ok no periphery fault 1 automatic addressing is enabled 2 exchange of data with the slaves is active 3 3 7 reserved 0 AS i configuration ok 1 a slave 0 is detected 2 automatic addressing is enabled 3 automatic addressing is active 4...

Page 55: ...2 MM 0 MM master no 1 2 3 0 protected mode 1 configuration mode not used 4 0 not used Response from controllere Bit Byte 7 6 5 4 3 2 1 0 1 D7 D6 02hex 2 copy of the request D6 command code D7 error code page 7 20 table at the bottom 3 copy of the request 4 0 not used IMPORTANT For the query read only the required bytes Unused bytes can contain information of previous queries ...

Page 56: ...ottom 3 extended ID code 2 extended ID code 1 4 ID code IO configuration Example read current slave configuration of slave 7B on AS i master 1 Request of DP master Byte no Value hex Description 1 03 03 command 3 2 67 slave no 7 master no 1 64 32 if B slave 103dec 67hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 03 copy of the request 2 67 copy of the requ...

Page 57: ...able at the bottom 3 extended ID code 2 extended ID code 1 4 ID code IO configuration Example Read projected slave configuration of slave 16 A on AS i master 1 Request of DP master Byte no Value hex Description 1 04 04 command 4 2 50 slave no 16 master no 1 64 32 if B slave 80dec 50hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 00 2 00 3 EF E extended ID ...

Page 58: ...llere Bit Byte 7 6 5 4 3 2 1 0 1 D7 D6 05hex 2 copy of the request D6 command code D7 error code page 7 20 table at the bottom 3 copy of the request 4 copy of the request Example change projected slave configuration of slave 1 A on master 2 Request of DP master Byte no Value hex Description 1 05 05 command 5 2 81 slave no 1 master no 2 64 32 if B slave 129dec 81hex 3 6F 6 extended ID code 2 F exte...

Page 59: ... 1 0 1 D7 D6 0 2 0 D6 command code D7 error code page 7 20 table at the bottom 3 projected parameter 4 current parameter Example Read slave parameter of slave 2 A on AS i master 1 Request of DP master Byte no Value hex Description 1 06 06 command 6 2 42 slave no 2 master no 1 64 32 if B slave 66dec 42hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 00 2 00 ...

Page 60: ...ected parameter 4 0 not used Response from controllere Bit Byte 7 6 5 4 3 2 1 0 1 D7 D6 0 2 0 D6 command code D7 error code page 7 20 table at the bottom 3 copy of the request 4 0 not used Example change projected slave parameters of slave 7B on AS i master 1 Request of DP master Byte no Value hex Description 1 07 07 command 7 2 87 slave no 7 master no 1 64 32 if B slave 135dec 87hex 3 0F projecte...

Page 61: ...19 A 18 A 17 A 16 A 3 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res 4 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B LAS and LPS have no slave 0 therefore this bit is set to 0 Structure Request of DP master Bit MM master no 1 2 Byte 7 6 5 4 3 2 1 0 1 0 0 08hex X slave type 0 1 0 standard A slave 1 B slave 2 MM X SSSSS SSSSS slave no 0 31dec 3 0 not used 4 0 not used Respo...

Page 62: ... 1 master no 1 64 32 if B slave 66dec 42hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 08 copy of the request 2 42 copy of the request 3 03hex 00000011bin table page 8 9 group 1 slave 8 A is active slave 9 A is active 4 FEhex 11111110bin table page 8 9 group 1 slaves 1 A to 7 A are active IMPORTANT For the query read only the required bytes Unused bytes c...

Page 63: ...2 0 D6 command code D7 error code page 7 20 table at the bottom 3 table page 8 9 4 table page 8 9 provides the addresses of the detected slaves in this address group Example Read LDS list of detected slaves of slave group 3 on AS i master 2 Request of DP master Byte no Value hex Description 1 09 09 command 9 2 A5 slave no 5 group 3 master no 2 64 32 if B slave 165dec A5hex 3 00 not used 4 00 not u...

Page 64: ... D6 command code D7 error code page 7 20 table at the bottom 3 table page 8 9 4 table page 8 9 provides the addresses of the slaves with periphery fault in this address group Example Read LPF list of slaves with periphery fault of slave group 2 on AS i master 1 Request of DP master Byte no Value hex Description 1 0A 0A command10 2 54 slave no 20 group 2 master no 1 64 32 if B slave 84dec 54hex 3 0...

Page 65: ...quest D6 command code D7 error code page 7 20 table at the bottom 3 table page 8 9 4 table page 8 9 provides the addresses of the projected slaves in this address group Example Read LPS list of projected slaves of slave group 2 on AS i master 1 Request of DP master Byte no Value hex Description 1 0B 0B command 11 2 54 slave no 20 group 2 master no 1 64 32 if B slave 84dec 54hex 3 00 not used 4 00 ...

Page 66: ...er low byte provides the number of errors during the exchange of data between the slave and the master since power on or reset Example read telegram error counter of slave 1 on AS i master 1 Request of DP master Byte no Value hex Description 1 0D 0D command 13 2 41 slave no 1 master no 1 64 32 if B slave 65dec 41hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Descriptio...

Page 67: ...error counter low byte provides the number of configuration errors of the master since power on or reset Example read configuration error counter on AS i master 2 Request of DP master Byte no Value hex Description 1 0E 0E command 14 2 80 master no 2 64 128dec 80hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 0E copy of the request 2 80 copy of the request ...

Page 68: ...s the number of AS i cycles of the master since power on Example Read AS i cycle counter of AS i master 1 Request of DP master Byte no Value hex Description 1 0F 0F command 15 2 40 master no 1 64 64dec 40hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 0F copy of the request 2 40 copy of the request 3 04 4 CA cycle counter 04CAhex 1226dec since the last pow...

Page 69: ...ode D7 error code page 7 20 table at the bottom 3 feedback value parameter feedback value can be different from preset value 4 0 not used Example Change slave parameter of slave 7 on AS i master 1 to the value F Request of DP master Byte no Value hex Description 1 10 10 command 16 2 47 slave no 7 master no 1 64 32 if B slave 71dec 47hex 3 0F preset value parameter 4 00 not used Response from contr...

Page 70: ...py of the request D6 command code D7 error code page 7 20 table at the bottom 3 status 4 0 not used Example Config all on AS i master 1 Request of DP master Byte no Value hex Description 1 13 13 command 19 2 40 master no 1 64 64dec 40hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 13 copy of the request 2 40 copy of the request 3 80 status 4 00 not used IM...

Page 71: ...copy of the request D6 command code D7 error code page 7 20 table at the bottom 3 0 not used 4 0 not used Example Save AS i configuration in flash for AS i master 1 Request of DP master Byte no Value hex Description 1 15 15 command 21 2 40 master no 1 64 64dec 40hex 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 15 copy of the request 2 40 copy of the request...

Page 72: ... 7 6 5 4 3 2 1 0 1 D7 D6 16hex 2 copy of the request D6 command code D7 error code page 7 20 table at the bottom 3 0 not used 4 0 not used Example reset telegram error counter of slave 7 A on AS i master 2 Request of DP master Byte no Value hex Description 1 16 16 command 22 2 87 slave no 7 master no 2 64 32 if B slave 135dec 87hex 3 00 not used 4 00 not used Response from controllere Byte no Valu...

Page 73: ...st D6 command code D7 error code page 7 20 table at the bottom 3 copy of the request 4 error message Error codes page 9 5 Example address slave 2B on AS i master 1 to 7B Request of DP master Byte no Value hex Description 1 17 17 command 23 2 62 slave no 2 master no 1 64 32 if B slave 98dec 62hex 3 07 new slave address 7B 4 00 not used Response from controllere in case of an error Byte no Value hex...

Page 74: ...e 3 0 reads the current status 01hex commands are carried out cyclically 4 0 commands are only carried out if the command number changes Response from controllere Bit Byte 7 6 5 4 3 2 1 0 1 D7 D6 3Ehex 2 0 D6 command code D7 error code page 7 20 table at the bottom 3 copy of the request 4 copy of the request Example Activate the operating mode continuous command Request of DP master Byte no Value ...

Page 75: ... 3Fhex D6 command code D7 error code page 7 20 table at the bottom 2 copy of the request 3 copy of the request 4 copy of the request Example no operation command Request of DP master Byte no Value hex Description 1 3F 3F command 63 2 00 not used 3 00 not used 4 00 not used Response from controllere Byte no Value hex Description 1 3F copy of the request 2 00 copy of the request 3 00 copy of the req...

Page 76: ...DP module 7 Command channel Module 7 command 63dec 3Fhex no operation command without function 8 24 ...

Page 77: ...ctivation of the slave reset when changing to the protected mode 9 29 31 1F one time execution of the Extended safety monitor protocol in the Safety at Work monitor 9 30 33 21 read the diagnosis string of an AS i slave with profile S 7 4 9 35 34 22 read the parameter string of an AS i slave with the profile S 7 4 9 37 35 23 write the parameter string of an AS i slave with the profile S 7 4 9 38 36...

Page 78: ...projected configuration of slaves 16 A 31 A 9 64 58 3A read projected configuration of slaves 1B 15B 9 65 59 3B read projected configuration of slaves 16B 31B 9 66 96 60 store data non volatilely in the flash memory of the controllere 9 67 97 61 carry out various settings in the controllere 9 68 102 66 read the status of controllere display 9 69 105 69 read the device properties of the controllere...

Page 79: ... slave addition of 20hex or 32dec to the slave address B Busy bit B 0 command executed response in the buffer is valid B 1 command in process channel is used E Error bit E 0 no error detected E 1 error occurred during execution of the command F Error bit F 0 no error detected during command execution 7 4 F 1 error occurred during command execution 7 4 L32 Number of parameter bytes 32dec L32 0 numb...

Page 80: ...ution If a command is to be executed several times the user ID must be changed accordingly e g by counting up Counting up should not take place until the preceding command has been completed bit D14 0 1st word bit 14 0 command executed response in the buffer is valid 1 command in process channel is used 1st word bit 15 0 no error detected 1 error occurred during command execution ...

Page 81: ...s for the S 7 4 protocol e g B slaves 0F AS i slave has completed the S 7 4 string 10 AS i S 7 4 no longer connected no longer in LAS 11 another S 7 4 transfer to the addressed AS i slave is already active 12 the previous segmented S 7 4 transfer was not completed 13 invalid S 7 4 data length 14 master is in the wrong operating mode or invalid S 7 4 command 16 timeout during command processing 17 ...

Page 82: ...xtended command 0 no execution of a command Request of DP master Word no Value hex Description 1 0800 08 user ID changes e g to 8 00 command number 0 2 18 0000 not used Response from controllere gateway Word no Value hex Description 1 0800 08 reflected user ID 8 00 reflected command number 0 2 18 0000 not changed ...

Page 83: ...escription 1 0901 M 0 AS i master 1 09 user ID changes e g to 9 01 command number 1 2 0000 reserved 3 0024 slave address 4B for B slaves bit 5 1 add 20hex to the address 4 000F parameter value to be written Response from controllere gateway in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 01hex 2 reserved 0 reserved 0 3 0 ...

Page 84: ...ode 4 18 ignored Legend page 9 3 Example Word no Value hex Description 1 8901 E 1 fault occurred during execution of the command M 0 AS i master 1 89 reflected user ID 9 01 reflected command number 1 2 0000 reserved 3 000A error code 0Ahex slave not in the LAS Possible error codes Value hex Description 01 no slave response or master is in the offline mode when calling the command 0A slave is not i...

Page 85: ...d number 03 hex 03 dec 2 18 not used Legend page 9 3 Example Word no Value hex Description 1 0C03 M 0 AS i master 1 0C user ID changes e g to 12 03 command number 3 2 18 0000 not used Response from controllere gateway in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 03hex 2 18 not changed Legend page 9 3 Example Word no Va...

Page 86: ...lected user ID reflected command number 03hex 2 reserved 0 3 0 error code Legend page 9 3 Example Word no Value hex Description 1 1C03 E 1 fault occurred during execution of the command M 0 AS i master 1 xC reflected user ID 12 03 reflected command number 3 2 0000 reserved 3 0014 error code 14hex master is in wrong operating mode Possible error codes Value hex Description 14 master is in the wrong...

Page 87: ... A 26 A 25 A 24 A 23 A 22 A 21 A 20 A 19 A 18 A 17 A 16 A 5 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res 6 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B 7 18 not used Legend page 9 3 Example Word no Value hex Description 1 0204 M 0 AS i master 1 02 user ID changes e g to 2 04 command number 4 2 0000 reserved 3 001E slaves 1 A to 5 A are to be projected 001Ehex 0000 0000...

Page 88: ...0000 not changed Response from controllere gateway in case of an error Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 1 B 0 M 0 1 reflected user ID reflected command number 04hex 2 reserved 0 3 0 error code 4 18 ignored Legend page 9 3 Example Word no Value hex Description 1 8204 E 1 fault occurred during execution of the command M 0 AS i master 1 82 reflected user ID 2 04 reflected command nu...

Page 89: ...mode of the AS i master Mod 0 activate protected mode Mod 1 activate configuration mode Example Word no Value hex Description 1 0105 M 0 AS i master 1 01 user ID changes e g to 1 05 command number 5 2 0000 reserved 0000 activate protected mode 3 0001 activate configuration mode Response from controllere gateway in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 refle...

Page 90: ...cted user ID reflected command number 05hex 2 reserved 0 reserved 0 3 0 error code 4 18 ignored Legend page 9 3 Example Word no Value hex Description 1 8105 E 1 fault occurred during execution of the command M 0 AS i master 1 01 reflected user ID 1 05 reflected command number 5 2 0000 reserved 3 0003 error code 03hex slave with the address 0 connected Possible error codes Value hex Description 03 ...

Page 91: ...t used Legend page 9 3 Example Word no Value hex Description 1 0806 M 0 AS i master 1 08 user ID changes e g to 8 06 command number 6 2 0000 reserved 3 0029 old slave address 9B for B slaves bit 5 1 add 20hex to the address 4 000B new slave address 11A Response from controllere gateway in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected com...

Page 92: ...ted command number 6 2 0000 reserved 3 0003 error code 03hex slave with the address 0 connected Possible error codes Value hex Description 01 no slave response or master is in the offline mode when calling the command 02 no slave with the old address found 03 slave with address 0 connected 04 no slave with the new address found 05 error when deleting the old address 06 error when reading the IO co...

Page 93: ...when changing over to the protected mode Mod 1 no offline phase when changing over to the protected mode Example Word no Value hex Description 1 0407 M 0 AS i master 1 04 user ID changes e g to 4 07 command number 7 2 0000 reserved 0000 automatic addressing deactivated 3 0001 automatic addressing possible Response from controllere gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M ...

Page 94: ...8 not used Legend page 9 3 Example Word no Value hex Description 1 0F09 M 0 AS i master 1 0F user ID changes e g to 15 09 command number 9 2 0000 reserved 3 0011 slave address 17 A 11hex for B slaves bit 5 1 add 20hex to the address 4 0008 new extended ID code 1 8 Response from controllere gateway in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID r...

Page 95: ...ccurred during execution of the command M 0 AS i master 1 8F reflected user ID 15 09 reflected command number 9 2 0000 reserved 3 0007 error code 07hex error when writing the new address or the extended ID code 1 here slave does not support the extended ID code 1 Possible error codes Value hex Description 01 no slave response or master is in the offline mode when calling the command 02 no slave wi...

Page 96: ...3 V3 O2 V2 O1 V1 O0 V0 8 output data AS i slave 2 A channel 0 9 output data AS i slave 2 A channel 1 10 output data AS i slave 2 channel 2 or output data AS i slave 2B channel 0 11 output data AS i slave 2 channel 3 or output data AS i slave 2B channel 1 12 reserved 0 O3 V3 O2 V2 O1 V1 O0 V0 13 output data AS i slave 3 A channel 0 14 output data AS i slave 3 A channel 1 15 output data AS i slave 3...

Page 97: ...annel 3 7 0055 overflow and valid bits for AS i slave 1 55hex 0101 0101bin O3 0 V3 1 O2 0 V2 1 O1 0 V1 1 O0 0 V0 1 8 2009 output data AS i slave 2 channel 0 9 2202 output data AS i slave 2 channel 1 10 0195 output data AS i slave 2 channel 2 11 1022 output data AS i slave 2 channel 3 12 0055 overflow and valid bits for AS i slave 2 55hex 0101 0101bin O3 0 V3 1 O2 0 V2 1 O1 0 V1 1 O0 0 V0 1 13 3339...

Page 98: ...slave 3 A channel 0 14 input data or reflected output data AS i slave 3 A channel 1 15 input data or reflected output data AS i slave 3 channel 2 or input data or reflected output data AS i slave 3B channel 0 16 input data or reflected output data AS i slave 3 channel 3 or input data or reflected output data AS i slave 3B channel 1 17 TIB TOB TIA TOA TVB OVB TVA OVA O3 V3 O2 V2 O1 V1 O0 V0 18 not ...

Page 99: ...ut data AS i slave 1 channel 0 4 2202 input data AS i slave 1 channel 1 5 1395 input data AS i slave 1 channel 2 6 0033 input data AS i slave 1 channel 3 7 0255 overflow and valid bits for AS i slave 1 0255hex 0000 0010 0101 0101bin TVA 1 OVA 0 O3 0 V3 1 O2 0 V2 1 O1 0 V1 1 O0 0 V0 1 8 2229 slave 2 is a 2 channel input slave input data AS i slave 2 channel 0 9 2332 input data AS i slave 2 channel ...

Page 100: ...ta transfer directly to from 3 AS i slaves in each case 9 24 Assignment command numbers 10 20 slave addresses Command number Decimal Hexa decimal Slaves 10 0A 1 2 3 11 0B 4 5 6 12 0C 7 8 9 13 0D 10 11 12 14 0E 13 14 15 15 0F 16 17 18 16 10 19 20 21 17 11 22 23 24 18 12 25 26 27 19 13 28 29 30 20 14 31 ...

Page 101: ... reflected user ID reflected command number 15hex 2 TG R slave address 0 R R number of data bytes to be received 3 I O 2D DT Start DT Count Mux field E type 4 number of parameters to be read EDT Read reserved Diag reserved 5 EDT Write reserved number of parameters to be written 6 device specific information manufacturer identification 7 16 device specific information device specific information 17...

Page 102: ...mitted values 0 1 0 diagnostic character string is not supported 1 diagnostic character string is supported EDT Write reserved for later profiles number of parameters to be written number of bytes which can be written as parameter character string length 8 bits permitted values 0 219dec 0 no parameter character string readable 1 219dec number of bytes manufacturer identification defined manufactur...

Page 103: ... execution M 0 AS i master 1 x2 reflected user ID 2 15 reflected command number 21 2 0000 reserved 3 0014 error code 14hex master in wrong operating mode here master is not in the normal mode Possible error codes Value hex Description 0C faulty S 7 4 protocol sequence 0D S 7 4 protocol aborted timeout 0E invalid AS i slave address for the S 7 4 protocol e g B slaves 0F AS i slave has completed the...

Page 104: ...tion 1 131A M 0 AS i master 1 13 user ID changes e g to 19 1A command number 26 Response from controllere gateway Word no Value hex Description 1 131A M 0 AS i master 1 13 reflected user ID 19 1A reflected command number 26 2 0000 reserved 0100 controllere with 1 master 3 0200 controllere with 2 masters 4 0000 place before the decimal point of the version 5 237A place after the decimal point of th...

Page 105: ... when changing over to the protected mode Mod 0 YES slave reset Mod 1 NO no slave reset Example Word no Value hex Description 1 041C M 0 AS i master 1 04 user ID changes e g to 4 1C command number 28 2 0000 reserved 0000 offline phase when changing over to the protected mode 3 0001 no offline phase when changing over to the protected mode Response from controllere gateway Bit Word 15 14 13 12 11 1...

Page 106: ... 11 10 9 8 7 6 5 4 3 2 1 0 1 0 0 0 user ID command number 1Fhex 31dec 2 reserved 0 reserved 0 3 sub command 0 0 0 slave address 4 16 not used 17 field number data length 18 not used Legend page 9 3 Example Word no Value hex Description 1 071F 07 user ID changes e g to 07 1F command number 31 2 0000 reserved 3 001E 00 sub command 00 one time execution of the Extended safety monitor protocol in the ...

Page 107: ...cuit 1 2nd module address output circuit 1 8 3rd colour output circuit 1 3rd module address output circuit 1 9 4th colour output circuit 1 4th module address output circuit 1 10 5th colour output circuit 1 5th module address output circuit 1 11 6th colour output circuit 1 6th module address output circuit 1 12 1st colour output circuit 2 1st module address output circuit 2 13 2nd colour output cir...

Page 108: ... OK 0 0 0 1 0 0 0 1 protective operation output circuit 1 off 0 0 1 0 0 0 1 0 protective operation output circuit 2 off 0 0 1 1 0 0 1 1 protective operation both output circuits off 0 1 0 0 0 1 0 0 configuration operation power on 0 1 0 1 0 1 0 1 configuration operation 0 1 1 0 0 1 1 0 not reserved not defined 0 1 1 1 0 1 1 1 configuration operation fatal device error RESET or replacement of devic...

Page 109: ...s closed 5 0000 both output circuits green 6 17 xxxx not relevant because 5th word 0000 18 0100 field number 1 Example Safety at work monitor has switched Word no Value hex Description 1 071F 07 reflected user ID 7 1F reflected command number 31 2 0000 reserved 3 001E 00 reflected sub command 0 1E AS i slave address 30 4 0211 0xxx output circuit 2 green x2xx output circuit 1 red word 5 xx11 protec...

Page 110: ...d page 9 3 Example Word no Value hex Description 1 871F E 1 error during command execution 07 reflected user ID 7 1F reflected command number 31 2 0000 reserved 3 0011 error code 11hex no slave with the profile S 7 F F Possible error codes Value hex Description 00 02 general errors during command processing 0A 0C internal protocol error 10 sub command invalid 11 no slave with the profile S 7 F F o...

Page 111: ... Request of DP master Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 R S 0 1 M 0 1 user ID command number 21 hex 33 dec 2 reserved 0 reserved 0 3 R R R slave address R R R data length 4 18 not used Legend page 9 3 and Data length 5 bits for data length 1 31dec bytes ID data Example Word no Value hex Description 1 0721 command only requests 1 data packet M 0 AS i master 1 07 user ID changes e g t...

Page 112: ...ng 29 diagnostic character string 28 18 reserved Legend page 9 3 Example Word no Value hex Description 1 0721 M 0 AS i master 1 07 reflected user ID 7 21 reflected command number 33 2 0608 or 8608 x6 slave address 3 shifted 1 bit to the left 3 2 6 08 8 bytes ID data The most significant bit TG changes depending on the version 3 2D01 1st word of the diagnostic character string of slave 3 4 0203 2nd...

Page 113: ...llere gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 S 0 1 M 0 1 reflected user ID reflected command number 21hex 2 TG R slave address F 0 R R number of bytes to be received 3 parameter character string 1 parameter character string 0 4 16 parameter character string 2 27 17 parameter character string 29 parameter character string 28 18 reserved Legend page 9 3 Example Word no Value he...

Page 114: ...c 2 R R R slave address R R number of bytes to be sent 3 parameter character string 1 parameter character string 0 4 11 parameter character strings 2 17 12 parameter character string 19 parameter character string 18 13 18 not used Legend page 9 3 Example Word no Value hex Description 1 0923 command only requests 1 data packet M 0 AS i master 1 09 user ID changes e g to 9 23 command number 35 2 030...

Page 115: ...data transfer completed M 0 AS i master 1 x9 reflected user ID 9 23 reflected command number 35 2 0604 or 8604 06 slave address shifted by 1 bit to the left 3 2 6 04 4 bytes ID data to be sent the most significant bit TG changes after each execution 3 18 0000 not changed NOTE The number of bytes to be sent must be divisible by 2 since the system always transmits only multiples of 2 bytes in the S7...

Page 116: ...mand number 24 hex 36 dec 2 R R A B 0 1 slave address reserved 0 3 number of bytes to be read Index 4 18 not used Legend page 9 3 and Index Pointer to the page to be read Length 1 byte Permitted values 0 255dec 0 FFhex Description data sheet of the addressed CTT2 slave Number of bytes to be read Number of bytes to be read Length 1 byte Permitted values 1 32dec 01 20hex Description data sheet of th...

Page 117: ...te 30 Legend page 9 3 NOTE The high byte in the 18th word contains the number of parameter bytes read as long as the number is 32 L32 0 If the length is equal to 32 maximum possible length the bit L32 is set and the high byte in the 18th word contains the 32nd parameter byte Example Word no Value hex Description 1 0424 E 0 no error detected M 0 AS i master 1 04 reflected user ID 4 24 reflected com...

Page 118: ... 4 18 ignored Legend page 9 3 Example Word no Value hex Description 1 8424 E 1 error during command execution M 0 AS i master 1 x4 reflected user ID changes e g to 4 24 reflected command number 36 2 0000 reserved 3 0016 error code 16hex timeout during command processing 4 18 0000 ignored Possible error codes Value hex Description 16 timeout during command processing 17 wrong slave profile or slave...

Page 119: ...nd page 9 3 Example Word no Value hex Description 1 8424 E 1 error during command execution M 0 AS i master 1 x4 reflected user ID changes e g to 24 reflected command number 36 2 0100 or 8100 F 1 error during command execution the most significant bit TG changes after each execution 3 01E1 CTT2 error code 01 invalid index data sheet of the AS i slave error code E1 error detected by AS i slave CTT2...

Page 120: ...ber of bytes to be sent Index 4 16 parameter byte 1 parameter byte 0 17 parameter bytes 2 27 18 parameter byte 29 parameter byte 28 Legend page 9 3 and Index Pointer to the page to be read Length 1 byte Permitted values 0 255dec 0 FFhex Description data sheet of the addressed CTT2 slave number of bytes to be sent number of bytes to be sent Length 1 byte Permitted values 1 30dec 01 1Ehex Descriptio...

Page 121: ...fter each execution Response from controllere gateway in case of an error error detected by AS i master Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 1 B 0 M 0 1 reflected user ID reflected command number 25hex 2 reserved 0 reserved 0 3 0 error code 4 18 ignored Example Word no Value hex Description 1 8525 E 1 error during command execution M 0 AS i master 1 05 reflected user ID changes e g t...

Page 122: ...gend page 9 3 Example Word no Value hex Description 1 8525 E 1 error during command execution M 0 AS i master 1 05 reflected user ID changes e g to 5 25 reflected command number 37 2 0100 or 8100 F 1 error during command execution the most significant bit TG changes after each execution 3 01E1 CTT2 error code 01 invalid index data sheet of the AS i slave error code E1 error detected by AS i slave ...

Page 123: ... M 0 1 user ID command number 26 hex 38 dec 2 R R A B 0 1 slave address reserved 0 3 number of bytes to be read Index 4 18 not used Legend page 9 3 and Index Pointer to the page to be read Length 1 byte Permitted values 0 255dec 0 FFhex Description data sheet of the addressed CTT2 slave Number of bytes to be read Number of bytes to be read Length 1 byte Permitted values 1 32dec 01 20hex Descriptio...

Page 124: ...er byte 30 Legend page 9 3 NOTE The high byte in the 18th word contains the number of parameter bytes read as long as the number is 32 L32 0 If the length is 32 maximum possible length the bit L32 is set and the high byte in the 18th word contains the 32nd parameter byte Example Word no Value hex Description 1 0626 E 0 no error detected M 0 AS i master 1 06 reflected user ID changes e g to 6 26 re...

Page 125: ...3 0 error code 4 18 not used Legend page 9 3 Example Word no Value hex Description 1 8626 E 1 error during command execution M 0 AS i master 1 06 reflected user ID changes e g to 6 26 reflected command number 38 2 0000 reserved 3 0016 error code 16hex timeout during command processing Possible error codes Value hex Description 16 timeout during command processing 17 wrong slave profile or slave no...

Page 126: ...red Legend page 9 3 Example Word no Value hex Description 1 8626 E 1 error during command execution M 0 AS i master 1 06 reflected user ID changes e g to 6 26 reflected command number 38 2 0100 or 8100 F 1 error during command execution the most significant bit TG changes after each execution 3 01E1 CTT2 error code 01 invalid index data sheet of the AS i slave error code E1 error detected by AS i ...

Page 127: ...served 0 3 number of bytes to be sent Index 4 parameter byte 1 parameter byte 0 5 17 parameter bytes 2 27 18 parameter byte 29 parameter byte 28 Legend page 9 3 and Index Pointer to the page to be read Length 1 byte Permitted values 0 255dec 0 FFhex Description data sheet of the addressed CTT2 slave Number of bytes to be sent Number of bytes to be sent Length 1 byte Permitted values 1 30dec 01 1Eh...

Page 128: ...he normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 S 0 1 M 0 1 reflected user ID reflected command number 27hex 2 TG 0 reserved F 0 reserved 3 18 not changed Legend page 9 3 Example Word no Value hex Description 1 0727 E 0 no error detected M 0 AS i master 1 07 reflected user ID changes e g to 7 27 reflected command number 39 2 0000 or 8000 the most significant bit TG changes afte...

Page 129: ...3 0 error code 4 18 not changed Legend page 9 3 Example Word no Value hex Description 1 876B E 1 error during command execution M 0 AS i master 1 07 reflected user ID changes e g to 7 27 reflected command number 39 2 0000 reserved 3 0016 error code 16hex timeout during command processing Possible error codes Value hex Description 16 timeout during command processing 17 wrong slave profile or slave...

Page 130: ...hanged Legend page 9 3 Example Word no Value hex Description 1 076B E 1 error during command execution M 0 AS i master 1 07 reflected user ID changes e g to 7 27 reflected command number 39 2 0100 or 8100 F 1 error during command execution the most significant bit TG changes after each execution 3 01E1 CTT2 error code 01 invalid index data sheet of the AS i slave error code E1 error detected by AS...

Page 131: ...ere gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 32hex 2 reserved 0 reserved FFhex 3 Slave 0 A ID2 Slave 0 A ID1 Slave 0 A ID code Slave 0 A IO config 4 Slave 1 A ID2 Slave 1 A ID1 Slave 1 A ID code Slave 1 A IO config 5 17 18 Slave 15 A ID2 Slave 15 A ID1 Slave 15 A ID code Slave 15 A IO config Legend page 9 3 Example Word no Va...

Page 132: ...gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 33hex 2 reserved 0 reserved FFhex 3 Slave 16 A ID2 Slave 16 A ID1 Slave 16 A ID code Slave 16 A IO config 4 Slave 17 A ID2 Slave 17 A ID1 Slave 17 A ID code Slave 17 A IO config 5 17 18 Slave 31 A ID2 Slave 31 A ID1 Slave 31 A ID code Slave 31 A IO config Legend page 9 3 Example Word n...

Page 133: ...m controllere gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 34hex 2 reserved 0 reserved FFhex 3 not used FFhex not used FFhex 4 Slave 1B ID2 Slave 1B ID1 Slave 1B ID code Slave 1B IO config 5 Slave 2B ID2 Slave 2B ID1 Slave 2B ID code Slave 2B IO config 6 17 18 Slave 15B ID2 Slave 15B ID1 Slave 15B ID code Slave 15B IO config Lege...

Page 134: ...ere gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 35hex 2 reserved 0 reserved FFhex 3 Slave 16B ID2 Slave 16B ID1 Slave 16B ID code Slave 16B IO config 4 Slave 17B ID2 Slave 17B ID1 Slave 17B ID code Slave 17B IO config 5 17 18 Slave 31B ID2 Slave 31B ID1 Slave 31B ID code Slave 31B IO config Legend page 9 3 Example Word no Value ...

Page 135: ...ule 12 extended command 54dec 36hex read current parameters of the connected AS i slaves Request of DP master Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 R R M 0 1 user ID command number 36hex 54dec 2 18 not used Legend page 9 3 Example Word no Value hex Description 1 0636 M 0 AS i master 1 06 user ID changes e g to 6 36 command number 54 ...

Page 136: ...ave 3B Param Slave 2B 12 Param Slave 9B Param Slave 8B Param Slave 7B Param Slave 6B 13 Param Slave 13B Param Slave 12B Param Slave 11B Param Slave 10B 14 Param Slave 17B Param Slave 16B Param Slave 15B Param Slave 14B 15 Param Slave 21B Param Slave 20B Param Slave 19B Param Slave 18B 16 Param Slave 25B Param Slave 24B Param Slave 23B Param Slave 22B 17 Param Slave 29B Param Slave 28B Param Slave ...

Page 137: ...3B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res 6 LAS 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B 7 15 A 14 A 13 A 12 A 11 A 10 A 9 A 8 A 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 A 8 31 A 30 A 29 A 28 A 27 A 26 A 25 A 24 A 23 A 22 A 21 A 20 A 19 A 18 A 17 A 16 A 9 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res 10 LDS 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B 11...

Page 138: ... A to 31 A here slaves 16 A and 31 A are detected 9 0102 LDS slaves 0B to 15B here slaves 1B and 8B are detected 10 8001 LDS slaves 16B to 31B here slaves 16B and 31B are detected 11 0102 LPF slaves 0 A to 15 A here periphery fault of slaves 1 A and 8 A 12 8001 LPF slaves 16 A to 31 A here periphery fault of slaves 16 A and 31 A 13 0102 LPF slaves 0B to 15B here periphery fault of slaves 1B and 8B...

Page 139: ... Response from controllere gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 38hex 2 reserved 0 reserved FFhex 3 not used FFhex not FFhex 4 Slave 1 A ID2 Slave 1 A ID1 Slave 1 A ID code Slave 1 A IO config 5 17 18 Slave 15 A ID2 Slave 15 A ID1 Slave 15 A ID code Slave 15 A IO config Legend page 9 3 Example Word no Value hex Descriptio...

Page 140: ...d 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 39hex 2 reserved 0 reserved FFhex 3 Slave 16 A ID2 Slave 16 A ID1 Slave 16 A ID code Slave 16 A IO config 4 Slave 17 A ID2 Slave 17 A ID1 Slave 17 A ID code Slave 17 A IO config 5 17 18 Slave 31 A ID2 Slave 31 A ID1 Slave 31 A ID code Slave 31 A IO config Legend page 9 3 Example Word no Value hex Des...

Page 141: ... gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 3Ahex 2 reserved 0 reserved FFhex 3 not used FFhex not used FFhex 4 Slave 1B ID2 Slave 1B ID1 Slave 1B ID code Slave 1B IO config 5 Slave 2B ID2 Slave 2B ID1 Slave 2B ID code Slave 2B IO config 6 17 18 Slave 15B ID2 Slave 15B ID1 Slave 15B ID code Slave 15B IO config Legend page 9 3 E...

Page 142: ...it Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 M 0 1 reflected user ID reflected command number 3Bhex 2 reserved 0 reserved FFhex 3 Slave 16B ID2 Slave 16B ID1 Slave 16B ID code Slave 16B IO config 4 Slave 17B ID2 Slave 17B ID1 Slave 17B ID code Slave 17B IO config 5 17 18 Slave 31B ID2 Slave 31B ID1 Slave 31B ID code Slave 31B IO config Legend page 9 3 Example Word no Value hex Descripti...

Page 143: ... Description 1 0965 09 user ID changes e g to 9 60 command number 96 2 0000 reserved 3 0002 area number 02 save the configuration of AS i master 1 non volatilely 03 save the configuration of AS i master 2 non volatilely Response from controllere gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 R reflected user ID reflected command number 60hex 2 reserved 0 reserved 0 3 0 reflected ...

Page 144: ...o 8 61 command number 97 2 0000 reserved 3 0010 command number 10hex changes the operating mode of the PLC corresponding parameters word 4 Further command numbers 12hex reset all slave error counters 13hex reset configuration error counter 14hex reset AS i cycle error counter 4 0002 Parameters here for command number 10 0000hex activates the gateway mode 0001hex stops the PLC 0002hex sets the oper...

Page 145: ... 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 R R R user ID command number 66hex 102dec 2 reserved 0 reserved 0 3 0 command number 01hex 4 parameters according to command number 5 18 not used Legend page 9 3 Example Word no Value hex Description 1 0766 07 user ID changes e g to 7 66 command number 102 2 0000 reserved 3 0001 command number here 01 retrieves the display status further command numbers 02 ...

Page 146: ...e by adding the values 00A0 system menu is active 00A1 user menu is active 00AE process error display is active E10 E30 4 active menu area 00AF system error display is active acknowledgement required 0000 no process error 5 process error occurred 0001 process error occurred 6 currently displayed menu screen xxxx number of the current menu screen 0000 display of menus in English 7 activated system ...

Page 147: ...6 user ID changes e g to 6 69 command number 105 Response from controllere gateway Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 E 0 B 0 R reflected user ID reflected command number 69hex 2 reserved 0 reserved 0 3 2M DP EN reserved PLC mode 4 0 fieldbus type 5 0 flash memory type 6 hardware version 7 RTS firmware version number 8 RTS firmware release number 9 AS i master 1 firmware version numb...

Page 148: ...cted command number 105 2 0000 reserved 3 4008 40hex 0100 0000bin 2M 0 with one AS i master DP 1 Profibus DP controllere EN 0 without Ethernet programming interface PLC mode 08hex gateway signal preprocessing is not used 4 000B 0B fieldbus interface ifm Profibus DP used 5 0002 flash memory type 6 1000 hardware version 7 0002 1 st part of the RTS firmware number 02 218B RTS firmware version number ...

Page 149: ...tes for all data fields when access is made via slot 0 and index In case of a data length of 0 the entire length of the slot is returned An error code is not returned in case of length 0 So the M1 master flags can only be read in conjunction with the M1 digital inputs In case of access via slot 0 index 10 the projected parameters PP can only be written in conjunction with the projected configurati...

Page 150: ...block to the master 10 3 Services for acyclic data transfer between DPM2 master and slave The connection oriented data transfer is carried out via an MS2 connection This is established by DPM2 prior to start of the acyclic data transfer by means of the service Initiate Then the connection can be used for the services Read and Write Termination of the connection is carried out accordingly A slave c...

Page 151: ... error counter r 62 IW31 176 IW31 237 156 157 M1 configuration error counter r 1 IW31 238 6 158 159 M1 AS i cycle counter r 1 IW31 239 0 63 M1 digital slave outputs r w 32 QB1 1 QB1 31 QB11 1 QB11 31 7 64 67 M1 reserved 2 8 0 149 M1 analogue slave outputs r w 75 QW21 1 0 QW21 15 4 9 0 159 M1 analogue slave outputs r w 80 QW21 16 0 QW21 31 4 0 127 M1 projected configuration data r w 64 QW31 0 QW31 ...

Page 152: ... configuration data r w 64 QW32 0 QW32 63 26 128 159 M2 projected parameters r w 16 27 0 37 M2 command channel request r w 19 28 0 37 M2 command channel response r 19 32 0 127 Input data of the fieldbus r w 64 IW0 0 IW0 63 33 0 127 Output data to the fieldbus r 64 QW0 0 QW0 63 34 0 127 Extended data to the controllere PLC r w 64 IW4 0 IW4 63 35 0 127 Extended data to the controllere PLC r w 64 IW4...

Page 153: ...quest Received data DPV1 slave Slot Index Length Data field Data length bytes 0 7 2 M1 digital slave outputs QB1 1 QB1 2 2 0 8 10 M1 analogue slave outputs QW21 1 0 QW21 1 5 10 0 11 12 M1 command channel request 12 10 6 DPV1 error messages 10 6 1 DPV1 error code application Error byte 1 hex Description A0 Read error A1 Write error A2 Module failure A8 Version conflict A9 Feature not supported AA U...

Page 154: ... 4 DPV1 error codes application specific Error byte 2 hex Description 0 Reserved 1 Reserved 2 Reserved 3 Reserved 10 6 5 DPV1 function 58 Reason codes Reason code hex Description 10 11 Sequence error 12 Invalid request PDU received 13 Timeout of the connection 14 Invalid response PDU received 15 Invalid service from USER 16 Send_Timeout requested was too small 17 Invalid additional address informa...

Page 155: ...file S 7 5 5 S 7 A 5 or S B A 5 available from master profile M4 onwards 11 38 37 25 acyclic standard write call of an AS i slave with CTT2 profile S 7 5 5 S 7 A 5 or S B A 5 available from master profile M4 onwards 11 42 38 26 acyclic manufacturer specific read call of an AS i slave with CTT2 profile S 7 5 5 S 7 A 5 or S B A 5 available from master profile M4 onwards 11 45 39 27 acyclic manufactu...

Page 156: ...responds then in the input data area of the host system 11 2 Syntax Request of DPV1 master Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 user ID command request 2 reserved for string transfers command number 3 18 command data 19 0 NOTE If a command is to be executed the value 65hex must be entered in the command request Changing the command number does not start the execution If a command is to...

Page 157: ...command executed response in the buffer is valid B 1 command in process channel is used E Error bit E 0 no error detected E 1 fault occurred during execution of the command F Error bit F 0 no error detected during command execution 7 4 F 1 fault occurred during command execution 7 4 L32 Number of parameter bytes 32dec L32 0 number of bytes to be sent 32dec L32 1 number of bytes to be sent 32dec Le...

Page 158: ...3 Example Word no Value hex Description 1 0365 03 user ID changes e g to 3 65 command request 2 0000 00 command number 0 3 18 0000 not used Response from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 reserved reflected command number 00hex 3 19 ignored ignored Example Word no Value hex Description 1 036F 03 reflected user ID change...

Page 159: ... 7 6 5 4 3 2 1 0 1 user ID command request 65hex 2 0 command number 01 hex 1 dec 3 ignored A B AS i slave address 4 ignored parameter value to be written 5 19 ignored Legend page 11 3 Example Word no Value hex Description 1 0965 09 user ID changes e g to 9 65 command request 2 0001 01 command number 1 3 0024 slave address 4B for B slave addition of 20hex or 32dec to the slave address 4 0003 parame...

Page 160: ... parameter value read back might differ from the value to be written Response from controllere DPV1 slave in case of an error Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Bhex 2 ignored reflected command number 01hex 3 00 error code Example Word no Value hex Description 1 096B 09 reflected user ID changes e g to 9 6B error during command execution 2 0001 01 re...

Page 161: ... hex 3 dec 3 19 ignored Legend page 11 3 Example Word no Value hex Description 1 0C65 0C user ID changes e g to 12 65 command request 2 0003 03 command number 3 3 18 0000 not used Response from controllere DPV1 slave in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 03hex 3 19 ignored Example Word no Value hex D...

Page 162: ... 1 reflected user ID command status 6Bhex 2 00 reflected command number 03hex 3 00 error code 4 19 ignored Example Word no Value hex Description 1 0C6B 0C reflected user ID changes e g to 12 6B error during command execution 2 0003 03 reflected command number 3 3 0014 error code 14hex master is not in the normal mode 4 18 0000 not changed Possible error codes Error code Name Description 14 IC mast...

Page 163: ... 16B 7 17 ignored 18 19 reserved Legend page 11 3 Example Word no Value hex Description 1 0265 02 user ID changes e g to 2 65 command request 2 0004 04 command number 4 3 003E 003E hex 0000 0000 0011 1110bin slaves 1 A to 5 A are to be projected 4 8000 8000hex 1000 0000 0000 0000bin slave 31 A is to be projected 5 0002 0002hex 0000 0000 0000 0010bin slave 1B is to be projected 6 0001 0001hex 0000 ...

Page 164: ... reflected user ID command status 6Bhex 2 00 reflected command number 04hex 3 ignored error code Example Word no Value hex Description 1 026B 02 reflected user ID changes e g to 2 6B error during command execution 2 0004 04 reflected command number 4 3 0014 error code 14hex master not in the configuration mode Possible error codes Error code Name Description 14 IC master is not in the configuratio...

Page 165: ...ed Legend page 11 3 Example Word no Value hex Description 1 0165 01 user ID changes e g to 1 65 command request 2 0005 05 command number 5 3 0001 operating mode 00 activate protected mode 01 activate configuration mode Response from controllere DPV1 slave in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 05hex E...

Page 166: ... 1 0 1 reflected user ID command status 6Bhex 2 00 reflected command number 05hex 3 ignored error code Example Word no Value hex Description 1 016B 01 reflected user ID changes e g to 1 6B error during command execution 2 0005 05 reflected command number 5 3 0003 error code 03hex slave with address 0 connected Possible error codes Error code Name Description 03 SD0 slave with address 0 connected ...

Page 167: ...end page 11 3 Example Word no Value hex Description 1 0865 08 user ID changes e g to 8 65 command request 2 0006 06 command number 6 3 0029 old slave address 9B B slave addition of 20hex or 32dec to the slave address 4 000B new slave address 11A Response from controllere DPV1 slave in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 refle...

Page 168: ...3 0003 error code 03hex slave with address 0 connected Possible error codes Error code Name Description 01 NOK no slave response or master is in the offline mode when calling the command 02 SND no slave with the old address found 03 SD0 slave with address 0 connected 04 SD2 no slave with the new address found 05 DE error when deleting the old address 06 RE error when reading the IO configuration 0...

Page 169: ...4 17 ignored 18 19 reserved Legend page 11 3 Example Word no Value hex Description 1 0465 04 user ID changes e g to 4 65 command request 2 0007 07 command number 7 3 0001 automatic addressing 00 is deactivated 01 is possible Response from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 07hex Example Word n...

Page 170: ...xtended ID code 1 5 17 ignored 18 19 reserved Legend page 11 3 Example Word no Value hex Description 1 0F65 0F user ID changes e g to 15 65 command request 2 0009 09 command number 9 3 0011 11 slave address 17 A 4 0008 new Extended ID code 1 8 Response from controllere DPV1 slave in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflect...

Page 171: ...B 0F reflected user ID changes e g to 15 6B error during command execution 2 0009 09 reflected command number 9 3 0007 error code 07hex slave does not support the extended ID code Possible error codes Error code Name Description 01 NOK no slave response or master is in the offline mode when calling the command 02 SND no slave with the address found 03 SD0 slave with address 0 connected 07 SE error...

Page 172: ...V0 8 output data AS i slave 2 A channel 0 9 output data AS i slave 2 A channel 1 10 output data AS i slave 2 channel 2 or output data AS i slave 2B channel 0 11 output data AS i slave 2 channel 3 or output data AS i slave 2B channel 1 12 00 O3 V3 O2 V2 O1 V1 O0 V0 13 output data AS i slave 3 A channel 0 14 output data AS i slave 3 A channel 1 15 output data AS i slave 3 channel 2 or output data AS...

Page 173: ...nd valid bits for AS i slave 1 55hex 0101 0101bin O3 0 V3 1 O2 0 V2 1 O1 0 V1 1 O0 0 V0 1 8 2009 output data AS i slave 2 channel 0 9 2202 output data AS i slave 2 channel 1 10 0195 output data AS i slave 2 channel 2 11 1022 output data AS i slave 2 channel 3 12 0055 overflow and valid bits for AS i slave 2 55hex 0101 0101bin O3 0 V3 1 O2 0 V2 1 O1 0 V1 1 O0 0 V0 1 13 3339 output data AS i slave 3...

Page 174: ... AS i slave 3 A channel 0 14 input data or reflected output data AS i slave 3 A channel 1 15 input data or reflected output data AS i slave 3 channel 2 or input data or reflected output data AS i slave 3B channel 0 16 input data or reflected output data AS i slave 3 channel 3 or input data or reflected output data AS i slave 3B channel 1 17 TIB TOB TIA TOA TVB OVB TVA OVA O3 V3 O2 V2 O1 V1 O0 V0 L...

Page 175: ...e sends input data as bit pattern 16 bit length without sign TOA TOB TOx 0 slave receives output data as value 15 bit length with sign TOx 1 slave receives output data as bit pattern 16 bit length without sign for A slave or standard slave for B slave DPV1 command number decimal hexadecimal slaves 10 0A 1 2 3 11 0B 4 5 6 12 0C 7 8 9 13 0D 10 11 12 14 0E 13 14 15 15 0F 16 17 18 16 10 19 20 21 17 11...

Page 176: ...0000 0010 0101 0101bin TVA 1 OVA 0 O3 0 V3 1 O2 0 V2 1 O1 0 V1 1 O0 0 V0 1 8 2229 slave 2 is a 2 channel input slave input data AS i slave 2 channel 0 9 2332 input data AS i slave 2 channel 1 10 7FFF no valid value for channel 2 11 7FFF no valid value for channel 3 12 0205 overflow and valid bits for AS i slave 2 0205hex 0000 0010 0000 0101bin TVA 1 OVA 0 O3 0 V3 0 O2 0 V2 0 O1 0 V1 1 O0 0 V0 1 13...

Page 177: ...ed user ID command status 6Fhex 2 TG S AS i slave address F reflected command number 15hex 3 I O 2D DT Start DT Count Mux field E type 4 number of parameters to be read EDT Read reserved Diag reserved 5 EDT Write reserved number of parameters to be written 6 device specific information manufacturer identification 7 16 device specific information device specific information 18 reserved number of by...

Page 178: ...art triple information for the driver in the master DT Count Number of data triples information for the driver in the master EDT Read Reserved for later profiles EDT Write Reserved for later profiles Diag Slave supports the 7 4 diagnosis string Length 1 bit Permitted values 0 1 Description 0 diagnosis string is not supported 1 diagnosis string is supported Manufacturer identification Defined manuf...

Page 179: ...2 6B error during command execution 2 0015 15 reflected command number 21 3 0014 error code 14hex master is not in the normal mode Possible error codes Value hex Description 0C faulty S 7 4 protocol sequence 0D S 7 4 protocol aborted timeout 0E invalid AS i slave address for the S 7 4 protocol e g B slaves 0F AS i slave has completed the S 7 4 string 10 AS i S 7 4 no longer connected no longer in ...

Page 180: ...t offline phase 4 19 ignored Legend page 11 3 Example Word no Value hex Description 1 0465 04 user ID changes e g to 4 65 command request 2 001C 1C command number 28 3 0001 offline phase when changing over to the protected mode 00 YES slave reset 01 NO no slave reset Response from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 re...

Page 181: ... Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 user ID command request 65hex 2 00 command number 1Fhex 31dec 3 sub command 0 0 0 AS i slave address 1 31dec 4 17 see sub command 18 field number 00 01 data length 00 Legend page 11 3 Example Word no Value hex Description 1 0765 07 user ID changes e g to 7 65 command request 2 001F 1F command number 31 3 001E sub command 00hex one time execution of the...

Page 182: ... circuit 1 2nd module address output circuit 1 8 3rd colour output circuit 1 3rd module address output circuit 1 9 4th colour output circuit 1 4th module address output circuit 1 10 5th colour output circuit 1 5th module address output circuit 1 11 6th colour output circuit 1 6th module address output circuit 1 12 1st colour output circuit 2 1st module address output circuit 2 13 2nd colour output...

Page 183: ... 0 0 1 0 0 0 1 protective operation output circuit 1 off 0 0 1 0 0 0 1 0 protective operation output circuit 2 off 0 0 1 1 0 0 1 1 protective operation both output circuits off 0 1 0 0 0 1 0 0 configuration operation power on 0 1 0 1 0 1 0 1 configuration operation 0 1 1 0 0 1 1 0 not reserved not defined 0 1 1 1 0 1 1 1 configuration operation fatal device error RESET or replacement of devices re...

Page 184: ...h output circuits green 6 17 xxxx not relevant because 5th word 0000 18 0100 field number 1 Example Safety at work monitor has switched Word no Value hex Description 1 076F 07 reflected user ID 7 6F command status is ready no fault 2 001F 1F reflected command number 31 3 001E 00 reflected sub command 0 1E AS i slave address 30 4 0211 0xxx output circuit 2 green x2xx output circuit 1 red xx11 prote...

Page 185: ... Value hex Description 1 076B 07 reflected user ID 7 6B error during command execution 2 001F 1F reflected command number 31 3 0011 error code 11hex no slave with the profile S 7 F F Possible error codes Value hex Description 00 02 general errors during command processing 0A 0C internal protocol error 10 sub command invalid 11 no slave with the profile S 7 F F on the slave address 16 the protocol ...

Page 186: ... Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 user ID command request 65hex 2 reserved 0 AS i slave address command number 21hex 33dec 3 17 ignored 18 field number 00 01 number of bytes to be read Legend page 11 3 and field number Example Word no Value hex Description 1 0765 07 user ID changes e g to 7 65 command request 2 0321 slave address 3 A 21 command number 33 3 17 0000 reserved 18 08 field ...

Page 187: ... received Legend page 11 3 NOTE The control bytes defined in profile 7 4 with follow byte and valid byte are filtered out by the system Example Word no Value hex Description 1 076F 07 reflected user ID 7 6F command status is ready no fault 2 0621 or 8621 S 0 last sequence 06hex 0000 01102 slave address 3 A 21hex reflected command number 33dec the most significant bit TG changes after each executio...

Page 188: ...d number Example Word no Value hex Description 1 0865 08 user ID changes e g to 8 65 command request 2 0322 03 slave address 3 22 command number 34 3 17 0000 reserved 18 04 field number 04 read 4 bytes parameter data Response from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 TG S AS i slave address F reflected command number 22hex...

Page 189: ...on 1 086F 08 reflected user ID 8 6F command status is ready no fault 2 0622 or 8622 06hex 0000 01102 slave address 3 A 22hex reflected command number 34dec the most significant bit TG changes after each execution 3 1234 1st word of the parameter string of slave 3 A 4 5678 2nd word of the parameter string of slave 3 A 18 0004 4 byte parameter string was read ...

Page 190: ... command number 23hex 35dec 3 parameter string 1 parameter string 0 4 16 parameter strings 2 27 17 parameter string 29 parameter string 28 18 field number 00 01 number of bytes to be sent rest is ignored Legend page 11 3 and field number Example Word no Value hex Description 1 0965 09 user ID changes e g to 9 65 command request 2 0323 03 slave address 3 A 23 command number 35 3 1AF4 1st word of th...

Page 191: ... by 2 since the system always transmits only multiples of 2 bytes in the S7 4 protocol The control bytes defined in profile 7 4 with follow bit and valid bit are automatically added by the system Therefore without segmentation this command is limited to 20 bytes of parameter data Larger data volumes must be divided into several segments Example Word no Value hex Description 1 096F 09 reflected use...

Page 192: ...A B AS i slave address command number 24hex 36dec 3 number of bytes to be read index 4 17 ignored 18 19 reserved Legend page 11 3 and Index Pointer to the page to be read Length 1 byte Permitted values 0 255dec 0 FFhex Description Data sheet of the addressed CTT2 slaves Number of bytes to be read Number of bytes to be read Length 1 byte Permitted values 1 32dec 01 20hex Description Data sheet of t...

Page 193: ...rameter byte 30 Legend page 11 3 NOTE The high byte in the 18th word contains the number of parameter bytes read as long as the number is 32 L32 0 If the length is 32 maximum possible length the bit L32 is set and the high byte in the 18th word contains the 32nd parameter byte Example Word no Value hex Description 1 046F 04 reflected user ID 4 6F command status is ready no fault 2 0024 or 8024 L32...

Page 194: ...end page 11 3 Example Word no Value hex Description 1 046B 04 reflected user ID 4 6B error during command execution 2 0024 or 8024 24 reflected command number 36 the most significant bit TG changes after each execution 3 0016 error code 16hex timeout during command processing Possible error codes Value hex Description 16 timeout during command processing 17 wrong slave profile or slave not in LAS ...

Page 195: ...end page 11 3 Example Word no Value hex Description 1 046B 04 reflected user ID 4 6B error during command execution 2 0124 or 8124 F 1 error during command execution 24 reflected command number 36 the most significant bit TG changes after each execution 3 01E1 CTT2 error code 01hex invalid index data sheet of the AS i slave error code E1hex error detected by AS i slave CTT2 error Possible CTT2 err...

Page 196: ...tes to be sent index 4 parameter byte 1 parameter byte 0 5 17 parameter bytes 2 27 18 parameter byte 29 parameter byte 28 19 reserved Legend page 11 3 and Index Pointer to the page to be read Length 1 byte Permitted values 0 255dec 0 FFhex Description Data sheet of the addressed CTT2 slave Number of bytes to be sent Number of bytes to be sent Length 1 byte Permitted values 1 30dec 01 1Ehex Descrip...

Page 197: ...1 slave in case of an error error detected by AS i master Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Bhex 2 TG reserved reflected command number 25hex 3 00 error code Legend page 11 3 Example Word no Value hex Description 1 056B 05 reflected user ID 5 6B error during command execution 2 0025 or 8025 25 reflected command number 37 the most significant bit TG ...

Page 198: ...gend page 11 3 Example Word no Value hex Description 1 056B 05 reflected user ID 5 6B error during command execution 2 0125 or 8125 x1 error during command execution 25 reflected command number 37 the most significant bit TG changes after each execution 3 01E1 CTT2 error code01hex invalid index data sheet of the AS i slave error code E1hex error detected by AS i slave CTT2 error Possible CTT2 erro...

Page 199: ...65hex 2 reserved 0 A B AS i slave address command number 26hex 38dec 3 number of bytes to be read index 4 17 ignored 18 19 reserved Legend page 11 3 and Index Pointer to the page to be read Length 1 byte Permitted values 0 255dec 0 FFhex Description Data sheet of the addressed CTT2 slave Number of bytes to be read Number of bytes to be read Length 1 byte Permitted values 1 32dec 01 20hex Descripti...

Page 200: ...eter byte 30 Legend page 11 3 NOTE The high byte in the 18th word contains the number of parameter bytes read as long as the number is 32 L32 0 If the length is 32 maximum possible length the bit L32 is set and the high byte in the 18th word contains the 32nd parameter byte Example Word no Value hex Description 1 066F 06 reflected user ID 6 6F command status is ready no fault 2 0026 or 8026 0xhex ...

Page 201: ...e Legend page 11 3 Example Word no Value hex Description 1 066B 06 reflected user ID 6 6B error during command execution 2 0026 or 8026 26 reflected command number 38 the most significant bit TG changes after each execution 3 0016 error code 16hex timeout during command processing Possible error codes Value hex Description 16 timeout during command processing 17 wrong slave profile or slave not in...

Page 202: ...de E1hex Legend page 11 3 Example Word no Value hex Description 1 066B 06 user ID 6 6B error during command execution 2 0126 or 8126 x1 error during command execution 26 reflected command number 38 the most significant bit TG changes after each execution 3 01E1 CTT2 error code 01hex invalid index data sheet of the AS i slave error code E1hex error detected by AS i slave CTT2 error Possible CTT2 er...

Page 203: ... command number 27hex 39dec 3 number of bytes to be sent index 4 parameter byte 0 parameter byte 1 5 17 parameter bytes 2 27 18 parameter byte 28 parameter byte 29 19 reserved Legend page 11 3 and Index Pointer to the page to be read Length 1 byte Permitted values 0 255dec 0 FFhex Description Data sheet of the addressed CTT2 slave Number of bytes to be sent Number of bytes to be sent Length 1 byte...

Page 204: ...ontrollere DPV1 slave in the normal case Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 TG 0 reserved F 0 reflected command number 27hex Legend page 11 3 Example Word no Value hex Description 1 076F 07 reflected user ID 7 6F command status is ready no fault 2 0027 or 8027 27 reflected command number 39 the most significant bit TG changes after each execut...

Page 205: ... 3 00 error code Legend page 11 3 Example Word no Value hex Description 1 076B 07 reflected user ID 7 6B error during command execution 2 0027 or 8027 27 reflected command number 39 the most significant bit TG changes after each execution 3 0016 error code 16 timeout during command processing Possible error codes Value hex Description 16 timeout during command processing 17 wrong slave profile or ...

Page 206: ...or code error code E1hex Legend page 11 3 Example Word no Value hex Description 1 076B 07 reflected user ID 7 6B error during command execution 2 0127 or 8127 x1 error during command execution 27 reflected command number the most significant bit TG changes after each execution 3 01E1 error code 01 invalid index data sheet of the AS i slave error code E1 error detected by AS i slave CTT2 error Poss...

Page 207: ...e from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 32hex 3 slave0 A ID2 slave0 A ID1 slave0 A ID code slave0 A IO conf 4 slave1 A ID2 slave1 A ID1 Slave1 A ID code Slave1 A IO conf 5 17 18 slave15 A ID2 slave15 A ID1 slave15 A ID code slave15 A IO conf Example Word no Value hex Description 1 026F 02 re...

Page 208: ...rom controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 33hex 3 slave16 A ID2 slave16 A ID1 slave16 A ID code Slave16 A IO conf 4 slave17 A ID2 slave17 A ID1 slave17 A ID code slave17 A IO conf 5 17 18 slave31 A ID2 slave31 A ID1 slave31 A ID code slave31 A IO conf Example Word no Value hex Description 1 026F ...

Page 209: ...esponse from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 34hex 3 slave1B ID2 slave1B ID1 slave1B ID code slave1B IO conf 4 slave2B ID2 slave2B ID1 slave2B ID code slave2B IO conf 5 16 17 slave15B ID2 slave15B ID1 slave15B ID code slave15B IO conf Example Word no Value hex Description 1 026F 02 reflecte...

Page 210: ...se from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 35hex 3 slave16B ID2 slave16B ID1 slave16B ID code slave16B IO conf 4 slave17B ID2 slave17B ID1 slave17B ID code slave17B IO conf 5 17 18 slave31B ID2 slave31B ID1 slave31B ID code slave31B IO conf Example Word no Value hex Description 1 026F 02 refle...

Page 211: ...current parameters of a connected AS i slave Request of DPV1 master Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 user ID command request 65hex 2 00 command number 36hex 54dec 3 17 ignored 18 19 reserved Legend page 11 3 Example Word no Value hex Description 1 0665 06 user ID changes e g to 6 65 command request 2 0036 36 command number 54 ...

Page 212: ...ve30 A parameters slave29 A 11 parameters slave5B parameters slave4B parameters slave3B parameters slave2B 12 parameters slave9B parameters slave8B parameters slave7B parameters slave6B 13 parameters slave13B parameters slave12B parameters slave11B parameters slave10B 14 parameters slave17B parameters slave16B parameters slave15B parameters slave14B 15 parameters slave21B parameters slave20B param...

Page 213: ...B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res 6 LAS 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B 7 15 A 14 A 13 A 12 A 11 A 10 A 9 A 8 A 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 A 8 31 A 30 A 29 A 28 A 27 A 26 A 25 A 24 A 23 A 22 A 21 A 20 A 19 A 18 A 17 A 16 A 9 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res 10 LDS 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B...

Page 214: ...n slaves 16 A and 31 A are detected 9 0102 LDS slaves 1B to 15B 0102hex 0000 0001 0000 0010bin slaves 1B and 8B are detected 10 8001 LDS slaves 16B to 31B 8001hex 1000 0000 0000 0001bin slaves 16B and 31B are detected 11 0100 LPF slaves 0 to 15 A 0100hex 0000 0001 0000 0000bin periphery fault on slave 8 A signalled 12 0001 LPF slaves 16 A to 31 A periphery fault on slave 16 A signalled 13 0002 LPF...

Page 215: ...ommand number 56 Response from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 38hex 3 Fhex Fhex Fhex Fhex 4 slave1 A ID2 slave1 A ID1 slave1 A ID code slave1 A IO conf 5 17 18 slave15 A ID2 slave15 A ID1 slave15 A ID code slave15 A IO conf Example Word no Value hex Description 1 026F 02 reflected user ID ...

Page 216: ... from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 39hex 3 slave16 A ID2 slave16 A ID1 slave16 A ID code slave16 A IO conf 4 slave17 A ID2 slave17 A ID1 slave17 A ID code slave17 A IO conf 5 17 18 slave31 A ID2 slave31 A ID1 slave31 A ID code slave31 A IO conf Example Word no Value hex Description 1 026...

Page 217: ...003A 3A command number 58 Response from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 3Ahex 3 Fhex Fhex Fhex Fhex 4 slave1B ID2 slave1B ID1 slave1B ID code slave1B IO conf 5 17 18 slave15B ID2 slave15B ID1 slave15B ID code slave15B IO conf Example Word no Value hex Description 1 026F 02 reflected user ID...

Page 218: ...ponse from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 3Bhex 3 slave16B ID2 slave16B ID1 slave16B ID code slave16B IO conf 4 slave17B ID2 slave17B ID1 slave17B ID code slave17B IO conf 5 17 18 slave31B ID2 slave31B ID1 slave31B ID code slave31B IO conf Example Word no Value hex Description 1 026F 02 re...

Page 219: ...ption 1 0965 09 user ID changes e g to 9 65 command request 2 0060 60 command number 96 3 0002 area number 02 save the configuration of AS i master 1 non volatilely 03 save the configuration of AS i master 2 non volatilely Response from controllere DPV1 slave Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 reflected user ID command status 6Fhex 2 00 reflected command number 60hex 3 00 area number...

Page 220: ... 97 3 0010 Command number 10 changes the operating mode of the PLC corresponding parameters word 4 Further command numbers 12 reset all slave error counters 13 reset the configuration error counter 14 reset AS i cycle error counter 4 0002 Parameters here for command number 10 0000 activates the gateway mode 0001 stops the PLC 0002 sets the operation mode of the PLC to RUN Response from controllere...

Page 221: ...1 10 9 8 7 6 5 4 3 2 1 0 1 user ID command request 65hex 2 00 command number 66hex 102dec 3 00 command number 4 n parameter s according to command number Legend page 11 3 Example Word no Value hex Description 1 0765 07 user ID changes e g to 7 65 command request 2 0066 66 command number 102 3 0001 command number here 01 retrieves the display status further command numbers 02 jump to menu screen 0 ...

Page 222: ...00A0 system menu is active 00A1 user menu is active 00AE process error display is active E10 E30 active menu area 00AF system error display is active acknowledgement required 0000 no process error process error occurred 0001 process error occurred currently displayed menu screen xxxx number of the current menu screen 0000 display of menus in English activated system language 0001 display of menus ...

Page 223: ...the device properties of the controllere Request of DPV1 master Bit Word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 user ID command request 65hex 2 00 command number 69hex 105dec 3 17 ignored 18 19 reserved Legend page 11 3 Example Word no Value hex Description 1 0665 06 user ID changes e g to 6 65 command request 2 0069 69 command number 105 ...

Page 224: ... 11 AS i master 2 firmware version number 12 AS i master 2 firmware release number 13 Linux kernel version 14 Linux ramdisk version 15 18 00 Legend page 11 3 and 0 device with 1 AS i master 2M 1 device with 2 AS i masters 0 fieldbus interface Profibus DP V1 not available DP 1 fieldbus interface Profibus DP is available 0 device without Ethernet programming interface EN 1 device without Ethernet pr...

Page 225: ...0 hardware version 7 0002 1st part of the RTS firmware number 02 218B RTS firmware version number 02 8 218B 2nd part of the RTS firmware number 02 218B RTS firmware release number 218B 9 0000 1st part of the firmware number 0 238A for AS i master 1 AS i master 1 firmware version number 0 10 238A 2nd part of the firmware number 0 238A for AS i master 1 AS i master 1 firmware release number 238A 11 ...

Page 226: ...The DPV1 command channel DPV1 command 105dec 69hex read the device properties of the controllere 11 72 ...

Page 227: ... to 0 default the extended diagnosis contains the current system states If short time faults are to be detected as well the controllere can be prompted via bit 4 to store the error states This storage is reset by bit 5 or by switching off the controllere This means if bit 4 is set and a configuration error occurs with a slave the corresponding bit in the extended device diagnosis remains set even ...

Page 228: ...anufacturer ID low byte D8hex standard diagnosis 6 length of the extended diagnosis 38hex 7 status type status manufacturer specific 8 slot number 04hex 9 0 header of the extended diagnosis 10 11 master flags 12 19 LDS list of detected slaves 20 27 configuration error 28 35 LPF list of periphery faults diagnosis AS i master 1 A and B slaves 36 37 master flags 38 45 LDS list of detected slaves 46 5...

Page 229: ...ine no AS i slave detected PF AS i periphery fault APF AS i voltage fault Sl0 AS i slave with address 0 detected ProjM AS i master in the operating mode projecting WdRS232 watchdog triggered by the interface RS 232C of the controllere Format of the slave lists Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 A 15 A 14 A 13 A 12 A 11 A 10 A 9 A 8 A 23 A 22 A 21 A 20 A 1...

Page 230: ...ldbus Setup or menu Fieldbus Setup The first variant is described below Menu Fieldbus Setup Choose address OK M ME EN NU U 0 U US SE ER R 1 Press MENU Quick Setup PLC Setup Slave Lists O OK K 1 E ES SC C 2 Select Quick Setup with OK Slave Info Config all Fieldbus Setup O OK K 27 E ES SC C 3 Scroll to Fieldbus Setup with Slave Info Config all Fieldbus Setup O OK K 27 E ES SC C 4 Select Fieldbus Set...

Page 231: ... SC C 5 Display of the first enabled Profibus slave address 0 2 reserved 3 127 first to last Profibus slave address Press to scroll to the requested slave address in the Profibus Fieldbus Address 3 O OK K 87 E ES SC C 6 Press OK to select the requested Profibus slave address Continuation in the next chapter ...

Page 232: ...d for digital inputs in the fieldbus master of single or A slaves on AS i master 1 Press OK to scroll to the next display OR ESC to return to screen 87 Fieldbus Address Digital outputs Master 1 A 16 O OK K 100 E ES SC C 9 Here display that 16 bytes in the fieldbus master were configured for digital outputs in the fieldbus master of single or A slaves on AS i master 1 Press OK to scroll to the next...

Page 233: ... outputs Master 1 B 16 O OK K 104 E ES SC C 13 Here display that 16 bytes in the fieldbus master were configured for digital outputs in the fieldbus master of B slaves on AS i master 1 Press OK to scroll to the next display OR ESC to return to screen 87 Fieldbus Address Digital inputs Master 2 B 16 O OK K 105 E ES SC C 14 Here display that 16 bytes in the fieldbus master were configured for digita...

Page 234: ...dress Fieldbus Data Command channel 4 O OK K 109 E ES SC C 18 Here display that 4 bytes in the fieldbus master were configured for the fieldbus data command channel Press OK to scroll to the next display OR ESC to return to screen 87 Fieldbus Address Fieldbus Data PLC input 8 O OK K 110 E ES SC C 19 Here display that 8 bytes in the fieldbus master were configured for fieldbus data PLC inputs in th...

Page 235: ...e outputs in the fieldbus master on AS i master 1 Press OK to scroll to the next display OR ESC to return to screen 87 Fieldbus Address Analog input Master 2 0 O OK K 114 E ES SC C 23 Here data not used for Profibus Press OK to scroll to the next display OR ESC to return to screen 87 Fieldbus Address Analog output Master 2 0 O OK K 115 E ES SC C 24 Here data not used for Profibus Press OK to scrol...

Page 236: ...splay OR ESC to return to screen 87 Fieldbus Address Digital Inputs Master 1 A 0 O OK K 99 E ES SC C 27 Repetition of the display series step 8 Press OK to scroll to the next display OR ESC to return to screen 87 Fieldbus Address Fieldbus Address 3 O OK K 87 E ES SC C 28 Press ESC twice to return to the start screen 12 4 Store system parameters Basic device manual ...

Page 237: ...parate basic instructions of the device manual 13 2 Profibus DP interface Baud rate 9 6 KBaud to 12 MBaud Connection SUB D 9 socket with LED for error indication The fieldbus master and the controllere negotiate the baud rate at power on The fieldbus master determines the value ...

Page 238: ...Technical data Profibus DP interface 13 2 ...

Page 239: ...Troubleshooting List of errors 14 1 14 Troubleshooting Basic functions separate basic instructions of the device manual 14 1 List of errors Errors Cause s Remedy ...

Page 240: ... no longer executed Following indications in the TFR register provides details concerning the error cause TFR Register D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 NMI STKOF STKUF UNDOPC PRTFLT ILLOPA ILLINA ILLBUS Bit Name Possible error source NMI non maskable interrupt hardware STKOF stack overflow PLC program hardware STKUF stack underflow PLC program hardware UNDOPC unknown machine c...

Page 241: ...al data transfer of several participants on the same cable CAN CAN Controller Area Network CAN is a priority controlled fieldbus system for larger data volumes It is available in different variants e g CANopen CAN in Automation CiA or DeviceNet CAN can be used e g as a supplier for AS i over larger distances Corresponding gateways are available CoDeSys CoDeSys for Automation Alliance associates co...

Page 242: ...ting system The firmware establishes the connection between the hardware of the device and the user software Gateway Coupler Gateways enable connection of completely different systems Gateways are used when two incompatible network types are to be connected by converting the protocol of one system to the protocol of the other system Here connection between AS i and higher level fieldbus systems su...

Page 243: ...cides on the bus access time and polls the slaves cyclically Master slave communication AS i strictly operates to the master slave principle The master polls all slaves one after the other in always the same order Only one master per network line is allowed cyclic polling MBd Baud DPV1 The DPV1 protocol is a communication protocol based on a master slave architecture and was generated by Modicon i...

Page 244: ...e cycle time can be extended to 10 ms Profibus Fieldbus system for larger data volumes it requires special cables complex connection technology It is available in different variants as Profibus FMS DP or PA The Profibus DP can be used as a supplier for AS i over greater distances Corresponding gateways are available Profibus FMS Profibus FMS Fieldbus Message Specification for networking of control...

Page 245: ...tected so that its voltages do not exceed a safe value in case of correct operation of the power supply or in case of a single fault of the power supply SELV circuits are separated from the input voltage mains voltage by double or enhanced insulation The voltage value must not exceed 60 V DC or 42 4 V AC Single slave Slave whose address number may only occur once on the master Slave Passive partic...

Page 246: ...Terms abbreviations 15 6 ...

Page 247: ... Fieldbus 5 1 15 2 Parameter reading 12 6 Setup 6 2 Firmware 1 2 15 2 Functional earth 15 2 Gateway 15 2 GSD 15 2 GSD file 7 2 Hardware errors 14 2 Host 15 2 ID 15 2 IP address 15 2 Jitter 15 2 LAS 15 2 LDS 15 3 LED 5 2 15 3 LFS 15 3 LPS 15 3 MAC ID 15 3 Main menu 6 1 Marginalia 15 3 Master 15 3 Master flags 12 3 Master slave principle 15 3 MBd 15 1 Menu 6 1 Menu tree 6 1 Modbus 15 3 Modbus comman...

Page 248: ...Index 16 2 System Save parameters 12 10 Target 15 5 TFR Register 14 2 Troubleshooting 14 1 Watchdog 15 5 ...

Reviews: