Siemens SIMATIC NET CP 142-2 Скачать руководство пользователя страница 1

SIMATIC NET

CP 142-2

Manual

1

Introduction

2

Technical Description and Installation Instructions

3

Standard Operation

4

Extended Operation

5

Replacing a Defective Slave / Automatic Address Programming

6

Error Indicators / Dealing with Errors

7

PROFIBUS DP Configuration When Using the
BM141/BM142

A

AS-Interface Protocol Implementation
Conformance Statement (PICS)

B

References

C Abbreviations

C79000-G8976-C111

Release 02

SIMATIC NET is a trademark of Siemens
Siemens Aktiengesellschaft

Содержание SIMATIC NET CP 142-2

Страница 1: ... Replacing a Defective Slave Automatic Address Programming 6 Error Indicators Dealing with Errors 7 PROFIBUS DP Configuration When Using the BM141 BM142 A AS Interface Protocol Implementation Conformance Statement PICS B References C Abbreviations C79000 G8976 C111 Release 02 SIMATIC NET is a trademark of Siemens Siemens Aktiengesellschaft ...

Страница 2: ...he reproduction transmission or use of this document or its contents is not permitted without express written authority Offenders will be liable for damages All rights including rights created by patent grant or registration of a utility or design are reserved C79000 G8976 C111 Copyright Siemens AG 1997 All Rights Reserved Nous avons vérifié la conformité du contenu du présent manuel avec le matér...

Страница 3: ...SIMATIC NET CP 142 2 Manual C79000 B8976 C111 02 ...

Страница 4: ...heed warnings may result in serious physical injury and or material damage Only appropriately qualified personnel may operate this equipment or work in its vicinity Personnel must be familiar with all warnings and maintenance measures in accordance with these operating instructions Correct and safe operation of this equipment requires proper transport storage and assembly as well as careful operat...

Страница 5: ...essing the CP 142 2 3 1 3 1 1 Addressing using the BM141 BM142 3 1 3 1 2 Addressing when using the BM147 3 1 3 2 How the User Program Addresses the AS i Slaves 3 2 3 2 1 Addressing AS i User Data 3 2 3 2 2 Accessing the AS i User Data BM141 BM142 3 4 3 2 3 Access to the AS i User Data BM147 3 5 3 3 Diagnostics and Reaction to Interrupts on the CP 142 2 3 6 3 3 1 Diagnostics and Reaction to Interru...

Страница 6: ... Read Lists and Flags Get_LPS Get_LAS Get_LDS Get_Flags 4 17 4 2 1 17 Read Total Configuration 4 19 4 2 1 18 Configure Total System 4 21 4 2 1 19 Write Parameter List 4 24 4 2 1 20 Read Parameter Echo List 4 25 4 2 1 21 Read Version ID 4 26 4 2 1 22 Read and Reset Slave Status 4 27 4 2 1 23 Read Slave ID 4 28 4 2 1 24 Read Slave I O 4 28 5 Replacing a Defective Slave Automatic Address Programming ...

Страница 7: ...ion This manual contains general information about the AS Interface generally referred to as AS i in this manual You want to install and start up the CP 142 2 Chapter 2 Section 2 1 Overview of the Module and Chapter 3 Standard Operation of the CP 142 2 contain the information you require You want to know how to program the CP 142 2 Read Chapters 3 and 4 you want to create a PLC program for standar...

Страница 8: ...ion with FC ASI_3422 Chapter 4 describes the extended operation of the CP 142 2 that requires the FC ASI_3422 in the control program In this type of operation the AS i slaves can be assigned parameters or the slave addresses can be modified by the S7 program This mode is only possible with the BM147 Chapter 5 Replacing a Defective Slave Automatic Address Programming Chapter 5 explains how to repla...

Страница 9: ...1 02 AS i Master Module CP 142 2 1 3 1 1 2 General Information for the Reader General symbols in the text This symbol indicates an action for you to perform This symbol highlights special features and dangers ...

Страница 10: ...2 2 1 4 1 1 3 Requirements for Understanding the Manual To fully understand the manual you should already be familiar with the following The manual AS Interface Introduction and Basic Information The manual ET 200X Distributed I O System ...

