cp 343-2_343-2p as-i master manual_第1页
cp 343-2_343-2p as-i master manual_第2页
cp 343-2_343-2p as-i master manual_第3页
cp 343-2_343-2p as-i master manual_第4页
cp 343-2_343-2p as-i master manual_第5页
已阅读5页,还剩122页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Preface, Contents1SIMATIC NETCP 3432 / CP 3432 PASInterface MasterTechnical Description234567Installation and CommissioningConfiguration with STEP 7Data Exchange between the User Program and AS-i SlavesManualUsing the Command InterfaceDiagnostics and Interrupts of the CP 3432Dealing with Problems /

2、Error DisplaysAppendixAS-Interface Protocol Implemen- tation Conformance StatementA B CDReferences and LiteratureNotes on the CE MarkGlossaryIndexRelease 03/2008 C79000G8976C14903Classification of Safety-Related NoticesThis manual contains notices which you should observe to ensure your own perso- n

3、al safety, as well as to protect the product and connected equipment. These noti- ces are highlighted in the manual by a warning triangle and are marked as follows according to the level of danger:Dangerindicates that death or severe personal injury will result if proper precautions are not taken. !

4、Warningindicates that death or severe personal injury can result if proper precautions are not taken. !Cautionwith warning triangle indicates that minor personal injury can result if proper precautions are not taken. !Cautionwithout warning triangle indicates that damage to property can result if pr

5、oper precautions are not taken.Noticeindicates that an undesirable result or status can result if the relevant notice is ignored.Notehighlights important information on the product, using the product, or part of the documentation that is of particular importance and that will be of benefit to the us

6、er.CP 3432 / CP 3432 P ASInterface MasterRelease 03/2008C79000G8976C149032TrademarksSIMATIC , SIMATIC HMI and SIMATIC NET are registered trademarks of SIEMENS AG.Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of th

7、e trademark owners.Safety Instructions Regarding your Product:Before you use the product described here, read the safety instructions below tho- roughly.Qualified PersonnelOnly qualified personnel should be allowed to install and work on this equipment. Qualified persons are defined as persons who a

8、re authorized to commission, to ground, and to tag circuits, equipment, and systems in accordance with establis- hed safety practices and standards.Correct Usage of Hardware ProductsNote the following:WarningThis device and its components may only be used for the applications described in the catalo

9、g or the technical description, and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens.This product can only function correctly and safely if it is transported, stored, set up, and installed correctly, and operated and maintained

10、 as recommended.Before you use the supplied sample programs or programs you have written yourself, make certain that no injury to persons nor damage to equipment can result in your plant or process.EU Directive: Do not start up until you have established that the machine on which you intend to run t

11、his component complies with the directive 98/37/EG. !Correct Usage of Software ProductsNote the following:WarningThis software may only be used for the applications described in the catalog or the technical description, and only in connection with software products, devices, or components from other

12、 manufacturers which have been approved or recommended by Siemens.Before you use the supplied sample programs or programs you have written yourself, make certain that no injury to persons nor damage to equipment can result in your plant or process. !CP 3432 / CP 3432 P ASInterface Master Release 03/

13、2008C79000G8976C149033Prior to StartupPrior to startup, note the following:CautionPrior to startup, note the information and follow the instructions in the latest docu- mentation. You will find the ordering data for this documentation in the relevant catalogs or contact your local Siemens office.Cop

14、yright Siemens AG 20012008 All rights reservedThe 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 model or de

15、sign, are reserved.Disclaimer of LiabilityWe have checked the contents of this manual for agreement with the hard- ware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary

16、 corrections included in subsequent editions. Suggestions for improvement are welcomed.Siemens AG Industry AutomationIndustrial CommunicationPostfach 4848, D-90327 NuernbergSiemens4AktiengesellschaftTechnical data CsuPbje3c4t3to change.2 / CP 3432 P ASInterface MasterRelease 03/2008G79000G8976C14903

17、C79000G8976C14903PrefacePurpose of the ManualThis manual supports you when using the following modules: CP 343-2 CP 343-2 PIt contains information about how the PLC can address AS-i actuators and AS-i sensors via this module.Whats new?The CP 343-2 (6GK7 343-2AH01-0XA0) and the CP 343-2 P(6GK7 343-2A

18、H11-0XA0) as of firmware version V3.0 support all combined transaction type slaves (CTT slaves) according to AS-i Specification V3.For these CPs as of firmware version V3.0, configuration of the CTT slaves is supported as of STEP 7 version 5.4 SP4. The command interface has been expanded to allow th

