




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
Overview,,
TheIOFunctionslibrarycontainsfunctionblockswithwhichservices/functionscanbeexecutedontheIOdevices(fieldbusmastersorslaves).,,
,,,
Functionblocks,,
,,,
GeneralIOFBs,,
Name,Description,功能介紹
IOF_DeviceReset,TheIOF_DeviceResetfunctionblockresetsanIOdevice(e.g.afieldbuscard).ThefunctioncorrespondstotheonlineresetfunctionfromtheTwinCAT->I/O->Devices->Devicexyzcontextmenu.,重置IO設(shè)備(如現(xiàn)場(chǎng)總線卡)
IOF_GetBoxAddrByName,"TheIOF_GetBoxAddrByNamefunctionblockdeterminesthefieldbusaddressofabox(box=slave,module,station),knowingtheboxnameandthedeviceID.Ifnofieldbusaddressisavailable,thefunctionblockreturnsaphysicaloralogicaladdress.(InthecaseoftheBeckhoffLightbus,forinstance,itisthephysicalboxnumberintheopticalfiberring,whileinProfibusitisthestationaddress).Theboxidentifierispassedasastringtothefunctionblock,andcanbespecifiedbytheuserduringtheconfigurationintheTwinCATsystem.",通過從站名字和設(shè)備ID號(hào)(UINT),讀取現(xiàn)場(chǎng)總線從站號(hào)。如果不能得到現(xiàn)場(chǎng)總線的地址,該功能塊會(huì)返回物理或者邏輯地址。
IOF_GetBoxAddrByNameEx,"TheIOF_GetBoxAddrByNameExfunctionblockdeterminesthefieldbusaddressofabox(box=slave,module,station),knowingtheboxnameandthedevicename.Ifnofieldbusaddressisavailable,thefunctionblockreturnsaphysicaloralogicaladdress.(InthecaseoftheBeckhoffLightbus,forinstance,itisthephysicalboxnumberintheopticalfiberring,whileinProfibusitisthestationaddress).Theboxidentifierandthedeviceidentifierarepassedasstringstothefunctionblock,andcanbespecifiedbytheuserduringtheconfigurationintheTwinCATsystem.","通過從站名字和設(shè)備ID號(hào)(string),讀取現(xiàn)場(chǎng)總線從站號(hào)。如果不能得到現(xiàn)場(chǎng)總線的地址,該功能塊
會(huì)返回物理或者邏輯地址。"
IOF_GetBoxCount,"TheIOF_GetBoxCountfunctionblockreadsthenumberofconfiguredandactiveboxes(box=slave,module,station)ofanIOdevice.",讀取現(xiàn)場(chǎng)總線的配置過并且正在運(yùn)行的從站個(gè)數(shù)
IOF_GetBoxNameByAddr,"TheIOF_GetBoxNameByAddrfunctionblockdeterminestheboxname,knowingthedeviceIDandthefieldbusaddressofabox(box=slave,module,station).Ifnofieldbusaddressisavailable,aphysicaloralogicaladdresscanbesuppliedasafieldbusaddresstothefunctionblock(InthecaseoftheBeckhoffLightbus,forinstance,itisthephysicalboxnumberintheopticalfiberring).WhensuccessfulthefunctionblockreturnstheboxidentifierconfiguredinTwinCATasastring.","通過控制器的AMSNetID,設(shè)備ID號(hào)和從站號(hào)讀取現(xiàn)場(chǎng)總線的從站名稱。如果不能得到現(xiàn)場(chǎng)總線的地址,
該功能塊會(huì)返回物理或者邏輯地址。"
IOF_GetBoxNetId,"Someboxes(slavemodules)canbeassignedanAmsNetIdduringtheconfigurationinTwinCAT.TheAmsNetIdcanthenbeusedtoexecutefirmwarefunctionsonthebox.TheIOF_GetBoxNetIdfunctionblockdeterminestheTwinCATnetworkaddress,knowingthedeviceIDofthemasterandthefieldbusaddressorlogicaladdressinthefieldbus.ThedeviceIDsarespecifiedbytheTwinCATsystemduringtheconfigurationandcannotbeconfiguredbytheuser.","通過控制器的AMSNetID,設(shè)備ID號(hào)和從站地址來讀取現(xiàn)場(chǎng)總線的網(wǎng)絡(luò)號(hào)及(NetId)"
IOF_GetDeviceCount,TheIOF_GetDeviceCountfunctionblockreadsthenumberofconfiguredandactiveIOdevices.,讀取允許配置和活躍的I/O設(shè)備的個(gè)數(shù)
IOF_GetDeviceIDByName,"TheIOF_GetDeviceIDByNamefunctionblockdeterminesthedeviceIDofanIOdevice,knowingthedevicename.Whensuccessful,thefunctionblockreturnsthedeviceIDspecifiedbytheTwinCATsystemduringtheconfiguration.ThedeviceIDscannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID和設(shè)備名稱來讀取設(shè)備的ID號(hào)
IOF_GetDeviceIDs,"TheIOF_GetDeviceIDsfunctionblockreadsthedeviceIDsofallconfiguredandactiveIOdevicesintoadatabuffer.Thedatabuffercanbedefinedasanarrayofwordvariables.Whensuccessful,thefunctionblockreturnsthetotalnumberofthedeviceIDsthatexistinthefirstdataword,whiletheremainingdatawordscontainthecorrespondingdeviceIDsoftheindividualI/Odevices.ThedeviceIDsarespecifiedbytheTwinCATsystemduringtheconfigurationandcannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID讀取用戶配置好的所有設(shè)備的設(shè)備ID號(hào)
IOF_GetDeviceInfoByName,"TheIOF_GetDeviceInfoByNamefunctionblockdeterminesthedeviceIDofanIOdeviceanditsTwinCATnetworkaddress,knowingthedevicename.ThedeviceIDscannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID和設(shè)備名稱,讀取設(shè)備的NetID和設(shè)備ID號(hào)
IOF_GetDeviceName,"TheIOF_GetDeviceNamefunctionblockreadsthedevicenameofanIOdevice.ThedeviceidentifiercanbespecifiedbytheuserduringtheconfigurationintheTwinCATsystem.WhenthesystemstartsupitisthensentasastringtotheI/Odrivers,andcanbereadbytheADScommands.TheI/OdevicewhosedeviceidentifieristobereadisspecifiedbytheinputvariableDEVICEID.",通過控制器的TwinCAT的AMSNetID和設(shè)備ID號(hào),讀取設(shè)備名稱
IOF_GetDeviceNetId,"SomeIOdevicescanbeassignedaTwinCATnetworkaddressduringtheconfigurationintheTwinCATsystem(e.g.FC310xProfibuscardorCP9030card).Thenetworkaddresscanthenbeusedtoexecutefirmwarefunctionsonthedevice.TheIOF_GetDeviceNetIdfunctionblockdeterminesthenetworkaddress,knowingthedeviceID.ThedeviceIDsarespecifiedbytheTwinCATsystemduringtheconfigurationandcannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID和設(shè)備ID號(hào),讀取設(shè)備的NetID
IOF_GetDeviceType,"TheIOF_GetDeviceTypefunctionblockdeterminesthetypeofdevice,knowingthedeviceID.ThedeviceIDsarespecifiedbytheTwinCATsystemduringtheconfigurationandcannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID和設(shè)備ID號(hào),讀取設(shè)備的類型
,,,
ASImasterterminal,,
Name,Description,功能介紹
Overview,FunctionblocksforaccessingtheASImasterterminal.,
FB_ASI_Addressing,,重新設(shè)置ASI的某個(gè)從站地址
FB_ASI_SlaveDiag,,讀取ASI從站診斷信息
FB_ASI_ReadParameter,,讀取ASI從站參數(shù)
FB_ASI_WriteParameter,,寫入ASI從站參數(shù)
FB_ASI_Processdata_digital,,
FB_ASI_ParameterControl,TheFB_ASI_ParameterControlrealizesthebackgroundcommunicationbetweentheASImasterterminalandtheindividualblocksoftheLib.,實(shí)現(xiàn)ASI主站之間的背景通訊
FB_ReadInput_analog,,讀取ASI從站的通道值
FB_WriteOutput_analog,,寫入ASI從站的通道值
,,,
BeckhoffLightbus,,
Name,Description,功能介紹
IOF_LB_BreakLocationTest,"TheIOF_LB_BreakLocationTestfunctionblockcarriesoutabreaklocationtestinaBeckhoffLightbusopticalfiberringandcanlocatepossiblebreaklocations.Ifnobreaklocationisdetectedduringthetest,theoutputvariableBOXNOreturnsthecurrentnumberofLightbusmodulesinthering.IfabreaklocationisdetectedbeforetheNthmoduleinfrontofthereceiverinput,theBREAKflagissetandthemodulenumberisprovidedviatheoutputvariableBOXNO.IftheBOXNOvariablereturnsavalueof0xFFthebreaklocationissituatedimmediatelyinfrontofthereceiverinput,andcannotbelocated.","在BeckhoffLightbus光纖環(huán)執(zhí)斷路位置測(cè)試和找到可能的破壞位置。在測(cè)試期間,如果沒有發(fā)現(xiàn)斷路位置,輸出變量BOXNO返回當(dāng)前環(huán)Lightbus模塊的數(shù)量。如果休息位置之前檢測(cè)到第n個(gè)模塊在接收機(jī)輸入前,打破標(biāo)志設(shè)置和模塊是通過輸出變量BOXNO提供的數(shù)量。如果BOXNO變量返回值0xff立即休息位置坐落在接收機(jī)輸入,并且不能。"
IOF_LB_ParityCheck,"TheIOF_LB_ParityCheckfunctionblockreadstheparityerrorcountersoftheBeckhoffLightbusmodules(e.g.BK2000).IncontrasttothefunctionblockIOF_LB_ParityCheckWithReset,thecounterstatesarenotreset.Themastermaintainsan8-biterrorcounterforeachmodule.Thesecountersworkwithoutoverflow.Amaximumof256bytesofdata,andtherefore256counters,canberead.ThenumberoferrorcounterstobereadisspecifiedbytheinputvariablesLENandDESTADDR.If,forinstance,thereareonly5modulesinthering,thentheDESTADDRparametercanbesuppliedwiththeaddressofadatabufferof5bytes,andtheLENparametercanbesuppliedwiththevalue5.","讀取Beckhofflightbus模塊奇偶校驗(yàn)錯(cuò)誤計(jì)數(shù)器。和IOF_LB_ParityCheckWithReset比較,計(jì)數(shù)器
不能狀態(tài)不能重置。主站對(duì)每個(gè)模組都有一個(gè)字節(jié)的錯(cuò)誤計(jì)數(shù)器,這些計(jì)數(shù)器不會(huì)溢出。最多256個(gè)字節(jié)的數(shù)據(jù),因此256計(jì)數(shù)器可以讀取。"
IOF_LB_ParityCheckWithReset,"TheIOF_LB_ParityCheckWithResetfunctionblockreadstheparityerrorcountersoftheBeckhoffLightbusmodules(e.g.BK2000).Thecountersarethenreset.Themastermaintainsan8-biterrorcounterforeachmodule.Thesecountersworkwithoutoverflow.Amaximumof256bytesofdata,andtherefore256counters,canberead.ThenumberoferrorcounterstobereadisspecifiedbytheinputvariablesLENandDESTADDR.If,forinstance,thereareonly5modulesinthering,thentheDESTADDRparametercanbesuppliedwiththeaddressofadatabufferof5bytes,andtheLENparametercanbesuppliedwiththevalue5.",讀取Beckhofflightbus模塊奇偶校驗(yàn)錯(cuò)誤計(jì)數(shù)器。計(jì)數(shù)器狀態(tài)能重置。主站對(duì)每個(gè)模組都有一個(gè)字節(jié)的錯(cuò)誤計(jì)數(shù)器,這些計(jì)數(shù)器不會(huì)溢出。最多256個(gè)字節(jié)的數(shù)據(jù),因此256計(jì)數(shù)器可以讀取。
,,,
BeckhoffUPS(configuredwithWindowsUPSService),,
Name,Description,功能介紹
FB_GetUPSStatus,"Requirements:
BeckhoffUPSsoftwarecomponentshavebeeninstalled",讀取UPS的信息及狀態(tài),注意:使用該功能塊之前必須裝有倍福的UPS配置軟件
,,,
BusTerminalconfiguration,,
Name,Description,功能介紹
FB_KL1501Config,FunctionblockforparameterizingaKL1501:Single-channelcounterterminal.,設(shè)置及讀取KL1501模塊的參數(shù)設(shè)置
FB_KL27x1Config,FunctionblockforparameterizingaKL2751/KL2761:Single-channeldimmerterminal.,設(shè)置及讀取KL2751/2761模塊的參數(shù)設(shè)置
FB_KL320xConfig,"FunctionblockforparameterizingaKL3201,KL3202orKL3204:Inputterminalforresistancesensors.",設(shè)置及讀取KL3201/KL3202/KL3204模塊的參數(shù)設(shè)置
FB_KL3208Config,FunctionblockforparameterizingaKL3208-0010:8-channelinputterminalforresistancesensors.,設(shè)置及讀取KL3208模塊的參數(shù)設(shè)置
FB_KL3228Config,FunctionblockforparameterizingaKL3228:8-channelinputterminalforresistancesensors.,設(shè)置及讀取KL3228模塊的參數(shù)設(shè)置
CANopen,,
Name,Description,功能介紹
IOF_CAN_Layer2Command,TheIOF_CAN_Layer2Commandfunctionblocksendsa10-bytelongcommandtolayer2ofaCANmaster.,通過該功能塊實(shí)現(xiàn)發(fā)送10個(gè)字節(jié)到can主站的第2層
NOV/DP-RAM,,
Name,Description,功能介紹
FB_NovRamReadWrite,"TheFB_NovRamReadWritefunctionblockaccessestheNOV-RAMoftheFCxxxx-0002fieldbuscardsfromaPLCprogram.ActivationofthefunctionblockistriggeredbyarisingedgeatthebReadorbWriteinput.AcertainnumberofdatabytesisreadfromorwrittentotheNOV-RAM.Ifbothinputs,bReadandbWrite,aresetsimultaneously,thedataarefirstwrittenintotheNOV-RAMandthenreadback.",通過該功能塊可以把一定數(shù)量的字節(jié)數(shù)讀取或者寫入到FCxxx-0002板卡的NOR-RAM,實(shí)現(xiàn)數(shù)據(jù)的斷電保持。如果讀取和寫入的條件同事觸發(fā),數(shù)據(jù)先寫入NOV-RAM中,然后再讀取。
FB_NovRamReadWriteEx,"TheFB_NovRamReadWriteExfunctionblockaccessestheNOV-RAM(e.g.oftheFCxxxx-0002fieldbuscards,CX9000NOVRAM,etc.)fromaPLCprogram.ActivationofthefunctionblockistriggeredbyarisingedgeatthebReadorbWriteinput.AcertainnumberofdatabytesisreadfromorwrittentotheNOV-RAM.Ifbothinputs,i.e.bReadandbWritearesetatthesametime,dataarefirstwrittentotheNOV-RAMandthenreadback.UnlikewiththeFB_NovRamReadWriteblock,theaddressoffsetforwriteandreadaccesscanbespecifiedintheNOV-RAM.TheblockalsochecksthepermittedNOV-RAMmemoryaccessmodeandcopiesdatabytebybyteintotheNOV-RAMmemoryifrequired,insteadofusingMEMCPY.TheCX9000NOV-RAM,forexample,onlyallowsbyteaccess,andtheFB_NovRamReadWriteblockwouldreturnanerrorinthiscase.",通過該功能塊可以把一定數(shù)量的字節(jié)數(shù)讀取或者寫入到NOR-RAM(FCxxx-0002板卡,CX9000NOVRAM等),實(shí)現(xiàn)數(shù)據(jù)的斷電保持。如果讀取和寫入的條件同事觸發(fā),數(shù)據(jù)先寫入NOV-RAM中,然后再讀取
FB_GetDPRAMInfo,"TheFB_GetDPRAMInfofunctionblockdeterminestheaddresspointerandtheconfiguredsizeoftheNOV/DP-RAMofafieldbuscard.Theaddresspointercanbeused,forexample,fordirectwriteorreadaccessoftheNOV-RAMoftheFCxxx-0002(Beckhoff)cardsortheDPRAMofcardsthatarenotsupportedbyTwinCAT(third-partymanufacturers).First,thecardhastobeconfiguredasgeneralNOV/DP-RAMwithintheTwinCATsystem.TheMEMCPY,MEMSETorMEMCMPfunctionsofthePLCprogramcanthenbeusedforwrite/readaccesstoanymemoryoffset.","通過該功能塊可以讀取NOV/DP-RAM卡的其實(shí)指針和配置地址,地址指針可以被使用,例如直接讀寫
FCxxx-0002的卡或者第三方的DPRAM卡(該卡必須要通過TwinCAT配置為NOV/DP-RAM卡)。然后通過
MEMCPYMEMSET或MEMCMPPLC程序的函數(shù)可以用來寫/讀訪問任何內(nèi)存偏移量"
FB_GetDPRAMInfoEx,"TheFB_GetDPRAMInfofunctionblockdeterminestheaddresspointerandtheconfiguredsizeoftheNOV/DP-RAMofafieldbuscard.Theaddresspointercanbeused,forexample,fordirectwriteorreadaccessoftheNOV-RAMoftheFcxxx-0002(Beckhoff)cardsortheDPRAMofcardsthatarenotsupportedbyTwinCAT(third-partymanufacturers).First,thecardhastobeconfiguredasgeneralNOV/DP-RAMwithintheTwinCATsystem.","通過該功能塊可以讀取NOV/DP-RAM卡的其實(shí)指針和配置地址,地址指針可以被使用,例如直接讀寫FCxxx-0002的卡或者第三方的DPRAM卡(該卡必須要通過TwinCAT配置為NOV/DP-RAM卡)。
然后通過MEMCPYMEMSET或MEMCMPPLC程序的函數(shù)可以用來寫/讀訪問任何內(nèi)存偏移量;其中和FB_GetDPRAMInfo區(qū)別在于,該功能塊可以實(shí)現(xiàn)對(duì)CX9000NOVRAM的讀取和寫入"
ProfibusDPV1(Sinamics),,
Name,Description,功能介紹
F_CreateDpv1ReadReqPkg,"The“F_CreateDpv1ReadReqPkg”functioncreatesaDPV1telegramforanFB_Dpv1ReadofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1).SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","該功能塊創(chuàng)建DPV1報(bào)文,通過該報(bào)文和FB_Dpv1Read讀取一個(gè)或者多個(gè)驅(qū)動(dòng)或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動(dòng)是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動(dòng)交換參數(shù)的字節(jié)順序。"
F_CreateDpv1WriteReqPkg,"The“F_CreateDpv1WriteReqPkg”functioncreatesaDPV1telegramforanFB_Dpv1WriteofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1).SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","該功能塊創(chuàng)建DPV1報(bào)文,通過該報(bào)文和FB_Dpv1Write寫入一個(gè)或者多個(gè)驅(qū)動(dòng)或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動(dòng)是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動(dòng)交換參數(shù)的字節(jié)順序。"
F_SplitDpv1ReadResPkg,"The“F_SplitDpv1ReadResPkg”functioncreatesaDPV1telegramforanFB_Dpv1ReadofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1).SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","該功能塊創(chuàng)建DPV1報(bào)文,通過該報(bào)文和FB_Dpv1Read讀取一個(gè)或者多個(gè)驅(qū)動(dòng)或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動(dòng)是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動(dòng)交換參數(shù)的字節(jié)順序。和F_CreateDpv1ReadReqPkg相比較,該功能塊返回實(shí)際DPV1報(bào)文長(zhǎng)度。"
F_SplitDpv1WriteResPkg,"The“F_SplitDpv1WriteResPkg”functioncreatesaDPV1telegramforanFB_Dpv1WriteofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1).SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.
ThefunctionreturnstheactuallengthoftheDPV1telegraminbytes(max.240bytes).","該功能塊創(chuàng)建DPV1報(bào)文,通過該報(bào)文和FB_Dpv1Write讀取一個(gè)或者多個(gè)驅(qū)動(dòng)或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動(dòng)是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動(dòng)交換參數(shù)的字節(jié)順序。和F_CreateDpv1WriteReqPkg相比較,該功能塊返回實(shí)際DPV1報(bào)文長(zhǎng)度。"
FB_Dpv1Read,"The“FB_Dpv1Read”functionblockreadsoneormoreparametersofaSinamicsProfidriveviaDPV1(ProfidriveSpecification3.1).TheDPV1readtelegrammustbecreatedwithF_CreateDpv1ReadReqPkgbeforearisingedgeispresentatbExecute.TheDPV1responsetelegrammustbeevaluatedwithF_SplitDpv1ReadResPkgafterafallingedgeappearsatbBusy.
Theexecutionofthisfunctionblockrequiressometime,dependingonthenumberofparameterstoberead.ThefunctionblocksendstheDPV1telegramandpollsforaresponsetelegram.",該功能塊通過DPV1((Profidrive規(guī)范3.1)讀取Profidrive的一個(gè)或者多個(gè)參數(shù)。DPV1的讀取的報(bào)文必須通過F_CreateDpv1ReadReqPkg創(chuàng)建
FB_Dpv1Write,The“FB_Dpv1Write”functionblockwritesoneormoreparametersofaSinamicsProfidriveviaDPV1(ProfidriveSpecification3.1).TheDPV1writetelegrammustbecreatedwithF_CreateDpv1WriteReqPkgbeforearisingedgeispresentatbExecute.TheDPV1responsetelegrammustbeevaluatedwithF_SplitDpv1WriteResPkgafterafallingedgeappearsatbBusy.,"該功能塊通過DPV1((Profidrive規(guī)范3.1)寫入Profidrive的一個(gè)或者多個(gè)參數(shù)。DPV1的寫入的報(bào)文
必須通過F_CreateDpv1ReadReq"
,,,
ProfinetDPV1(Sinamics),,
Name,Description,功能介紹
F_CreateDpv1ReadReqPkgPNET,"The“F_CreateDpv1ReadReqPkg”functioncreatesaDPV1telegramforanFB_Dpv1ReadPNETofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1)thatisconnectedviaProfinet.SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","該功能塊創(chuàng)建DPV1報(bào)文,通過該報(bào)文和FB_Dpv1ReadPNET讀取一個(gè)或者多個(gè)驅(qū)動(dòng)或者西門Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動(dòng)是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動(dòng)交換參數(shù)的字節(jié)順序。"
F_CreateDpv1WriteReqPkgPNET,"The“F_CreateDpv1WriteReqPkgPNET”functioncreatesaDPV1telegramforanFB_Dpv1WritePNETofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1)thatisconnectedviaProfinet.SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","創(chuàng)建DPV1報(bào)文,通過該報(bào)文和FB_Dpv1WritePNT寫入一個(gè)或者多個(gè)驅(qū)動(dòng)或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動(dòng)是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動(dòng)交換參數(shù)的字節(jié)順序。"
F_SplitDpv1ReadResPkgPNET,"The“F_SplitDpv1ReadResPkgPNET”functioncreatesaDPV1telegramforanFB_Dpv1ReadPNETofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1)thatisconnectedviaProfinet.SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","創(chuàng)建DPV1報(bào)文,通過該報(bào)文和FB_Dpv1ReadPNET讀取一個(gè)或者多個(gè)驅(qū)動(dòng)或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動(dòng)是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動(dòng)交換參數(shù)的字節(jié)順序。和F_CreateDpv1ReadReqPkg相比較,該功能塊返回實(shí)際DPV1報(bào)文長(zhǎng)度。"
F_SplitDpv1WriteResPkgPNET,"The“F_SplitDpv1WriteResPkgPNET”functioncreatesaDPV1telegramforanFB_Dpv1WritePNETofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1)thatisconnectedviaProfinet.SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","創(chuàng)建DPV1報(bào)文,通過該報(bào)文和FB_Dpv1WritePNET讀取一個(gè)或者多個(gè)驅(qū)動(dòng)或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動(dòng)是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動(dòng)交換參數(shù)的字節(jié)順序。和F_CreateDpv1WriteReqPkg相比較,該功能塊返回實(shí)際DPV1報(bào)文長(zhǎng)度。該功能塊通過DPV1((Profidrive規(guī)范3.1)寫入Profidrive的一個(gè)或者多個(gè)參數(shù)。DPV1的寫入的報(bào)文必須通過F_CreateDpv1ReadReq"
FB_Dpv1ReadPNET,The“FB_Dpv1ReadPNET”functionblockreadsoneormoreparametersofaSinamicsProfidriveviaDPV1(ProfidriveSpecification3.1)viaProfinet.TheDPV1readtelegrammustbecreatedwithF_CreateDpv1ReadReqPkgPNETbeforearisingedgeispresentatbExecute.TheDPV1responsetelegrammustbeevaluatedwithF_SplitDpv1ReadResPkgPNETafterafallingedgeappearsatbBusy.,"通過DPV1((Profidrive規(guī)范3.1)讀取Profidrive的一個(gè)或者多個(gè)參數(shù)。DPV1的讀取的報(bào)文必須通過
F_CreateDpv1ReadReqPkgPNET創(chuàng)建"
FB_Dpv1WritePNET,The“FB_Dpv1WritePNET”functionblockwritesoneormoreparametersofaSinamicsProfidriveviaDPV1(ProfidriveSpecification3.1)viaProfinet.TheDPV1writetelegrammustbecreatedwithF_CreateDpv1WriteReqPkgPNETbeforearisingedgeispresentatbExecute.TheDPV1responsetelegrammustbeevaluatedwithF_SplitDpv1WriteResPkgPNETafterafallingedgeappearsatbBusy.,"通過DPV1((Profidrive規(guī)范3.1)寫入Profidrive的一個(gè)或者多個(gè)參數(shù)。DPV1的寫入的報(bào)文必須通過
F_CreateDpv1WriteReqPkgPNET"
RAIDController,,
Name,Description,功能介紹
FB_RAIDFindCntlr,ThisfunctionreturnsthecountervalueoftheRAIDcontrollerandthecorrespondingcontrollerIDs.,讀取RAID控制器的數(shù)量和相應(yīng)控制器的ID號(hào)
FB_RAIDGetInfo,ThisfunctionblockreturnsaRAIDinfo.containingthenumberofRAIDcontrollersetsandthemaximumnumberofdrivesperset.,讀取RAID信息,包含磁盤陣列控制器的數(shù)量每組集和驅(qū)動(dòng)器的最大數(shù)量。
FB_RAIDGetStatus,"ThisfunctionblockreturnstheRAIDsetindex,theRAIDtype,theRAIDstatus,thenumberofRAIDdrivesandthestatusoftheRAIDdrives.","讀取RAID設(shè)置索引,RAID類型,RAID狀態(tài),RAID驅(qū)動(dòng)器和RAID驅(qū)動(dòng)器的狀態(tài)。"
,,,
SERCOS,,
Name,Description,功能介紹
IOF_SER_GetPhase,The“IOF_SER_GetPhase”functionblockdeterminesthecurrentcommunicationphaseontheSERCOSring.Thecommunicationphasecanhaveavaluefrom0to4.,獲取SERCOS環(huán)的當(dāng)前通訊階段,通訊階段可以通過0-4數(shù)值代表
IOF_SER_SaveFlash,The“IOF_SER_SaveFlash”functionblockchecksthesystemparameterslocatedintheDPRAMmemory.IfnoerrorispresentitactivatesthemandsavesthemintheEEPROM.ThefunctionblockcanadjustsystemparametersintheEEPROMofthecontrollertosuittheapplication.,檢查在DPRAM內(nèi)存的系統(tǒng)參數(shù)。如果沒有報(bào)錯(cuò),激活并保存在EEPROM。這個(gè)功能塊可以在EEPROM調(diào)整系統(tǒng)參數(shù)來適應(yīng)應(yīng)用程序
IOF_SER_ResetErr,"The“IOF_SER_ResetErr”functionblockclearsthefollowingerrorsofaSERCOSmaster:
?
Theerrorsintheexistingdrives;
?
Thediagnosticstatusinthediagnosticschanneloftheexistingdrives;
?
Thesystemerror;","清除SERCOS主站的以下報(bào)錯(cuò):
1.現(xiàn)有驅(qū)動(dòng)器中的錯(cuò)誤
2.診斷狀態(tài)在現(xiàn)有驅(qū)動(dòng)的診斷通道
3.系統(tǒng)錯(cuò)誤"
IOF_SER_SetPhase,The“IOF_SER_SetPhase”functionblockcarriesoutthephaseboot-upintheSERCOSringtoacertainvalue.,執(zhí)行SERCOS環(huán)的啟動(dòng)階段到某個(gè)固定值
IOF_SER_IDN_Read,The“IOF_SER_IDN_Read”functionblockallowsavaluetobereadfromanS-orP-parameterofaSercosdrive.Datatypeandsizearedeterminedautomaticallyonthebasisoftheattribute.,讀取Sercos驅(qū)動(dòng)的S-或者P-參數(shù),可以自動(dòng)確認(rèn)數(shù)據(jù)類型和大小。
IOF_SER_IDN_Write,The“IOF_SER_IDN_Write”functionblockallowsavaluetobewrittentoanS-orP-parameterofaSercosdrive.Datatypeandsizearedeterminedautomaticallyonthebasisoftheattribute.,寫入SERCOS驅(qū)動(dòng)的S-或者P-參數(shù),可以自動(dòng)確認(rèn)數(shù)據(jù)類型和大小。
IOF_SER_DRIVE_Backup,The“IOF_SER_DRIVE_Backup”functionblockallowsthebackupandrestoreofthedrivedata(S-andP-parameters)ofthePLCinabinaryfile.ThelistofS-andP-parameterdatatobebackedupistakenbydefaultfromtheSercosparameterIDN192.BackupandrestorerequiretheSERCOSparametermode(phase2).,"通過PLC里面的二進(jìn)制文件實(shí)現(xiàn)驅(qū)動(dòng)的備份和恢復(fù)數(shù)據(jù)(S-或者P-參數(shù)),參數(shù)列表備份是SERCOS參數(shù)IDN192默認(rèn)參數(shù)。
"
IOF_SER_DRIVE_BackupEx,The“IOF_SER_DRIVE_BackupEx”functionblockpermitsthebackupandrestoreofthedrivedata(S-andP-parameters)viathePLCtoabinaryfileorbacktothedrive.ThelistofS-andP-parameterdatatobebackedupistakenbydefaultfromtheSercosparameterIDN192.BackupandrestorerequiretheSERCOSparametermode(phase2).,"通過PLC里面的二進(jìn)制文件實(shí)現(xiàn)驅(qū)動(dòng)的備份和恢復(fù)數(shù)據(jù)(S-或者P-參數(shù)),參數(shù)列表備份是SERCOS參數(shù)
IDN192默認(rèn)參數(shù)。"
IOF_SER_DRIVE_Reset,The“IOF_SER_DRIVE_Reset”functionblockresetsaSercosdrive.Driveerrorsarecleared.,重置Sercos驅(qū)動(dòng)。驅(qū)動(dòng)的報(bào)錯(cuò)會(huì)被清除。
Thirdpartydevices,,
Name,Description,功能介紹
PhoenixIBSSC/I-T,,
Overview,ThelibraryoffersaconvenientpossibilitytoexecutethemostimportantfirmwareservicesofthePhoenixIBSSC/I-TinterbuscardforbuscontrolfromtheTwinCATPLC.Thefollowingdiagramillustratesthestatesandthetransitionconditionsofthebuscontrol.,該庫(kù)文件為控制旁路母線板卡提供了方便,快捷的方式
SCIT_ActivateConfiguration,"The""SCIT_ActivateConfiguration""functionblockservesasanauxiliaryblockinordertocarryoutanActivate_ConfigurationontheInterbuscardthatisaddressedbytheNETIDandthePORT.AnActivate_ConfigurationsetsthecardintheACTIVEstate.",通過NETID和端口號(hào),激活旁路母線板卡,激活配置把板卡設(shè)置到活動(dòng)狀態(tài)。
SCIT_DeactivateConfiguration,"The""SCIT_DeactivateConfiguration""functionblockservesasanauxiliaryblockinordertocarryoutaDeactivate_ConfigurationontheInterbuscardthatisaddressedbytheNETIDandthePORT.AnDeactivate_ConfigurationplacesthecardinthePAR_READYstateandresetsalltheoutputs.",通過NETID和端口號(hào),禁用旁路母線板卡,禁用配置讓板卡處于PAR_READY狀態(tài)和重置所有的輸出。
SCIT_StartDataTransfer,"The""SCIT_StartDataTransfer""functionblockservesasanauxiliarybloc
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 國(guó)際貿(mào)易采購(gòu)委托代理風(fēng)險(xiǎn)控制合同
- 餐飲店面品牌使用權(quán)及經(jīng)營(yíng)許可證轉(zhuǎn)讓合同樣本
- 高鐵車站配套設(shè)施采購(gòu)合同模板
- 工程項(xiàng)目地質(zhì)測(cè)繪成果保密與管理合同
- 傳媒企業(yè)網(wǎng)絡(luò)直播平臺(tái)主播勞動(dòng)合同
- 企業(yè)知識(shí)產(chǎn)權(quán)抵押借款協(xié)議書
- 互聯(lián)網(wǎng)醫(yī)療健康補(bǔ)充協(xié)議書監(jiān)理合同
- 出國(guó)留學(xué)保證金擔(dān)保書服務(wù)協(xié)議
- 旅游景區(qū)停車場(chǎng)租賃服務(wù)協(xié)議書
- 湖南鐵路科技職業(yè)技術(shù)學(xué)院《教師教育》2023-2024學(xué)年第二學(xué)期期末試卷
- 北京市海淀區(qū)2024-2025學(xué)年七年級(jí)下學(xué)期期中地理試題(解析版)
- 2025年中考押題預(yù)測(cè)卷:生物(福建卷01)(考試版)
- 人工智能提示詞工程師試題含答案
- 2025-2030中國(guó)風(fēng)能風(fēng)電行業(yè)市場(chǎng)深度調(diào)研及競(jìng)爭(zhēng)格局與投資前景研究報(bào)告
- 人力資源管理2025年考試試卷及答案
- 安徽省合肥市廬江縣2023-2024學(xué)年七年級(jí)下學(xué)期6月期末數(shù)學(xué)試題
- DB31/T 920-2015產(chǎn)業(yè)園區(qū)服務(wù)規(guī)范
- 2025年大學(xué)輔導(dǎo)員招聘考試題庫(kù):學(xué)生綜合素質(zhì)評(píng)價(jià)體系與輔導(dǎo)員思想政治教育試題
- 2025年高純活性氧化鎂項(xiàng)目市場(chǎng)調(diào)查研究報(bào)告
- 個(gè)體商合伙協(xié)議書
- 商場(chǎng)消防設(shè)施管理與維護(hù)措施
評(píng)論
0/150
提交評(píng)論