Страница 11: ... in our catalog IK 10 on the Internet http www ad siemens de Frequently Asked Questions Our customer support on the Internet provides useful information and answers to frequently asked questions FAQ Under FAQ you will find information about our entire range of products The address of the A D home page in the World Wide Web of the Internet is as follows http www ad siemens de net Hotline Our hotlin...

Страница 12: ... Insert or remove modules only when the power is turned off Noise immunity grounding To ensure the noise immunity of the CP 142 2 the ET 200X distributed I O system and the AS i power supply unit must be correctly grounded The CP 142 2 cannot be operated with all variants of the basic modules of the ET 200X distributed I O system Please read the accompanying Product Information The AS i power supp...

Страница 13: ... Active or passive AS Interface application module Binary sensors and actuators with slave ASIC Active AS i appl module with slave ASIC PROFIBUS DP master PROFIBUS PROFIBUS ET 200X CP 142 2 Round cable Passive AS i application module w ithout slave A SIC Actuator or sensor with direct connection AS i cable adapter Slave ASIC AS i pow er supply unit Figure 2 1 Use of the Master Module CP 142 2 in t...

Страница 14: ...tput bytes Power supply for the CP 142 2 via electronics sensor power supply of the ET 200X DC 24 V Current consumption from electronics sensor power supply max 60 mA Load voltage of the ET 200X not required for the CP 142 2 Power supply from the AS i cable Current consumption from the AS i cable according to the AS i specification max 100 mA Type of protection IP65 IP66 IP67 with the cover of the...

Страница 15: ...le to the M12 connection and screw this directly to the connector on the CP 142 2 Follow the instructions in the installation guide shipped with the adapter Remember the following point The AS Interface adapter M12 is often the end of an AS i chain In this case insert the rubber stopper in the open end of the adapter as explained in the installation guide Before you screw the AS Interface adapter ...

Страница 16: ... When laying the AS i cable make sure that there is adequate strain relief particularly at the end connected to the CP 142 2 The product information bulletin contains ordering data for the AS Interface adapter M12 Figur e 2 3 Connecting the CP 142 2 to the AS i Cable via a Round Cable Make sure that you do not cross thread the socket when you screw it on to the module otherwise the thread of the c...

Страница 17: ...splay The meaning of the lower five LEDs depends on the status of the group display as follows If no LED is lit in the group display the lower five 5 LEDs indicate the status of the CP 142 2 status display of the CP 142 2 The label to left of the LEDs then applies The default display is the status display If one or more of the LEDs in the group display are it the lower five LEDs indicate the slave...

Страница 18: ... in the following situations when a configured AS i slave does not exist on the AS i cable for example slave failed when a slave exists on the AS i cable but it has not been configured when a connected slave has configuration data I O configuration ID code that are different from those of the slave configured on the CP 142 2 briefly when changing to the protected mode When the CP is in the offline...

Страница 19: ...all active slaves Failed or existing but unconfigured slaves are indicated by the corresponding LED flashing The module returns to the status display in the following situations After you have displayed the last group slave 30 31 and pressed the SET DISPLAY button If the SET DISPLAY button is not pressed for a longer period approximately 10 minutes Example 1 Display showing that slaves with addres...

Страница 20: ...ed using a ball point pen or a similar thin blunt instrument 2 1 4 5 Slots Permitted for the CP 142 2 in the ET 200X Distributed I O Station The CP 142 2 can be operated in any slot in the ET 200X distributed I O station The number of CP 142 2 modules that can be operated at the same time in the ET 200X distributed I O station depends on the basic module being used With the BM141 and BM142 basic m...

Страница 21: ...i slaves Configured means that the slave addresses stored on the CP 142 2 and the configuration data stored on the CP 142 2 match the values of the existing AS i slaves Steps in configuration 1 Change the CP 142 2 to the Status Display mode with the SET DISPLAY press the SET DISPLAY briefly all group LEDs go off 2 Check that the CP 142 2 is in the Configuration Mode state CM LED lit If the CP 142 ...

Страница 22: ...ifference between the two types of operation is as follows Standard operation In this type of operation the CP 142 2 behaves like a conventional analog input output module Four input and four output bits are reserved in the controller for each slave on the AS i cable In standard operation no commands or special parameters can be transferred to the slaves on the AS i cable This type of operation co...

