付费下载
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
FBInstanceFBInstanceEndSpecifyunsedTherequirdsizevariesFunctionIfanareabeingusedspacecannotbefound,FBEndReadParameterBasicReadsaservoparameterofanStartTrigger Busy Unit Busy AxisNo. Servoparameter Error Parametersize FileLib\FBL\omronlib\PositionController\NCF\NCF201CPUCS1*-CPU**HUnitVersion3.0orlaterCJ1*-CPU**HUnitVersion3.0orCJ1M-CPU**UnitVersion3.0orlaterVersion5.0orLanguagesfunctionblockThefollowingconditionsforusageshouldbethePositionControlUnitversion1.2orearlier.(ItwillnotberequiredinthePositionControlUnitversion1.3orlater)ThefunctionblocksrelatedtothePositionControlUnitswillnotoperateiftheareaH512orhigher(defaultsetting)isspecifiedastheNonRetainAreathroughtheFunctionblockmemoryallocation.Makesuretochangethememoryareatounusedarea(DMorEM,forexample)fromtheCX-Programmer.Tochangethisvalue,clickPLC/FunctionBlockMemory/FunctionBlockMemoryAllocationfromthe FunctionBlockMemoryAllocationependingontheusedFBandthenumberofFBs.theladderprogramisspecifiedorsufficienteCX-Programmerwill yacompile areafromD32020toD32767 (748words),specifyaddressesasshownintheWhentheStartTriggerturnsON,thespecifiedparametervaluefortheaxisofthespecified“UnitNo.(UnitNo)”and“AxisNo.(Axis)”isreadfromtheServoDriver.IftheFBexecutionendsinanerror,anerrorcodewillbeoutputtothe“ErrorcodeThisFBexecutestheservoparametertransferfunctionofthePositionControlUnit.RefertotheRelatedsfordetails.ThisFBisprocessedovermultipleThesameinstancecannotbeusedintwoormorecesinordertokeeptheinternal・TheFBisprocessedovermultiplecyclesTheBusyflagBusycanbeusedtocheckwhethertheFBisbeingprocessed.・“ReadcompletedDoneorErrorflag(Error)willbeturnedONforonecycleonlyafterprocessingiscompleted.UsetheseflagstodetectofFBprocessing.StartTriggerBusyDoneError Read ReadENinputoutputfromtheFB.・IftheinputvariablesareoutofrangetheENOFlagwillturnOFFandtheFBwillnotbe・ThisFBusesUnitErrorReset,READDATA,WRITEDATA,andSAVEDATABitsofthePositionControlUnitseeNoteTherefore,donotturnthesebitsONorOFFbetweentheperiodfromtherisingedgeofENtotherisingedgeofENO.Forthesamereason,donotusethesebitsforcoiloutputs(OUTcommands).・TheremaybeacasewheretheoutputvariableofFBwillnotchangeevenifENisturnedONInthatcase,checkifUnitErrorReset,READDATA,WRITEDATA,orSAVEDATABitisleftON.・ThisFBusestheReadServoParameterBitintheAxisOperatingOutputMemoryAreasTherefore,donotturnthesebitsONorOFFuntiltheoperationiscompleted.Forthesamereason,donotusethesebitsforcoiloutputs(OUTcommands).Forcalculationofbitaddresses,thesebitsarereferencedinthisFBwhenexecutingeachinstanceforthefirst・TheBusyflagBusymustbeinsertedtoORofinputconditionstoInputvariableENinordertocompletethisprocessasitshouldbeexecutedovermultiplecycles.(Referto“Symbol”)・DonotturntheBusyflagBusyON/OFFoutsideoftheWhenturningtheBitAONfromOFF,aservoparameter(thespeedloopgain)isreadfromaxis1oftheServomotorconnectedtothePositionControlUnitwithunitnumber0andstoredinD0.Unit Axis1BitA Bit Unit Busy BitAxis Read BitServoparameter Error BitParameter Error s5-3TransferringServoParameters12-4ErrorVariableTablesInputData1(ON):FB0(OFF):FBnotUnit&0toSpecifytheunitAxis&1toSpecifytheaxisSpecifythenumberoftheServoDriverparametertoread.&1toSpecifythenumberofbytesintheparametertoOutputData1(ON):FBoperating0(OFF):FBnotoperating・FBnot・Inputvariableoutofthe・FBendedwith・CommonParameterscouldnotbeBusyAutomaticallyturnsOFFwhenprocessingisReadTurnsONforonecyclewhenprocessingendsErrorTurnsONforonecyclewhenprocessingendsinanErrorReturnstheerrorcodewhenanerrorhasoccurredintheFB.RefertotheRelatedsfordetailsonerrors.Acodeof#0000willbereturnedifanyofthefollowingconditionsissatisfied.・Inputvariableisoutof・ThecommonparametersofthePositionControlUnitsareoutofrange.・TheReadServoParamterBitischangedbytheotherFBduringtheReadServoParamterinoperation.Theparametervaluethatwasread.Iftheparametersizeis2bytes,thedataisstoredintheloweraddress.VersionLimitationaboutthesettingtimingwith"UnitNo."and"AxisNo."wasDetailedInversion1.0x,onlythefirstsettingof"UnitNo.(UnitNo)"or"AxisNo.(Axis)"wasvalid.ThismeantthatasameinstancecouldnotbeusedtowriteServoparametersformorethanoneaxis.Inversion1.10,thislimitationwasThisexinsthefunctionofthefunctionItdoesnotprovideinformationofrestrictionsontheuseofUnitsandComponentsorcombinationofthem.Foractualapplications,makesuretoreadtheoperationsoftheapplicableproducts._NCF201_读取参数(1/3)_NCF201_读取参数NCF201_NCF201_读取参数符号_NCF201_ReadParameterStartTrigger(BOOL)(BOOL)ENENOBusyflag(INT)(BOOL)UnitNoBusyflagUnitNoBusyINT)BOOL)AxisNo(WORD)(BOOL)(INTWORD)ErrorID(DWORD)值值CJ1*CPU**HUnitVersion3.0或更高版本CJ1MCPU**UnitVersion3.0或更高版本功能块定义中的语言梯形图编程使用条件以下使用条件应为位置控制单元版本1.2或更低版本(位置控制单元版本1.3或更高版本中不需要)■CX程序员设置如果通过功能块内存分配将H512或更高区域(默认设置)指定为非保留区域,则与位置控制单元相关的功能块将不运行。a(例如,DM或EM)来自CXProgrammer。要更改此值,请从菜单栏中单击PLC/功能块内存/功能块内存分配。FunctionBlockMemoryAllocation[NewPLC1]FBInstanceAreaStartAddressEndAddressSizeOKNoRetainH512H1407896保留H1408H1535128取消定时器T3072T40951024编辑计数器了梯形图程序中正在使用的区域或找不到足够的可用空间,CXProgrammer将显示编译错误FunctionBlocMemoryAllocation[NewPLC1]FBInstanceArea保留D32020D32767748保留H1408H1535128取消定时器T3072T40951024编辑计数器C3072C40951024D32020D32767(748),指定地(Axis)FB(ErrorID)FBoFB的种类定义为多周期执行类型。此FB是在多个周期上处理的。同一实例不能在两个或多个 FBFB“Busflag(usy)”B“ReacomletedDone)Errorlag(Eror)BONStartTrigerOFFONBsyOFFONOFF错误OFF值#0000000#000000EN输入条件。将EN连接到启动触发的向上微分条件与FB输出的“Busyflag(Busy)ENENOFB将不会被处理。该功能块使用位置控制单元的单位错误复位、READDATA、WRITEDATA和SAVEDATA位(请参见注释)。因此,请勿在EN上升沿到ENO上升沿期间将这些位打开或关闭。出于同样的原因,请勿使用这些位进行线圈输出(OUT命令)。可能存在一种情况,即使E已打开,FBUnitErrorReset、READDATA、、或SAVEDATA位保留为ON..此FB使用轴操作输出内存区域中的读取伺服参数位。因此,在操作完成之前不要打开或关闭这些位。出于同样的原因,请勿将这些位用于线圈输出(OUT命令)。注意:对于位地址的计算,首次执行每个实例时,在此FB中引用这些位。输出变量。必须将“Busyflag(Busy)”插入到输入条件或输入变量EN中才能完成此过程,因为它应该在多个周期内执行。(请参阅“符号”)FB外部打开/关闭“Busyfl
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年经济师考试旅游经济高级经济实务巩固难点精析
- 汽车美容行业质量管理体系协议
- 利润增长产品研发合作合同
- 线上2026年数据标注兼职合作协议
- 自动化软件开发外包合同协议
- 视觉识别2026年环境监测图像处理协议
- 敏捷开发项目沟通协调协议2026年版
- 事业单位考试(面试题)四川省成都市巩固策略解析
- 2026年关心兄长的测试题及答案
- 2026年字词注音测试题及答案
- 环境与职业健康安全法律法规培训
- 2024年度医疗器械临床试验质量管理规范培训
- 华南理工大学《数据采集与网络爬虫》2022-2023学年期末试卷
- 《甘肃省中医康复中心建设标准(2021版)》
- GA/T 1466.3-2023智能手机型移动警务终端第3部分:检测方法
- 社会体育申报书-专业教学资源库备选项目材料
- 外贸出口商业发票(CI)模板
- 如何看懂结构图
- JJF 1384-2012开口/闭口闪点测定仪校准规范
- GB/T 6175-20162型六角螺母
- GB/T 23458-2009广场用陶瓷砖
评论
0/150
提交评论