您好,欢迎访问三七文档
©ABBGroup–Version2.2(2009-08)TechnicalGuides可升级的PLCAC500AC500andS500-I/O地址及I/O总线配置基本模块©ABBGroupSeptember17,2019|Slide2存储配置可寻址标志区域:%Mand%RPERSISTENTAC500I/O接口I/O寻址I/O总线配置地址及I/O总线配置内容©ABBGroupSeptember17,2019|Slide3地址及I/O总线配置接下来存储配置可寻址标志区域:%Mand%RPERSISTENTAC500I/O接口I/O寻址I/O总线配置©ABBGroupSeptember17,2019|Slide4可寻址区域地址及I/O总线配置存储配置(1)RETAINarea(Retain)VARRETAIN..VARENDDataarea(Global)VAR..VARENDVARGLOBAL..VARENDPERSISTENTareaasofver.1.2%RareaMemoryarea(Memory)%MareaalsodeclaredasRETAINorPERSISTENT程序代码处理映射Inputarea(Input)%IinputdataimageOutputarea(Output)%Qoutputdataimage(Code)CodeofallPOUscalledintheprogramInitializationcodeforvariablesCodetorestoreIEC-persistentvariables无寻址区域©ABBGroupSeptember17,2019|Slide5标签”存储器层”栏包括所选CPU在存储器映射的所有信息.地址及I/O总线配置存储配置(2)©ABBGroupSeptember17,2019|Slide6地址及I/O总线配置存储配置(3)更多信息请参考CoDeSys帮助文件©ABBGroupSeptember17,2019|Slide7地址及I/O总线配置用户程序代码大小及AC500CPUs的操作数©ABBGroupSeptember17,2019|Slide8地址及I/O总线配置接下来存储配置可寻址标志区域:%MandPERSISTENT%RAC500I/O接口I/O寻址I/O总线配置©ABBGroupSeptember17,2019|Slide9变量声明:SymbolAT%ArrayprefixFormatAddress:Datatype:=init.value;(*Comment*)Optional地址及I/O总线配置变量声明ArrayprefixM:MareaR:PERSISTENTareaFormatX:Binary1bitB:Byte8bitsW:Word16bitsD:DoubleWord32bits©ABBGroupSeptember17,2019|Slide10地址及I/O总线配置寻址及Motorola字节顺序©ABBGroupSeptember17,2019|Slide11根据CPU的不同,标志区被分成最多8段,每段64KB.所有的标志可以是位,字节,字及双字地址及I/O总线配置可编址标志区(%M区)更多信息请参考CoDeSys帮助文件©ABBGroupSeptember17,2019|Slide12所有的标志可以是位,字节,字及双字地址及I/O总线配置可寻址掉电保持区(%R区)根据CPU的不同,可寻址掉电保持区也被分成最多8段,每段64KB更多信息请参考CoDeSys帮助文件©ABBGroupSeptember17,2019|Slide13地址及I/O总线配置接下来存储配置可寻址标志区域:%MandPERSISTENT%RAC500I/O接口I/O寻址I/O总线配置©ABBGroupSeptember17,2019|Slide14地址及I/O总线配置AC500输入与输出接口更多信息请参考CoDeSys帮助文件©ABBGroupSeptember17,2019|Slide15地址及I/O总线配置接下来存储配置可寻址标志区域:%MandPERSISTENT%RAC500I/O接口I/O寻址I/O总线配置©ABBGroupSeptember17,2019|Slide16地址在PLC配置过程中自动创建.声明:仅符号和注释SymbolAT%ArrayprefixFormatAddress:Datatype;(*Comment*)地址及I/O总线配置I/O地址ArrayprefixI:InputQ:OutputFormatX:Binary1bitB:Byte8bitsW:Word16bitsD:DoubleWord32bits©ABBGroupSeptember17,2019|Slide17地址及I/O总线配置I/O寻址,Motorola字节顺序©ABBGroupSeptember17,2019|Slide18地址及I/O总线配置PM57x,PM58xandPM59x的I/Os寻址(1)©ABBGroupSeptember17,2019|Slide19通讯模块输入及输出寻址(通讯适配器)地址及I/O总线配置PM57x,PM58xandPM59x的I/Os寻址(2)©ABBGroupSeptember17,2019|Slide20AC500-eCoCPUs的输入及输出寻址地址及I/O总线配置PM55xandPM56x的I/Os寻址©ABBGroupSeptember17,2019|Slide21地址及I/O总线配置接下来存储配置可寻址标志区域:%MandPERSISTENT%RAC500I/O接口I/O寻址I/O总线配置©ABBGroupSeptember17,2019|Slide221.点击“资源“2.点击“PLC配置“3.选择“I/OBus“地址及I/O总线配置本地扩展(1)©ABBGroupSeptember17,2019|Slide231.选择“添加子元件“并且选择相应扩展I/O模块警告:I/O配置必须与实际硬件扩展一致,否则程序将不能下载并且产生一条错误信息.地址及I/O总线配置本地扩展(2)2.根据需要,选择”模块参数”对模块进行参数配置©ABBGroupSeptember17,2019|Slide24为I/O变量创建注释为I/O变量定义一个符号地址及I/O总线配置符号及注释©ABBGroupSeptember17,2019|Slide251.选择“通道参数“2.配置模拟通道地址及I/O总线配置通道参数:模拟量模块©ABBGroupSeptember17,2019|Slide26DigitalAnalogInput:Byte01234-1314-29Input:Word00112-67-14例如:自动创建地址(字节及字)Output:Byte012-2122-37Output:Word001-1011-18保留地址地址,配置I/O总线自动创建地址(1)高速计数器©ABBGroupSeptember17,2019|Slide27DI524AX522DI524DC532IB0IB1IB2IB3IB16IB17IB18IB19IB30IB31IB32IB33IW23...30QB38QB39QW29…QW36Fastcounter:IB4…IB15QB0---QB17Fastcounter:IB20…IB29QB20…QB37Fastcounter:IB34…IB45QB40…QB57CPU地址,配置I/O总线自动创建地址(2)©ABBGroupSeptember17,2019|Slide28%IX0.0…%IX0.7%IX1.0…%IX1.7地址及I/O总线配置I/O设备配置实例PLC配置:©ABBGroupSeptember17,2019|Slide291.CoDeSysHelp\TargetSystem\AC500/S500\SystemTechnology\SystemTechnologyoftheAC500CPUs\Inputs,outputsandflagsinAC500地址及I/O总线配置参考资料©ABBGroupSeptember17,2019|Slide30
本文标题:ABB公司AC500PLC培训课程第一天1-7_Address_structure_CN
链接地址:https://www.777doc.com/doc-956625 .html