Страница 23: ...2 2 is addressed depends mainly on the basic module you are using 3 1 1 Addressing using the BM141 BM142 From the point of view of the PROFIBUS DP master the CP 142 2 occupies 16 input bytes and 16 output bytes How these bytes are addressed depends on the PROFIBUS DP master you are using and the configuration tool For more detailed information refer to 4 and the manuals for your PROFIBUS DP master...

Страница 24: ...t or output data depend on the configuration of the PROFIBUS DP master When using the CP with the BM147 the start addresses depend on the slot of the CP see Section 3 1 2 The values m and n are then always the same Assignment of the input data of the slaves Byte Number Bits 7 4 Bits 3 0 m 0 Reserved for FC ASI_3422 Slave 1 Bit 3 Bit 2 Bit 1 Bit 0 m 1 Slave 2 Slave 3 m 2 Slave 4 Slave 5 m 3 Slave 6...

Страница 25: ...5 n 8 Slave 16 Slave 17 n 9 Slave 18 Slave 19 n 10 Slave 20 Slave 21 n 11 Slave 22 Slave 23 n 12 Slave 24 Slave 25 n 13 Slave 26 Slave 27 n 14 Slave 28 Slave 29 n 15 Slave 30 Bit 3 Bit 2 Bit 1 Bit 0 Slave 31 Bit 3 Bit 2 Bit 1 Bit 0 n start address of the output data The first four input bits first nibble are reserved for using FC ASI_3422 If no FC is used these bits change approximately every 2 5 ...

Страница 26: ... 1 Bit 2 Bit 3 Slave 2 Bit 0 Bit 1 Bit 2 Bit 3 Bit 0 Bit 1 Bit 2 Bit 3 Slave 4 Bit 0 Bit 1 Bit 2 Bit 3 Slave 30 Bit 0 Bit 1 Bit 2 Bit 3 Slave 31 7 6 5 4 3 2 1 0 Bit 0 Bit 1 Bit 2 Bit 3 Output byte Slave 1 reserved Slave 31 271 Slave 3 4I module 2I 2O module 4O module 4I 4O module Figure 3 1 Mapping the Slave Addresses on the I O Addresses In the diagram above the 2I 2O module two inputs and two ou...

Страница 27: ...0 Incorrect L PIW 257 If you want to access individual bits of the slave data you can use the method shown in the following sample program for a CP with start address 256 OPEN DB 20 open a data block 1 at program start read in pseudo PII of inputs copy the input data of the CP 142 2 in to a data block L PID 256 T DBD 0 L PID 260 T DBD 4 L PID 264 T DBD 8 L PID 268 T DBD 12 2 In program Evaluate in...

Страница 28: ...T 200X signals the data record 1 supplied by the CP 142 2 in device specific diagnostics The CP 142 2 indicates the cause of the diagnostic interrupt for example the failure of an AS i slave in data record 1 When using the CP 142 2 in the basic module of the ET 200X remember that the diagnostic interrupts must be enabled refer to the configuration tool you are using The reaction to the ET 200X dia...

Страница 29: ...ge the slot of the module that caused the diagnostic message is indicated in bytes 7 and 8 by setting a bit as well as in byte 11 slot number Slot 5 is the first slot beside the basic module Byte 0 Byte 1 Station status 1 to 3 Byte 2 Byte 3 Master PROFIBUS address Byte 4 High byte Vendor Byte 5 Low byte ID Byte 6 Byte 7 ID related diagnostics Byte 8 Byte 9 14H Length of the device related diagnost...

Страница 30: ...cord 1 has a length of 11 bytes and is structured as follows the byte numbering relates to the structure of the DP slave diagnostic information in Figure 3 3a and Figure 3 3b The following applies to the error bits specified in data record 1 0 no error 1 error Byte 13 7 0 0 0 0 Bit no Group error bit Internal CP error e g EEPROM defective External CP error e g slave failed or APF At least 1 slave ...

Страница 31: ... 9 Byte 17 7 60 H 0 Bit no Byte 20 7 0 Fixed value Byte 21 7 0 Byte 18 00 H Byte 19 20 H Slave 7 Slave 0 Byte 22 7 0 Slave 15 Slave 8 Byte 23 7 0 Slave 23 Slave 16 Delta list Slave 31 Slave 24 Figure 3 3b Content of Data Record Bytes 17 to 23 ...

