- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
第14章PLC内存
;14.1 INTRODUCTION
14.2 MEMORY ADDRESSES
14.3 PROGRAM FILES
14.4 DATA FILES
14.5 SUMMARY
14.6 PRACTICE PROBLEM
;14.1 INTRODUCTION;14.2 MEMORY ADDRESSES; These are a collection of up to 1000 slots to store up to 1000 programs. The main program will be stored in program file 2. SFC programs must be in file 1, and file 0 is used for program and password information. All other program files from 3 to 999 canbe used for subroutines.;This is where the variable data is stored that the PLC programs operate on. This is quite complicated, so a detailed explanation follows.;14.3 PROGRAM FILES;14.4 DATA FILES;Data Files for an Allen Bradley PLC-5; Figure 14.2 shows the default data files for a PLC-5. There are many additional data types, a full list is shown in Figure 14.4. Some of the data types are complex and contain multiple data values, including BT, C, MG, PD, R, SC, and T. Recall that timers require integers for the accumulator and preset, and TT, DN and EN bits are required. Other data types are based on single bits, 8 bit bytes and 16 bit words.;Allen-Bradley Data Types;Integer Word Addressing;Literal Data Values; Sometimes we will want to refer to an array of values, as shown in Figure 14.8. This data type is indicated by beginning the number with a pound or hash sign ’#’. The first example describes an array of floating point numbers staring in file 8 at location 5. The second example is for an array of integers in file 7 starting at location 0. The length of the array is determined elsewhere.; Indirect addressing is a method for allowing a variable in a data address, as shown in Figure 14.9. The indirect (variable) part of the address is shown between brackets ’[’ and ’]’. If a PLC is looking at an address and it finds an indirect address it will look in the specified memory location, and put that number in place of the indirect address. Consider the first example below I:000/[N7:2], if the value in
您可能关注的文档
- 第135895号第4节水的压强[第一课时].ppt
- 第13章三维实体造型基础.ppt
- 第13章事业单位负债和基金的核算.ppt
- 第13章中小学德育与心理健康教育.ppt
- 第13章MCS_51其它扩展接口及实用电路.ppt
- 工程评估项目汇报.ppt
- 第12课“星星之火-可以燎原”[课件][人教版].ppt
- 第13章企业文化[管理心理学-上海大学李刚].ppt
- 第13章企业制度与经营机制.ppt
- 第13周主题班会——释放压力_把握成功.ppt
- 人教版九年级英语全一册单元速记•巧练Unit13【速记清单】(原卷版+解析).docx
- 人教版九年级英语全一册单元速记•巧练Unit9【速记清单】(原卷版+解析).docx
- 人教版九年级英语全一册单元速记•巧练Unit11【速记清单】(原卷版+解析).docx
- 人教版九年级英语全一册单元速记•巧练Unit14【单元测试·提升卷】(原卷版+解析).docx
- 人教版九年级英语全一册单元速记•巧练Unit8【速记清单】(原卷版+解析).docx
- 人教版九年级英语全一册单元速记•巧练Unit4【单元测试·提升卷】(原卷版+解析).docx
- 人教版九年级英语全一册单元速记•巧练Unit13【单元测试·基础卷】(原卷版+解析).docx
- 人教版九年级英语全一册单元速记•巧练Unit7【速记清单】(原卷版+解析).docx
- 苏教版五年级上册数学分层作业设计 2.2 三角形的面积(附答案).docx
- 人教版九年级英语全一册单元速记•巧练Unit12【单元测试·基础卷】(原卷版+解析).docx
文档评论(0)