1、S7300 MMC卡资料MMC卡是西门子新型PLC的程序、数据的存储体,目前应用于以下几种PLC产品:订货号 产品名称6ES7 314-1AF10-0AB0 新型CPU 3146ES7 315-2AG10-0AB0 新型CPU 315-2DP6ES7 312-5BD00-0AB0 CPU 312C6ES7 313-5BE00-0AB0 CPU 313C6ES7 313-6CE00-0AB0 CPU 313C-2DP6ES7 313-6BE00-0AB0 CPU 313C-2PTP6ES7 314-6CF00-0AB0 CPU 314C-2DP 6ES7 314-6BF00-0AB0 CPU 3
2、14C-2PTP6ES7 613-1CA00-0AE3 C7 613 6ES7 635-2EC00-0AE3 C7 635 OP6ES7 635-2EB00-0AE3 C7 635 OP 6ES7 151-7*-0AB0 ET200S with CPU 注:以上产品的订货号会因为产品软硬件的升级略有调整,产品特性以产品名称为准。 1 在定购以上产品时,PLC本身不带有MMC卡,所以为了正常使用PLC,您必须根据您工程项目实际需求定购一个大小适用的MMC卡,如果您的PLC上未插入MMC卡,你是无法将STEP7中的程序和数据下载下去的,同时你应当注意,不能带电插拔MMC卡,否则会丢失程序或损坏MM
3、C卡。2 在Simatic manager中,选择一个程序块下载,则该块被下载到MMC卡中,如果在窗口左边的树型图中选中Block文件夹进行下载,则所有的块被下载到MMC卡上,MMC中原有的信息将被覆盖,向MMC卡读写数据或下载程序的次数不受限制。3 除过CPU中集成的SFB/SFCs块外,MMC当中其他的块可被在线删除。4 对某些CPU用新版MMC卡(6ES7 953-XXX10-0AA0)替代旧版MMC卡(6ES7 953-XXX00-0AA0)时需要升级PLC的OPERATING SYSTEM。升级时需要使用PG(6ES7798-0BA00-0XA0)或带USB口的编程器(6ES7792
4、-0AA00-0XA0),通过STEP7 MANAGER窗口中的菜单功能“PLC/UPDATE OPERATING SYSTEM”将CPU_HD.UPD文件写到MMC卡上,CPU_HD.UPD文件可以在www4.ad.siemens.de网站上下载得到。5 MMC卡作为CPU的装载内存(Load Memory),在为您的CPU选型MMC的时候,我们建议您所选的MMC卡一定要大于等于您所选定的CPU工作内存的大小(work memory),最好比工作内存大一些,但如果您的应用中,PLC工作时要使用大量的过程数据,历史数据,配方数据等或控制工艺中存在较多的用户程序块、STEP7中的应用功能块(如F
5、B41、FB42等)时,建议选用28M的MMC卡,但请注意只有314、3152DP、C7系列的PLC支持8M的MMC卡。6 MMC卡是装载内存,所以不能够在上位机中的组态软件中直接读取MMC卡上的数据值(DB块中的数据),组态画面读取的是PLC RAM内存中的数据。7 在西门子的PLC上必须使用西门子专用的MMC卡,如下表中所列出的,不能使用数码相机、移动电话或PDA等数码产品使用的通用型MMC卡。The order numbers for MMC cards are in the following table:Micro Memory Card / S7-300 Order number
6、64 Kbytes 6ES7 953-8LF11-0AA0 128 Kbytes 6ES7 953-8LG11-0AA0 512 Kbytes 6ES7 953-8LJ11-0AA0 2 Mbytes 6ES7 953-8LL11-0AA0 4 Mbytes 6ES7 953-8LM11-0AA0 8 Mbytes 6ES7 953-8LP11-0AA0 MMC常见问题列表QUESTION 1 : 如何确定STEP7中的工程项目需要使用多大空间的MMC卡?QUESTION 2 : MMC卡上存储程序块或数据块的限制是什么? QUESTION 3 : 如何删除MMC卡上的数据或程序?QUESTI
7、ON 4 : 31X型PLC插入MMC卡后,STOP灯不停闪烁,怎么办? 或 如何格式化MMC?QUESTION 5 :插入MMC卡的S7300 PLC不能正常调用SFC54程序块?QUESTION 6 : 采用MMC卡的S7300和C7613,635系列CPU是如何完成数据保持功能的?QUESTION 7 : 我如何将一些系统文件或是项目相关的文件存储到MMC上? QUESTION 8 : 我想将我的STEP7项目完整地保存在MMC卡上,该选择多大的MMC?QUESTION 9 : 我对插入MMC卡的S7300PLC进行了加密,但我忘记了密码,如何才能对MMC解密, 或删除MMC卡上的密码?
8、QUESTION 1 : 如何确定STEP7中的工程项目需要使用多大空间的MMC卡?Answer :确定您的控制程序所需的MMC卡的大小,可以按以下步骤进行:1 在STEP7 Manager中打开您的Project;2 选中您的程序块,点击鼠标右键(或快捷键Alt + Enter),打开程序块的属性页面:3 选择弹出窗口中的General-Part 2页面:从上图中可以看出您的某个程序块在PLC中占用装载内存和工作内存的字节数。4 将您项目中所有程序块(OB、FC、FB、DB)占用装载内存(Load Memory Requirement)的数量加在一起:这里的OB1程序块需要占用装载内存(即M
9、MC卡)中的248个字节。这里的FB101程序块需要占用MMC卡中的4490个字节。将OB、FB、FC、DB(不包括SFC、SFB、System data)所需占用的字节数加在一起:得到的总的字节数量在除以1024,就可以知道您的Project中的程序块需要多大的MMC卡空间。5 如果您已经有Siemens的PLC和MMC,那么您可以通过在线诊断,获取PLC工作内存和装载内存(MMC卡)的使用情况。在STEP7 Manager界面中,选中CPU,用CP5611或PC-Adapter连接PLC的MPI通讯口,使用快捷键Ctrl + D,弹出PLC的诊断信息窗口:当MMC卡未插入PLC中时:因为P
10、LC中没有插入MMC卡,Load memory RAM + EPROM列为空,Work Memory列中显示当前PLC的工作内存为48K,EPROM是S7-400、旧款S7-300使用的装载内存卡;在PLC中插入MMC卡时,使用快捷键Ctrl + D弹出PLC的内存使用情况:可以看出PLC的内存使用情况为0,空余128K装载内存和48K工作内存;将您的程序下载到PLC当中: 使用Ctrl + D弹出PLC的内存使用情况:可以看出,您的控制程序在PLC中对装载内存和工作内存的占用情况。返 回QUESTION 2 : MMC卡上存储程序块或数据块的限制是什么? Is there any restr
11、iction to the number of blocks I can load onto an MMC (Micro Memory Card)? ANSWER: Yes, there is a limited number of blocks you can load onto an MMC depending its size as shown by the table below:Type MLFB Maximum number of blocks MMC 64KB 6ES7953-8LF11-0AA0 768 MMC 128KB 6ES7953-8LG11-0AA0 1024 MMC
12、 512KB 6ES7953-8LJ11-0AA0 2560 MMC 2MB 6ES7953-8LL11-0AA0 6528 MMC 4MB 6ES7953-8LM11-0AA0 12672 Table 1: Maximum number of blocks on an MMC Please note here the applicable quantity framework for each CPU (number of blocks altogether). 返 回QUESTION 3 : 如何删除MMC卡上的数据或程序?How can I delete the data or prog
13、ram on a MMC (Micro Memory Card)? You can use the following procedure to delete the block on an MMC in the CPU: 1. The MMC to be deleted is slotted in the CPU. 2. In the SIMATIC Manager, switch to online mode via View Online or by pressing the appropriate button. 3. In the Online window, you select
14、the block folder. 4. Select all the blocks in the folder which you want to delete. 5. Click the Delete key on your PC keyboard (you can acknowledge the message that system functions cannot be deleted). 返 回QUESTION 4 : 31X型PLC插入MMC卡后,STOP灯不停闪烁,怎么办? 或 如何格式化MMC?Why does the STOP LED flash on my CPU 31x
15、C when the MMC (Micro Memory Card) is slotted? The CPU does not behave like this with other MMCs. ANSWER: The MMC in your CPU is not formatted or contains data that cannot be interpreted by this CPU (e.g. the configuration of a different CPU type or an operating system not compatible with the CPU).
16、WARNING:When you format the MMC all the data that is located on the MMC is deleted! Proceed as follows to format the MMC. 1. Your CPU requests an overall reset (slow flashing of the STOP LED). 2. Put the switch into the MRES position and hold it there until the STOP LED lights permanently (approx. 9
17、 seconds). 3. You must then release the switch within the next 3 seconds and then put it back into the MRES position. The STOP-LED now flashes during formatting. If the MMC cannot be formatted as described above, then the MMC is defective. NOTE:It is only possible to format the MMC if there is data
18、located on the MMC that is invalid for the CPU. Otherwise the MMC is only initialized through the steps described. More information on the MMC is available in Entry ID: 8861901 返 回QUESTION 5 :插入MMC卡的S7300 PLC不能正常调用SFC54程序块?Why does the SFC 54 RD_DPARM not work with the new S7-300 CPU with MMC? ANSWE
19、R: ;In the new S7-300 CPUs with micro Memory Card, SFC 54 RD_DPRARM for reading out a data record of a chosen block of the system data configured with STEP 7 has been replaced by SFC 102 RD_DPARA. SFC 102 RD_DPARA, in contrast to the old SFC 54 RD_DPARM is an asynchronously executed system function.
20、 This means that the processing is extended over various SFC calls. Blocks containing SFC 54 RD_DPARM can not be loaded to a new S7-300 CPU with MMC. Therefore, please replace the call fo the SFC 54 RD_DPARM by the call of the SFC 102 RD_DPARA and adjust your programming logic to the asynchronous be
21、haviour of the SFC 102 RD_DPARA an. Below, you will find a comparison of the two system functions:SFC 54 RD_DPARMSFC 102 RD_DPARAObservationsInputs -REQFunction will be executed only with REQ=1; new for SFC 102IOID-Parameter has been dropped for SFC 102; see LADDRLADDRLADDRSFC 54: any block address,
22、 specification of the E resp. A address range over IOID (B#16#54=Peripherie Eingang; B#16#55= peripherial output) SFC 102: any block address; Specification of the E resp. A address range over bit 15 of LADDR (most siginficant bit) Bit15=0 - peripherial input Bit15=1 - peripherial outputRECNUMRECNUMu
23、se identicallyOutput RET_VALRET_VALuse identically; however, there are additional error numbers for SFC 102 at disposition.-BUSYBUSY=1; the order has not been finished so far, there are no results at dispositionRECORDRECORDuse identicallyTable 1: Comparison SFC 54 and SFC 102 返 回QUESTION 6 : 采用MMC卡的
24、S7300和C7613,635系列CPU是如何完成数据保持功能的?How does the remanence function of the S7-300 CPUs and C7-613 and C7-635 compact devices work with Micro Memory Card? ANSWER:The remanence characteristics described below affect the S7-300 compact CPUs, S7-300 modular CPUs and the C7-613 and C7-635 compact devices wi
25、th MMC. We describe the remanence characteristics after changes in operating mode in terms of data blocks, times, counters and markers. Data blocks: CPU STOP/RUN or Power OFF/ON1. Database contents of CPUs 31xC, 312, 314, 315-2DP, C7-613 and C7-635 are always remanent.2. The DBs can be defined as re
26、manent or non-remanent for the CPU 317-2DP.Therefore, a setting in STEP 7(V5.2 +SP1) is required for CPU3172DP: o An explanation for the activation or deactivation of the option Non-Retain in the block properties of the DB, can be found in the entry-ID: 17146856 or o a DB was created with SFC 82 CRE
27、A-DBL. While creating a DB with SFC 82 it is determined in the attributes of the DB in Bit 2, whether the DB shall get remanent or not.Note:Only 256K bytes of the main memory (512 Kbyte) can be used for remanent data blocks at a CPU 317-2DP! No remanent DB will be created anymore and the value 80B2
28、(not sufficient main memory) will be displayed, if the main memory is too small for remanent data blocks. Memory reset (MRES)1. The data will be reset to the values in the loading memory (initial value). These are the last current values which were loaded with the PG into the CPU or which were writt
29、en with the SFC84 into the loading memory.2. All blocks of the loading memory remain unchanged. The data blocks are initialized in the main memory. CPU Power OFF - pull MMC - Power ON - Power OFF - plug MMC - Power ON1. The data are reset to the values in the loading memory. These are the last curre
30、nt values which were loaded from the PG into the CPU or written into the loading memory with SFC84.2. All blocks of the loading memory remain unchanged. The data blocks are initialized in the main memory.Note:If it is required to safeguard current data, those have to be saved on the MMC (loading mem
31、ory). SFC84 can be used for this purpose. The frequency of the write accesses on the loading memory is critical because a MMC only allows 100,000 write accesses.Markers, times and counter: These operand areas can be defined as remanent or non-remanent in the HW configuration under Object properties CPU remanence. CPU STOP/RUN or Power OFF/ONThese operand areas keep their values if they were defined remanent. Otherwise they lose the values and will b
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1