Страница 32: ...or occurred More detailed diagnostic information which slave has failed is available to the application program if it reads diagnostic data record DS 1 using the system function SFC59 RD_REC Once OB82 has been executed the BM147 continues the cyclic program OB1 starting at the point at which it was interrupted 3 3 2 2 Interrupt Events The CP 142 2 distinguishes between interrupt events entering an...

Страница 33: ...ot the same as the configuration signaled previously with the diagnostic interrupt a diagnostic interrupt with current configuration information is signaled If triggering of a diagnostic interrupt becomes possible again and if the current entire CP configuration is the same as the configuration signaled previously by the diagnostic interrupt no diagnostic interrupt is signaled This means that brie...

Страница 34: ...FIG BOOL always 0 for the CP 142 2 8 2 7 OB82_CONFIG_ERR BOOL always 0 for the CP 142 2 9 OB82_MDL_TYPE BYTE Module class for the CP 142 2 1C hex 10 2 0 OB82_SUB_NDL_ERR BOOL At least one slave differs from the expected configuration 10 2 1 OB82_COMM_FAULT BOOL always 0 for the CP 142 2 10 2 2 OB82_MDL_STOP BOOL 0 CP 142 2 is in the normal state 1 CP 142 2 is in the offline state 10 2 3 OB82_WTCH_...

Страница 35: ...st 0 no error 1 error This delta list is part of the diagnostic data record DS1 and you can read it out by calling the operating system function SFC59 RD_REC in the interrupt OB OB82 or at any time in the cyclic program OB1 For the CP 142 2 data record DS 1 always has a length of 11 bytes and is structured as follows Bytes 0 to 3 These four bytes contain DS0 and correspond to the local data bytes ...

Страница 36: ...s error info BUSY M90 0 irrelevant for ET200X RECORD P M 100 0 BYTE 11 receive buffer AM100 7 error on AS i slave 7 CCFC21 error reaction How the program functions It is assumed that slaves 1 and 12 were configured using the buttons on the CP 142 2 and that the CP 142 2 is in the protected mode If slave 7 fails the CP 142 2 generates a diagnostic interrupt The BM147 then enters the message module ...

Страница 37: ... 109 00H MB 110 00H After attaching slave 7 to the AS Interface again there is still a problem slave 15 The message module fault appears in the system diagnostic buffer and the delta list has the following values MB 107 00H MB 108 80H MB 109 00H MB 110 00H After disconnecting slave 15 there is no further problem The CP 142 2 signals this with a diagnostic interrupt The message module OK appears in...

Страница 38: ...nly possible to use FC ASI_3422 in conjunction with a BM147 The FC used is the same block as used with the CP 342 2 4 1 Overview of the Functions Command calls to the CP 142 2 are made in the user program using FC ASI_3422 The user specifies the command call in a send buffer and starts the job FC ASI_3422 transfers the command to the CP 142 2 On completion of the job the job status is transferred ...

Страница 39: ...B8976111 02 AS i Master Module CP 142 2 4 2 LAD representation ENO STARTUP LADDR SEND RECV DONE ERROR EN ACT ASI_3422 STATUS ...

Страница 40: ...riented address assignment for more detailed information refer to Section 3 1 SEND I ANY I Q M D L Send buffer The parameter points to a memory area in which the command must be specified by the user e g P DB20 DBX 20 0 Byte 10 RECV I ANY I Q M D L Receive buffer This buffer is only relevant for commands that supply response data The parameter points to a memory area in which the command response ...

Страница 41: ...e acknowledgment when writing to module 0 1 80B0H Module does not recognize the data record 0 1 80B1H Specified data record length incorrect 0 1 80C0H Data record cannot be read 0 1 80C1H The specified data record is currently being processed 0 1 80C2H There is a job bottleneck 0 1 80C3H Resources memory in use 0 1 80C4H Communication error 0 1 8182H ID after complete restart STARTUP TRUE 0 1 8184...

Страница 42: ...gnment error reading a parameter Alignment error writing a parameter This error code indicates that the reference to a parameter is an address whose bit address is not 0 0 1 8F30H 8F31H The parameter is in the write protected global DB The parameter is in the write protected instance DB This error code indicates that a parameter is in a write protected data block 0 1 8F32H The parameter contains a...