19、e transfer of CTT2 strings.The following AS-i CPs do not support CTT slaves complying with AS-i specification V3: 6GK7 343-2AH00-0XA0 6GK7 343-2AH10-0XA0As of STEP 7 version 5.3 SP3, the selection of Siemens slaves is supported in the slave project engineering.This issue of the manual also includes

20、several corrections.The notes on installation have been integrated in the manual. The product information bulletin no longer ships with the product.CP 3432 / CP 3432 P ASInterface Master Release 03/2008C79000G8976C149035PrefaceWe recommend the following procedure when. You want an overall picture of

21、 the AS-Interface. First read AS-Interface Introduction and Basic Information (on the accompanying product CD). This contains general information about the AS-Interface, abbreviated to AS-i in the following chapters. You want to set up an AS-i system and include the CP 343-2 module in it: You will f

22、ind the relevant information about connecting and operating the CP 343-2 in Chapter 1, 2 and 3.You want to know how to operate the CP 343-2 from the PLC: Read Chapter 4. Chapter 5 explains the command interface.RequirementsTo understand this manual, you require the following: Basic knowledge of SIMA

23、TIC S7, STEP 7 Familiarity with the manual AS-Interface Introduction and Basic Information (on the accompanying product CD).CD with sample programThe accompanyincontains a sample program for operating the CP 343-2.FAQsYou will find FAQs on Siemens AS-i products on the Internet on the Service and Sup

24、port pages of Industry Automation at the following address:/WW/view/en/10805888CP 3432 / CP 3432 P ASInterface MasterRelease 03/2008C79000G8976C149036ContentsPreface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25、. . . . . . . . . . . . . . .Technical Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .510111212141516172223.1.71.8General Notes on Operation Safety Warnings . . . . . . . . . . . . . . . . . .Overview of the

26、Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Uses of the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .The Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Tec

27、hnical Specifications of the Module . . . . . . . . . . . . . . . . . . . . . . . . . .Approvals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Displays and Operator Controls of the CP 343-2 . . . . . . . . . . . . . . . . . .Configuring using Bu

28、ttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Permitted Slots for the CP 343-2 in the SIMATIC S7-300 and inthe ET 200M . . . . . . . . . . . . . . . . . .

29、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Addressing the CP 343-2 in the S7 Automation System . . . . . . . . . . .and Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Safety Warnings . . . . . . . . . . . . . . . . . . . . . . . . .

30、. . . . . . . . . . . . . . . . . . . .Installing and Commissioning the CP . . . . . . . . . . . . . . . . . . . . . . . . . . . .23242525262828283030313839394042444546471.9Installation2.12.223Configuration with STEP 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

31、 . . . . ..23.4General Information on Configuring the CP 343-2 with STEP 7 . . . . .STEP 7 Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Extra Configuration of the CP 3 43-2 P . . . . . . . . . . . . . . . . . . . . . . . . . .Configuring i

32、n STEP 7 Operating Parameters . . . . . . . . . . . . . . . . . .Configuring AS-i Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Uploading the Actual Configuration to the PG (CP 3 43-2 P only) . . .4Data Exchange between User Program and ASi Slaves . . . . . . .

33、. . . . . . . . . . ..24.3Exchanging ASi Binary Values with Standard or A Slaves . . . . . . . . .Addressing the Standard or A Slaves with the PLC . . . . . . . . . . . . . . .Accessing Binary Data of Standard or A Slaves . . . . . . . . . . . . . . . . . .Exchanging AS-i Bin

34、ary Values with B Slaves . . . . . . . . . . . . . . . . . . . .How the PLC Addresses the Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . .Accessing Binary Data of B Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Points to Note about Binary Data of Analog Slaves . . . .

35、 . . . . . . . . . . .CP 3432 / CP 3432 P ASInterface Master Release 03/2008C79000G8976C149037Contents.4.4.2Point to Note About Analog Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Points to Note About AS-i Safety Slaves . . . . . . . . . . . . . . . . . . . . . .

36、. . .Transferring AS-i Analog Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Addressing Analog Values of AS-i Slaves . . . . . . . . . . . . . . . . . . . . . . . .Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .474747485253535

