版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
Overview,,
TheIOFunctionslibrarycontainsfunctionblockswithwhichservices/functionscanbeexecutedontheIOdevices(fieldbusmastersorslaves).,,
,,,
Functionblocks,,
,,,
GeneralIOFBs,,
Name,Description,功能介紹
IOF_DeviceReset,TheIOF_DeviceResetfunctionblockresetsanIOdevice(e.g.afieldbuscard).ThefunctioncorrespondstotheonlineresetfunctionfromtheTwinCAT->I/O->Devices->Devicexyzcontextmenu.,重置IO設(shè)備(如現(xiàn)場總線卡)
IOF_GetBoxAddrByName,"TheIOF_GetBoxAddrByNamefunctionblockdeterminesthefieldbusaddressofabox(box=slave,module,station),knowingtheboxnameandthedeviceID.Ifnofieldbusaddressisavailable,thefunctionblockreturnsaphysicaloralogicaladdress.(InthecaseoftheBeckhoffLightbus,forinstance,itisthephysicalboxnumberintheopticalfiberring,whileinProfibusitisthestationaddress).Theboxidentifierispassedasastringtothefunctionblock,andcanbespecifiedbytheuserduringtheconfigurationintheTwinCATsystem.",通過從站名字和設(shè)備ID號(UINT),讀取現(xiàn)場總線從站號。如果不能得到現(xiàn)場總線的地址,該功能塊會返回物理或者邏輯地址。
IOF_GetBoxAddrByNameEx,"TheIOF_GetBoxAddrByNameExfunctionblockdeterminesthefieldbusaddressofabox(box=slave,module,station),knowingtheboxnameandthedevicename.Ifnofieldbusaddressisavailable,thefunctionblockreturnsaphysicaloralogicaladdress.(InthecaseoftheBeckhoffLightbus,forinstance,itisthephysicalboxnumberintheopticalfiberring,whileinProfibusitisthestationaddress).Theboxidentifierandthedeviceidentifierarepassedasstringstothefunctionblock,andcanbespecifiedbytheuserduringtheconfigurationintheTwinCATsystem.","通過從站名字和設(shè)備ID號(string),讀取現(xiàn)場總線從站號。如果不能得到現(xiàn)場總線的地址,該功能塊
會返回物理或者邏輯地址。"
IOF_GetBoxCount,"TheIOF_GetBoxCountfunctionblockreadsthenumberofconfiguredandactiveboxes(box=slave,module,station)ofanIOdevice.",讀取現(xiàn)場總線的配置過并且正在運行的從站個數(shù)
IOF_GetBoxNameByAddr,"TheIOF_GetBoxNameByAddrfunctionblockdeterminestheboxname,knowingthedeviceIDandthefieldbusaddressofabox(box=slave,module,station).Ifnofieldbusaddressisavailable,aphysicaloralogicaladdresscanbesuppliedasafieldbusaddresstothefunctionblock(InthecaseoftheBeckhoffLightbus,forinstance,itisthephysicalboxnumberintheopticalfiberring).WhensuccessfulthefunctionblockreturnstheboxidentifierconfiguredinTwinCATasastring.","通過控制器的AMSNetID,設(shè)備ID號和從站號讀取現(xiàn)場總線的從站名稱。如果不能得到現(xiàn)場總線的地址,
該功能塊會返回物理或者邏輯地址。"
IOF_GetBoxNetId,"Someboxes(slavemodules)canbeassignedanAmsNetIdduringtheconfigurationinTwinCAT.TheAmsNetIdcanthenbeusedtoexecutefirmwarefunctionsonthebox.TheIOF_GetBoxNetIdfunctionblockdeterminestheTwinCATnetworkaddress,knowingthedeviceIDofthemasterandthefieldbusaddressorlogicaladdressinthefieldbus.ThedeviceIDsarespecifiedbytheTwinCATsystemduringtheconfigurationandcannotbeconfiguredbytheuser.","通過控制器的AMSNetID,設(shè)備ID號和從站地址來讀取現(xiàn)場總線的網(wǎng)絡(luò)號及(NetId)"
IOF_GetDeviceCount,TheIOF_GetDeviceCountfunctionblockreadsthenumberofconfiguredandactiveIOdevices.,讀取允許配置和活躍的I/O設(shè)備的個數(shù)
IOF_GetDeviceIDByName,"TheIOF_GetDeviceIDByNamefunctionblockdeterminesthedeviceIDofanIOdevice,knowingthedevicename.Whensuccessful,thefunctionblockreturnsthedeviceIDspecifiedbytheTwinCATsystemduringtheconfiguration.ThedeviceIDscannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID和設(shè)備名稱來讀取設(shè)備的ID號
IOF_GetDeviceIDs,"TheIOF_GetDeviceIDsfunctionblockreadsthedeviceIDsofallconfiguredandactiveIOdevicesintoadatabuffer.Thedatabuffercanbedefinedasanarrayofwordvariables.Whensuccessful,thefunctionblockreturnsthetotalnumberofthedeviceIDsthatexistinthefirstdataword,whiletheremainingdatawordscontainthecorrespondingdeviceIDsoftheindividualI/Odevices.ThedeviceIDsarespecifiedbytheTwinCATsystemduringtheconfigurationandcannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID讀取用戶配置好的所有設(shè)備的設(shè)備ID號
IOF_GetDeviceInfoByName,"TheIOF_GetDeviceInfoByNamefunctionblockdeterminesthedeviceIDofanIOdeviceanditsTwinCATnetworkaddress,knowingthedevicename.ThedeviceIDscannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID和設(shè)備名稱,讀取設(shè)備的NetID和設(shè)備ID號
IOF_GetDeviceName,"TheIOF_GetDeviceNamefunctionblockreadsthedevicenameofanIOdevice.ThedeviceidentifiercanbespecifiedbytheuserduringtheconfigurationintheTwinCATsystem.WhenthesystemstartsupitisthensentasastringtotheI/Odrivers,andcanbereadbytheADScommands.TheI/OdevicewhosedeviceidentifieristobereadisspecifiedbytheinputvariableDEVICEID.",通過控制器的TwinCAT的AMSNetID和設(shè)備ID號,讀取設(shè)備名稱
IOF_GetDeviceNetId,"SomeIOdevicescanbeassignedaTwinCATnetworkaddressduringtheconfigurationintheTwinCATsystem(e.g.FC310xProfibuscardorCP9030card).Thenetworkaddresscanthenbeusedtoexecutefirmwarefunctionsonthedevice.TheIOF_GetDeviceNetIdfunctionblockdeterminesthenetworkaddress,knowingthedeviceID.ThedeviceIDsarespecifiedbytheTwinCATsystemduringtheconfigurationandcannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID和設(shè)備ID號,讀取設(shè)備的NetID
IOF_GetDeviceType,"TheIOF_GetDeviceTypefunctionblockdeterminesthetypeofdevice,knowingthedeviceID.ThedeviceIDsarespecifiedbytheTwinCATsystemduringtheconfigurationandcannotbeconfiguredbytheuser.",通過控制器的TwinCAT的AMSNetID和設(shè)備ID號,讀取設(shè)備的類型
,,,
ASImasterterminal,,
Name,Description,功能介紹
Overview,FunctionblocksforaccessingtheASImasterterminal.,
FB_ASI_Addressing,,重新設(shè)置ASI的某個從站地址
FB_ASI_SlaveDiag,,讀取ASI從站診斷信息
FB_ASI_ReadParameter,,讀取ASI從站參數(shù)
FB_ASI_WriteParameter,,寫入ASI從站參數(shù)
FB_ASI_Processdata_digital,,
FB_ASI_ParameterControl,TheFB_ASI_ParameterControlrealizesthebackgroundcommunicationbetweentheASImasterterminalandtheindividualblocksoftheLib.,實現(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í)斷路位置測試和找到可能的破壞位置。在測試期間,如果沒有發(fā)現(xiàn)斷路位置,輸出變量BOXNO返回當(dāng)前環(huán)Lightbus模塊的數(shù)量。如果休息位置之前檢測到第n個模塊在接收機輸入前,打破標(biāo)志設(shè)置和模塊是通過輸出變量BOXNO提供的數(shù)量。如果BOXNO變量返回值0xff立即休息位置坐落在接收機輸入,并且不能。"
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模塊奇偶校驗錯誤計數(shù)器。和IOF_LB_ParityCheckWithReset比較,計數(shù)器
不能狀態(tài)不能重置。主站對每個模組都有一個字節(jié)的錯誤計數(shù)器,這些計數(shù)器不會溢出。最多256個字節(jié)的數(shù)據(jù),因此256計數(shù)器可以讀取。"
IOF_LB_ParityCheckWithReset,"TheIOF_LB_ParityCheckWithResetfunctionblockreadstheparityerrorcountersoftheBeckhoffLightbusmodules(e.g.BK2000).Thecountersarethenreset.Themastermaintainsan8-biterrorcounterforeachmodule.Thesecountersworkwithoutoverflow.Amaximumof256bytesofdata,andtherefore256counters,canberead.ThenumberoferrorcounterstobereadisspecifiedbytheinputvariablesLENandDESTADDR.If,forinstance,thereareonly5modulesinthering,thentheDESTADDRparametercanbesuppliedwiththeaddressofadatabufferof5bytes,andtheLENparametercanbesuppliedwiththevalue5.",讀取Beckhofflightbus模塊奇偶校驗錯誤計數(shù)器。計數(shù)器狀態(tài)能重置。主站對每個模組都有一個字節(jié)的錯誤計數(shù)器,這些計數(shù)器不會溢出。最多256個字節(jié)的數(shù)據(jù),因此256計數(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.,通過該功能塊實現(xiàn)發(fā)送10個字節(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,實現(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等),實現(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卡的其實指針和配置地址,地址指針可以被使用,例如直接讀寫
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卡的其實指針和配置地址,地址指針可以被使用,例如直接讀寫FCxxx-0002的卡或者第三方的DPRAM卡(該卡必須要通過TwinCAT配置為NOV/DP-RAM卡)。
然后通過MEMCPYMEMSET或MEMCMPPLC程序的函數(shù)可以用來寫/讀訪問任何內(nèi)存偏移量;其中和FB_GetDPRAMInfo區(qū)別在于,該功能塊可以實現(xiàn)對CX9000NOVRAM的讀取和寫入"
ProfibusDPV1(Sinamics),,
Name,Description,功能介紹
F_CreateDpv1ReadReqPkg,"The“F_CreateDpv1ReadReqPkg”functioncreatesaDPV1telegramforanFB_Dpv1ReadofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1).SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","該功能塊創(chuàng)建DPV1報文,通過該報文和FB_Dpv1Read讀取一個或者多個驅(qū)動或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動交換參數(shù)的字節(jié)順序。"
F_CreateDpv1WriteReqPkg,"The“F_CreateDpv1WriteReqPkg”functioncreatesaDPV1telegramforanFB_Dpv1WriteofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1).SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","該功能塊創(chuàng)建DPV1報文,通過該報文和FB_Dpv1Write寫入一個或者多個驅(qū)動或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動交換參數(shù)的字節(jié)順序。"
F_SplitDpv1ReadResPkg,"The“F_SplitDpv1ReadResPkg”functioncreatesaDPV1telegramforanFB_Dpv1ReadofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1).SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","該功能塊創(chuàng)建DPV1報文,通過該報文和FB_Dpv1Read讀取一個或者多個驅(qū)動或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動交換參數(shù)的字節(jié)順序。和F_CreateDpv1ReadReqPkg相比較,該功能塊返回實際DPV1報文長度。"
F_SplitDpv1WriteResPkg,"The“F_SplitDpv1WriteResPkg”functioncreatesaDPV1telegramforanFB_Dpv1WriteofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1).SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.
ThefunctionreturnstheactuallengthoftheDPV1telegraminbytes(max.240bytes).","該功能塊創(chuàng)建DPV1報文,通過該報文和FB_Dpv1Write讀取一個或者多個驅(qū)動或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動交換參數(shù)的字節(jié)順序。和F_CreateDpv1WriteReqPkg相比較,該功能塊返回實際DPV1報文長度。"
FB_Dpv1Read,"The“FB_Dpv1Read”functionblockreadsoneormoreparametersofaSinamicsProfidriveviaDPV1(ProfidriveSpecification3.1).TheDPV1readtelegrammustbecreatedwithF_CreateDpv1ReadReqPkgbeforearisingedgeispresentatbExecute.TheDPV1responsetelegrammustbeevaluatedwithF_SplitDpv1ReadResPkgafterafallingedgeappearsatbBusy.
Theexecutionofthisfunctionblockrequiressometime,dependingonthenumberofparameterstoberead.ThefunctionblocksendstheDPV1telegramandpollsforaresponsetelegram.",該功能塊通過DPV1((Profidrive規(guī)范3.1)讀取Profidrive的一個或者多個參數(shù)。DPV1的讀取的報文必須通過F_CreateDpv1ReadReqPkg創(chuàng)建
FB_Dpv1Write,The“FB_Dpv1Write”functionblockwritesoneormoreparametersofaSinamicsProfidriveviaDPV1(ProfidriveSpecification3.1).TheDPV1writetelegrammustbecreatedwithF_CreateDpv1WriteReqPkgbeforearisingedgeispresentatbExecute.TheDPV1responsetelegrammustbeevaluatedwithF_SplitDpv1WriteResPkgafterafallingedgeappearsatbBusy.,"該功能塊通過DPV1((Profidrive規(guī)范3.1)寫入Profidrive的一個或者多個參數(shù)。DPV1的寫入的報文
必須通過F_CreateDpv1ReadReq"
,,,
ProfinetDPV1(Sinamics),,
Name,Description,功能介紹
F_CreateDpv1ReadReqPkgPNET,"The“F_CreateDpv1ReadReqPkg”functioncreatesaDPV1telegramforanFB_Dpv1ReadPNETofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1)thatisconnectedviaProfinet.SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","該功能塊創(chuàng)建DPV1報文,通過該報文和FB_Dpv1ReadPNET讀取一個或者多個驅(qū)動或者西門Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動交換參數(shù)的字節(jié)順序。"
F_CreateDpv1WriteReqPkgPNET,"The“F_CreateDpv1WriteReqPkgPNET”functioncreatesaDPV1telegramforanFB_Dpv1WritePNETofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1)thatisconnectedviaProfinet.SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","創(chuàng)建DPV1報文,通過該報文和FB_Dpv1WritePNT寫入一個或者多個驅(qū)動或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動交換參數(shù)的字節(jié)順序。"
F_SplitDpv1ReadResPkgPNET,"The“F_SplitDpv1ReadResPkgPNET”functioncreatesaDPV1telegramforanFB_Dpv1ReadPNETofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1)thatisconnectedviaProfinet.SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","創(chuàng)建DPV1報文,通過該報文和FB_Dpv1ReadPNET讀取一個或者多個驅(qū)動或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動交換參數(shù)的字節(jié)順序。和F_CreateDpv1ReadReqPkg相比較,該功能塊返回實際DPV1報文長度。"
F_SplitDpv1WriteResPkgPNET,"The“F_SplitDpv1WriteResPkgPNET”functioncreatesaDPV1telegramforanFB_Dpv1WritePNETofoneormoreparametersofadriveorthecontrollerunitofaSinamicsProfidrive(ProfidriveSpecification3.1)thatisconnectedviaProfinet.SinceProfidrivesusetheMotorolaformatandIPCstheIntelformat,thefunctionautomaticallyswapsthebyteorderofparameterswithdatatypeswithmorethanonebyteintheDPV1telegram.","創(chuàng)建DPV1報文,通過該報文和FB_Dpv1WritePNET讀取一個或者多個驅(qū)動或者西門子Profidrive
(Profidrive規(guī)范3.1)的參數(shù)。無論驅(qū)動是摩托羅拉還是英特爾的數(shù)據(jù)格式,函數(shù)自動交換參數(shù)的字節(jié)順序。和F_CreateDpv1WriteReqPkg相比較,該功能塊返回實際DPV1報文長度。該功能塊通過DPV1((Profidrive規(guī)范3.1)寫入Profidrive的一個或者多個參數(shù)。DPV1的寫入的報文必須通過F_CreateDpv1ReadReq"
FB_Dpv1ReadPNET,The“FB_Dpv1ReadPNET”functionblockreadsoneormoreparametersofaSinamicsProfidriveviaDPV1(ProfidriveSpecification3.1)viaProfinet.TheDPV1readtelegrammustbecreatedwithF_CreateDpv1ReadReqPkgPNETbeforearisingedgeispresentatbExecute.TheDPV1responsetelegrammustbeevaluatedwithF_SplitDpv1ReadResPkgPNETafterafallingedgeappearsatbBusy.,"通過DPV1((Profidrive規(guī)范3.1)讀取Profidrive的一個或者多個參數(shù)。DPV1的讀取的報文必須通過
F_CreateDpv1ReadReqPkgPNET創(chuàng)建"
FB_Dpv1WritePNET,The“FB_Dpv1WritePNET”functionblockwritesoneormoreparametersofaSinamicsProfidriveviaDPV1(ProfidriveSpecification3.1)viaProfinet.TheDPV1writetelegrammustbecreatedwithF_CreateDpv1WriteReqPkgPNETbeforearisingedgeispresentatbExecute.TheDPV1responsetelegrammustbeevaluatedwithF_SplitDpv1WriteResPkgPNETafterafallingedgeappearsatbBusy.,"通過DPV1((Profidrive規(guī)范3.1)寫入Profidrive的一個或者多個參數(shù)。DPV1的寫入的報文必須通過
F_CreateDpv1WriteReqPkgPNET"
RAIDController,,
Name,Description,功能介紹
FB_RAIDFindCntlr,ThisfunctionreturnsthecountervalueoftheRAIDcontrollerandthecorrespondingcontrollerIDs.,讀取RAID控制器的數(shù)量和相應(yīng)控制器的ID號
FB_RAIDGetInfo,ThisfunctionblockreturnsaRAIDinfo.containingthenumberofRAIDcontrollersetsandthemaximumnumberofdrivesperset.,讀取RAID信息,包含磁盤陣列控制器的數(shù)量每組集和驅(qū)動器的最大數(shù)量。
FB_RAIDGetStatus,"ThisfunctionblockreturnstheRAIDsetindex,theRAIDtype,theRAIDstatus,thenumberofRAIDdrivesandthestatusoftheRAIDdrives.","讀取RAID設(shè)置索引,RAID類型,RAID狀態(tài),RAID驅(qū)動器和RAID驅(qū)動器的狀態(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ù)。如果沒有報錯,激活并保存在EEPROM。這個功能塊可以在EEPROM調(diào)整系統(tǒng)參數(shù)來適應(yīng)應(yīng)用程序
IOF_SER_ResetErr,"The“IOF_SER_ResetErr”functionblockclearsthefollowingerrorsofaSERCOSmaster:
?
Theerrorsintheexistingdrives;
?
Thediagnosticstatusinthediagnosticschanneloftheexistingdrives;
?
Thesystemerror;","清除SERCOS主站的以下報錯:
1.現(xiàn)有驅(qū)動器中的錯誤
2.診斷狀態(tài)在現(xiàn)有驅(qū)動的診斷通道
3.系統(tǒng)錯誤"
IOF_SER_SetPhase,The“IOF_SER_SetPhase”functionblockcarriesoutthephaseboot-upintheSERCOSringtoacertainvalue.,執(zhí)行SERCOS環(huán)的啟動階段到某個固定值
IOF_SER_IDN_Read,The“IOF_SER_IDN_Read”functionblockallowsavaluetobereadfromanS-orP-parameterofaSercosdrive.Datatypeandsizearedeterminedautomaticallyonthebasisoftheattribute.,讀取Sercos驅(qū)動的S-或者P-參數(shù),可以自動確認(rèn)數(shù)據(jù)類型和大小。
IOF_SER_IDN_Write,The“IOF_SER_IDN_Write”functionblockallowsavaluetobewrittentoanS-orP-parameterofaSercosdrive.Datatypeandsizearedeterminedautomaticallyonthebasisoftheattribute.,寫入SERCOS驅(qū)動的S-或者P-參數(shù),可以自動確認(rèn)數(shù)據(jù)類型和大小。
IOF_SER_DRIVE_Backup,The“IOF_SER_DRIVE_Backup”functionblockallowsthebackupandrestoreofthedrivedata(S-andP-parameters)ofthePLCinabinaryfile.ThelistofS-andP-parameterdatatobebackedupistakenbydefaultfromtheSercosparameterIDN192.BackupandrestorerequiretheSERCOSparametermode(phase2).,"通過PLC里面的二進制文件實現(xiàn)驅(qū)動的備份和恢復(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里面的二進制文件實現(xiàn)驅(qū)動的備份和恢復(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ū)動。驅(qū)動的報錯會被清除。
Thirdpartydevices,,
Name,Description,功能介紹
PhoenixIBSSC/I-T,,
Overview,ThelibraryoffersaconvenientpossibilitytoexecutethemostimportantfirmwareservicesofthePhoenixIBSSC/I-TinterbuscardforbuscontrolfromtheTwinCATPLC.Thefollowingdiagramillustratesthestatesandthetransitionconditionsofthebuscontrol.,該庫文件為控制旁路母線板卡提供了方便,快捷的方式
SCIT_ActivateConfiguration,"The""SCIT_ActivateConfiguration""functionblockservesasanauxiliaryblockinordertocarryoutanActivate_ConfigurationontheInterbuscardthatisaddressedbytheNETIDandthePORT.AnActivate_ConfigurationsetsthecardintheACTIVEstate.",通過NETID和端口號,激活旁路母線板卡,激活配置把板卡設(shè)置到活動狀態(tài)。
SCIT_DeactivateConfiguration,"The""SCIT_DeactivateConfiguration""functionblockservesasanauxiliaryblockinordertocarryoutaDeactivate_ConfigurationontheInterbuscardthatisaddressedbytheNETIDandthePORT.AnDeactivate_ConfigurationplacesthecardinthePAR_READYstateandresetsalltheoutputs.",通過NETID和端口號,禁用旁路母線板卡,禁用配置讓板卡處于PAR_READY狀態(tài)和重置所有的輸出。
SCIT_StartDataTransfer,"The""SCIT_StartDataTransfer""functionblockservesasanauxiliarybloc
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2023年電動開顱設(shè)備資金申請報告
- 生物必修1:2.5《細(xì)胞中的無機物》教案(遼寧適用)生物學(xué)
- 9 我們的影子(教案 )嶺南版美術(shù)二年級下冊1
- 黑龍江省伊春二中2025屆高三下學(xué)期一??荚嚮瘜W(xué)試題試卷含解析
- DB14-T 2778-2023 黃土丘陵區(qū)水土保持林營造技術(shù)規(guī)程
- 2024年工業(yè)噴墨打印頭項目投資申請報告代可行性研究報告
- 《機器學(xué)習(xí)-Python實踐》試卷8
- 2024年離婚協(xié)議書范文2024標(biāo)準(zhǔn)版新婚
- 15家車企保價協(xié)議書范文范本
- 婺源月亮灣服務(wù)區(qū)項目可行性研究報告
- 第四單元測試卷-2024-2025學(xué)年語文六年級上冊統(tǒng)編版
- 第五單元測試卷(單元測試)-2024-2025學(xué)年六年級上冊語文統(tǒng)編版
- 高一上學(xué)期第一次月考數(shù)學(xué)試卷(新題型:19題)(提高篇)(解析版)
- 2024年中國全空氣空調(diào)系統(tǒng)市場調(diào)查研究報告
- 北師大版2024-2025學(xué)年八年級數(shù)學(xué)上冊強化提分系列專題1.5勾股定理單元提升卷(北師大版)(學(xué)生版+解析)
- 2024年廣西柳州鹿寨縣事業(yè)單位招聘高層次(急需緊缺)人才11人歷年高頻500題難、易錯點模擬試題附帶答案詳解
- 2022年內(nèi)分泌醫(yī)療質(zhì)量控制評價體系與考核標(biāo)準(zhǔn)
- 24年注安-其他安全-必背考點-王培山
- 2.2.1函數(shù)概念(課件)高一數(shù)學(xué)(北師大版2019)
- 2024國考行測考試真題(地市級)
- Unit 3 All about me Lesson 1 Me and my body 教學(xué)設(shè)計 2024-2025學(xué)年冀教版2024英語七年級上冊
評論
0/150
提交評論