Страница 43: ...If an error occurred ERROR is set In this case no received data are provided by the CP 142 2 even when the job normally involves response data To provide a more detailed description of the error an error code is entered in the first word of STATUS The DONE ERROR and STATUS parameters remain unchanged until the next job is processed 8181 0000 0000 8181 8181 8181 0000 8381 0000 8181 AC T D ON E ERR ...

Страница 44: ... Store_Actual_Parameters 4 2 1 5 none 0 4 H Set_Permanent_Configuration 4 2 1 6 Slave address configuration 0 5 H Get_Permanent_Configuration 4 2 1 7 Slave address Expected configuration data 0 6 H Store_Actual_Configuration 4 2 1 8 none 0 7 H Read_Actual_Configuration 4 2 1 9 Slave address Actual configuration data 0 8 H Set_LPS 4 2 1 10 LPS 0 9 H Set_Offline_Mode 4 2 1 11 Mode 0 A H Set_Auto_Add...

Страница 45: ...value is only transferred after the power supply of the BM147 is turned on and the slave is activated Structure of the job data in the send buffer Bit 7 Bit 0 Byte 0 0 H 0 H Byte 1 Slave address Byte 2 0 Parameter 4 2 1 2 Get_Permanent_Parameter Meaning With this call a slave specific parameter value stored on the EEPROM of the CP 142 2 is read Structure of the job data in the send buffer Bit 7 Bi...

Страница 46: ...e is entered in the parameter echo field The RECEIVE job to fetch the parameter echo is optional Normally the parameter echo is not evaluated in the S7 program Structure of the job data in the send buffer Bit 7 Bit 0 Byte 0 0 H 2 H Byte 1 Slave address Byte 2 0 Parameter Structure of the job data in the receive buffer Bit 7 Bit 0 Byte 0 0 Parameter echo 4 2 1 4 Read_Parameter Meaning This call ret...

Страница 47: ...te 0 0 H 4 H 4 2 1 6 Set_Permanent_Configuration Meaning This call configures the I O configuration data and the ID code for the addressed AS i slave The data are stored permanently on the AS i master CP When executing this command the CP changes to the offline phase and then switches to the normal mode cold restart on the CP The call is not executed in the protected mode Structure of the job data...

Страница 48: ... Bit 7 Bit 0 Byte 0 ID code I O configuration 4 2 1 8 Store_Actual_Parameters Meaning This call stores the actual I O configuration data and actual ID codes of all slaves on the AS Interface permanently on the EEPROM as desired configuration data The list of activated slaves LAS is also entered in the list of configured slave LPS When executing this command the CP changes to the offline phase and ...

Страница 49: ...s transferred for permanent storage in the EEPROM of the master When executing this command the CP changes to the offline phase and then switches to the normal mode cold restart on the CP The call is not executed in the protected mode Structure of the job data in the send buffer Bit 7 Bit 0 Byte 0 0 H 9 H Byte 1 0 H 0 H Byte 2 LPS slave 0 3 0 1 2 3 LPS slave 4 to 7 4 5 6 7 Byte 3 LPS slave 8 to 11...

Страница 50: ...owing jobs are processed cyclically During the data exchange phase the fields of the output data are transferred to the slave outputs for all slaves in the LAS The addressed slaves transfer the values of the slave inputs to the master when the transfer was free of errors This is followed by the inclusion phase in which there is a search for the slaves connected to the AS i and newly added slaves a...

Страница 51: ...tual configuration match are activated in other words if the I O configuration and the identification codes of the slaves in the LDS are identical to those of the configured values In the configuration mode all detected slaves except slave address 0 are activated This also applies to slaves for which there is a difference between the desired and actual configuration The OPERATION MODE bit is saved...

Страница 52: ...ons are fulfilled 1 A slave with the old slave address exists 2 If the old slave address is not equal to 0 then an AS i slave with address 0 cannot be connected at the same time 3 The new slave address must have a valid value 4 No AS i slave with the new slave address must already exist Note When changing the slave address the AS i slave is not reset in other words the output data of the slave are...