37、9626364656667686970717273747576778085909192939495969798991001011021035Using the Command Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...........195.2.20

38、...265.2.275.2.285.2.295.2.305.2.315.2.32Description of FC “ASI_3422” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Description of the AS-i Slave Commands . . . . . . . . . . . . . . . . . . . . . . . .Set_Permanent_Parameter . . . . . . . . . . .

39、. . . . . . . . . . . . . . . . . . . . . . . . .Get_Permanent_Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Write_Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Read_Parameter . . . . . . . . . . . . . . . . . .

40、. . . . . . . . . . . . . . . . . . . . . . . . . . .Store_Actual_Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Set_Extended_Permanent_Configuration . . . . . . . . . . . . . . . . . . . . . . . .Get_Extended_Permanent_Configuration . . . . . . . . . . . . . . .

41、 . . . . . . . . .Store_Actual_Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Read_Extended_Actual_Configuration . . . . . . . . . . . . . . . . . . . . . . . . . .Set_LPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

42、. . . . . . .Set_Offline_Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Select Autoprogramming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Set_Operation_Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

43、. . . . . . . .Change_AS-I_Slave_Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Get_AS-i_Slave_Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Get_LPS, Get_LAS, Get_LDS, Get_Flags . . . . . . . . . . . . . . . . . . . . . . .Get_Extende

44、d_Total_Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Store_Extended_Total_Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .Write_Extended_Parameter_List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Read_Extended_Parameter_Echo_List . . .

45、. . . . . . . . . . . . . . . . . . . . . . .Read_Write_CTT2_request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Read_Version_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Read_AS-i_Slave_ID . . . . . . . . . . . . . . . . . . .

46、. . . . . . . . . . . . . . . . . . . . . .Read_AS-i_Slave_Extended_ID1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Write_AS-i_Slave_Extended_ID1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Read_AS-i_Slave_Extended_ID2 . . . . . . . . . . . . . . . . . . . . . . . .

47、 . . . . . . .Read_AS-i_Slave_I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Get_LPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Write_AS-i_Slave_Parameter_String . . . . . . . . . . . . . . . . . . . .

48、. . . . . . . .Read_AS-i_Slave_Parameter_String . . . . . . . . . . . . . . . . . . . . . . . . . . . .Read_AS-i_Slave_ID_String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Read_AS-i_Slave_Diagnostic_String . . . . . . . . . . . . . . . . . . . . . . . . . . . .CP 3432 / CP

49、3432 P ASInterface MasterRelease 03/2008C79000G8976C149038Contents6Diagnostics and Interrrupts of the CP 343-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10410410510610610710911011111211216.76.8Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

50、 . . . . . . . . . . . . . . . . . . . .Interrupt Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Sequence of Diagnostic Interrupt Processing . . . . . . . . . . . . . . . . . . . . .Response to Interrupts in Different CP Operating States . . . . . .

51、 . . . . .Local Data of the Diagnostic Organization Block (OB82) . . . . . . . . . . .Reading the Diagnostic Data Record DS 1 . . . . . . . . . . . . . . . . . . . . . . .Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Diagnostic Interrupts: Some Ex

52、amples . . . . . . . . . . . . . . . . . . . . . . . . . .7Dealing with Problems / Error Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7.17.2Replacing a Defective AS-i Slave/Automatic Address Programming .Error Displays/Remedying Errors . . . . . . . . . . . . . . . . .

53、 . . . . . . . . . . . . . .AASInterface Protocol ImplementationConformance Statement (PICS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .References and Literature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Notes on the

54、CE Mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116120122123126BC DIndex. . . . . . . . . . . . . . . . . . .

55、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .CP 3432 / CP 3432 P ASInterface Master Release 03/2008C79000G8976C1490391Technical DescriptionThis chapter describes the features of the module and familiarizes you with the basic functions of the AS-i mast

56、er module CP 343-2.You will learn the following:The PLC systems on which the AS-Interface can be operated with the CP 343-2 / CP 343-2 P.Which displays and operator controls are available on the CP 343-2 / CP 343-2 P.Which modes are supported by the CP 343-2 / CP 343-2 P.Which options are available with the button configuration How addressing is handled on the CPUNoticeThe two device types CP 343-2 and CP 343-2 P are large

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论