Страница 53: ...he stored address is not the same as the entry in the address register S1 Parity error detected This flag is set when the AS i slave has recognized a parity error in a received frame since the last read and reset status job S2 End bit error detected This flag is set when the AS i slave has recognized an end bit error in a received frame since the last read and reset status job S3 Read error non vo...

Страница 54: ...the job data in the receive buffer Bit 7 Bit 4 Bit 3 Bit 0 Byte 0 LAS slave 0 to 3 LAS slave 4 to 7 Byte 1 LAS slave 8 to 11 LAS slave 12 to 15 Byte 2 LAS slave 16 to 19 LAS slave 20 to 23 Byte 3 LAS slave 24 to 27 LAS slave 28 to 31 Byte 4 LDS slave 0 to 3 LDS slave 4 to 7 Byte 5 LDS slave 8 to 11 LDS slave 12 to 15 Byte 6 LDS slave 16 to 19 LDS slave 20 to 23 Byte 7 LDS slave 24 to 27 LDS slave ...

Страница 55: ...R_AVAIL This flag is set when the automatic address programming can be executed in other words exactly one AS i slave is currently out of operation AUTO_ADDR_ASSIGN This flag is set when the automatic address programming is possible in other words AUTO_ADDR_ENABLE 1 and there is or was no incorrect AS i slave connected to the AS i cable LDS_0 This flag is set when an AS i slave exists with address...

Страница 56: ...buffer Bit 7 Bit 4 Bit 3 Bit 0 Byte 0 Byte 1 Byte 2 LAS slave 0 to 3 LAS slave 4 to 7 Byte 3 LAS slave 8 to 11 LAS slave 12 to 15 Byte 4 LAS slave 16 to 19 LAS slave 20 to 23 Byte 5 LAS slave 24 to 27 LAS slave 28 to 31 Byte 6 ID code slave 0 I O conf slave 0 Byte 7 ID code slave 1 I O conf slave 1 Byte 8 ID code slave 2 I O conf slave 2 Byte 9 ID code slave 3 I O conf slave 3 Byte 10 ID code slav...

Страница 57: ...rameter slave 7 Byte 42 Parameter slave 8 Parameter slave 9 Byte 43 Parameter slave 10 Parameter slave 11 Byte 44 Parameter slave 12 Parameter slave 13 Byte 45 Parameter slave 14 Parameter slave 15 Byte 46 Parameter slave 16 Parameter slave 17 Byte 47 Parameter slave 18 Parameter slave 19 Byte 48 Parameter slave 20 Parameter slave 21 Byte 49 Parameter slave 22 Parameter slave 23 Byte 50 Parameter ...

Страница 58: ...Bit 0 Byte 0 1 H A H Byte 1 Byte 2 LPS slave 0 to 3 LPS slave 4 to 7 Byte 3 LPS slave 8 to 11 LPS slave 12 to 15 Byte 4 LPS slave 16 to 19 LPS slave 20 to 23 Byte 5 LPS slave 24 to 27 LPS slave 28 to 31 Byte 6 ID code slave 0 I O conf slave 0 Byte 7 ID code slave 1 I O conf slave 1 Byte 8 ID code slave 2 I O conf slave 2 Byte 9 ID code slave 3 I O conf slave 3 Byte 10 ID code slave 4 I O conf slav...

Страница 59: ...10 Parameter slave 11 Byte 44 Parameter slave 12 Parameter slave 13 Byte 45 Parameter slave 14 Parameter slave 15 Byte 46 Parameter slave 16 Parameter slave 17 Byte 47 Parameter slave 18 Parameter slave 19 Byte 48 Parameter slave 20 Parameter slave 21 Byte 49 Parameter slave 22 Parameter slave 23 Byte 50 Parameter slave 24 Parameter slave 25 Byte 51 Parameter slave 26 Parameter slave 27 Byte 52 Pa...

Страница 60: ...B8976111 02 AS i Master Module CP 142 2 4 23 The values of the other flags have no significance for the configure entire system command and cannot be modified ...

Страница 61: ...slave 3 Byte 4 Parameter slave 4 Parameter slave 5 Byte 5 Parameter slave 6 Parameter slave 7 Byte 6 Parameter slave 8 Parameter slave 9 Byte 7 Parameter slave 10 Parameter slave 11 Byte 8 Parameter slave 12 Parameter slave 13 Byte 9 Parameter slave 14 Parameter slave 15 Byte 10 Parameter slave 16 Parameter slave 17 Byte 11 Parameter slave 18 Parameter slave 19 Byte 12 Parameter slave 20 Parameter...

Страница 62: ... Bit 3 Bit 0 Byte 0 Par echo slave 1 Byte 1 Par echo slave 2 Par echo slave 3 Byte 2 Par echo slave 4 Par echo slave 5 Byte 3 Par echo slave 6 Par echo slave 7 Byte 4 Par echo slave 8 Par echo slave 9 Byte 5 Par echo slave 10 Par echo slave 11 Byte 6 Par echo slave 12 Par echo slave 13 Byte 7 Par echo slave 14 Par echo slave 15 Byte 8 Par echo slave 16 Par echo slave 17 Byte 9 Par echo slave 18 Pa...

Страница 63: ...ns the name and the firmware version number of the CP in the form shown below Structure of the job data in the receive buffer Bit 7 Bit 4 Bit 3 Bit 0 Byte 0 S Byte 1 i Byte 2 e Byte 3 m Byte 4 e Byte 5 n Byte 6 s Byte 7 Byte 8 A Byte 9 G Byte 10 Byte 11 Byte 12 Byte 13 C Byte 14 P Byte 15 Byte 16 1 Byte 17 4 Byte 18 2 Byte 19 Byte 20 2 Byte 21 Byte 22 Byte 23 Byte 24 V Byte 25 Byte 26 x Byte 27 By...

Страница 64: ...son recognizes that the stored address is not the same as the entry in the address register S1 Parity error detected This flag is set when the slave has recognized a parity error in a received frame since the last read and reset status job S2 End bit error detected This flag is set when the AS i slave has recognized an end bit error in a received frame since the last read and reset status job S3 R...

Страница 65: ...Slave address Structure of the job data in the receive buffer Bit 7 Bit 4 Bit 3 Bit 0 Byte 0 0 H Slave ID 4 2 1 24 Read Slave I O Meaning With this call the I O configuration of a slave can be read out directly over the AS i cable The call is intended for diagnostic purposes and is not required in the normal master mode Structure of the job data in the send buffer Bit 7 Bit 4 Bit 3 Bit 0 Byte 0 1 ...

Страница 66: ...ailed AS i slave simply by the flashing LED assigned to the AS i slave when the group display is active see Section2 1 4 Replace the defective AS i slave with an identical AS i slave with address 0 as supplied The CP 142 2 then programs this AS i slave with the address of the original station that had failed The AUP LED goes off The CP 142 2 indicates the new AS i slave in the LED display Note tha...

Страница 67: ...e the AS i slave with address 0 from the AS i cable CER LED is permanently lit The CP 142 2 has not yet been configured Configure the CP using the mode button on the front panel A configured AS i slave has failed evaluate ACTIVE SLAVES display Replace the defective As i slave or configure the CP 142 2 again if the AS i slave is not required An unconfigured As i slave was connected to the AS i cabl...

Страница 68: ...lag is not set Set the bit with the corresponding FC calls Automatic address programming is unsuccessful although the AUP display is lit The configuration data I O configuration ID code of the replaced slaves do not match the values of the original slaves Check whether the correct replacement slave was used Compare the information from the manufacturer about configuration data If you want to repla...

Страница 69: ...dule The DP identifier is used to distinguish individual modules see 4 The following identifiers apply to the CP 142 2 depending on whether the special or general ID format is used Special ID format ID hexadecimal Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 C2 0F 0F BC C3 General ID Format ID hexadecimal 3F If you use a SIEMENS configuration tool for your DP master for example STEP 7 or COM PROFIBUS these ...

Страница 70: ...B8976111 02 AS i Master Module CP 142 2 7 2 ...

Страница 71: ...col Implementation Conformance Statement PICS PICS for CP 142 2 Vendor Siemens AG Product Name CP 142 2 AS i master module CP 142 2 for ET 200X Order Number 6GK7142 2AH00 0XA0 Version 3 Master Profile M0 with BM 141 142 M1 with BM 147 and FC ASI_3422 Date 15 4 1998 ...

Страница 72: ..._Configuration Addr not implemented 12 Status Set_LPS List31 not implemented 13 Status List31 Get_LPS not implemented 14 Status List31 Get_LAS not implemented 15 Status List32 Get_LDS not implemented 16 0 Status Get_Flags not implemented 16 1 Status Flag Get_Flag_Config_OK X LED display on the front panel 16 2 Status Flag Get_Flag_LDS 0 not implemented 16 3 Status Flag Get_Flag_Auto_Address_Assign...

Страница 73: ...by Section 23 1 Status Resp Cmd_Reset_ASI_Slave Addr RESET not implemented 23 2 Status Resp Cmd_Read_IO_Configuration Addr CONF not implemented 23 3 Status Resp Cmd_Read_Identification_Code Addr IDCOD not implemented 23 4 Status Resp Cmd_Read_Status Addr STAT not implemented 23 5 Status Resp Cmd_Read_Reset_Status Addr STATRES not implemented ...

Страница 74: ...triggers cold restart on the CP 11 Status Config Read_Actual_Configuration Addr X Get_actual_configuration 4 2 1 9 12 Status Set_LPS List31 X Set_LPS 4 2 1 10 13 Status List31 Get_LPS X Read lists and flags 4 2 1 16 14 Status List31 Get_LAS X Read lists and flags 4 2 1 16 15 Status List32 Get_LDS X Read lists and flags 4 2 1 16 16 0 Status Get_Flags X Read lists and flags 4 2 1 16 16 1 Status Flag...

Страница 75: ...ls in column 3 Symbol Meaning X Function exists Function does not exist Relationship between the AS i cycle time and the number of connected slaves The following table shows how the AS i cycle time depends on the number of connected slaves Number of slaves Maximum cycle time in ms typical worst case 1 to 5 1 092 1 404 6 to 10 1 716 2 028 11 to 15 2 496 2 808 16 to 20 3 276 3 588 21 to 25 4 056 4 3...

Страница 76: ...AS i Master Module CP 142 2 B8976111 02 A 6 ...

Страница 77: ... Otto W Madelung Auf den Broich 4A D 51519 Odenthal Germany Tel 49 2174 40756 Fax 49 2174 41571 The AS i technology is promoted by the AS Interface Association e V Internet address of the AS Interface Association e V http www as interface com 3 SIMATIC NET Industrial Communications Networks Catalog IK 10 The catalog can be ordered from your local SIEMENS branch office or distributor 4 SIMATIC Manu...

Страница 78: ...AS i Master Module CP 142 2 B8976111 02 B 2 ...

Страница 79: ...rocessor Communications processor for installation in computers or programmable controllers CP 142 2 Communications module for connecting the SIMATIC ET 200X I O system to the AS Interface FW Firmware here software running on the CP 1422 LAS List of activated slaves LDS List of detected slaves LPS List of permanent configured slaves PG Programming device SIMATIC NET Previously SINEC product range ...

Страница 80: ...AS i Master Module CP 142 2 B8976111 02 C 2 ...

Страница 81: ...ts Area of application Requirements Noise emission Noise immunity Industrial EN 50081 2 1993 EN 50082 2 1995 Installation Instructions The product meets the requirements providing you adhere to the instructions for installation and operation as described in the following documentation Description of the AS Interface Master Module CP 142 2 Manual SIMATIC ET 200X Distributed I O System Information f...

Страница 82: ......

Страница 83: ...ddress Telefon Telephone Vorschläge Korrek turen Sollten Sie beim Lesen dieser Un Should you come across any Suggestions Corrections terlage auf Druckfehler stoßen printing errors when reading this bitten wir Sie uns diese mitzu publication please inform us teilen Ebenso sind wir für Anre using this form We appreciate gungen Hinweise und Verbes any suggestions you may have serungsvorschläge dankba...

Страница 84: ...ctions Si lors de la lecture de ce docu Si encuentra Usted erratas de im Propuestas y o correciones ment vous trouvez des fautes d im prenta por favor infórmenos primerie nous vous prions de nous utilizando este formulario Le en faiire part dans ce formulaire rogamos que nos communique Nous recevrons aussi avec recon también las reclamaciones naissance vos suggestions remar indicaciones y propu es...

Отзывы: