replacedfilezillaclient

filezillaclient  时间:2021-04-03  阅读:()
AppendixAExtendedFileSystemEXTENDEDFILESYSTEMFORFMDANDNANO-10PLCBeforeyoubegin,pleasedownloadasampleI-TRiLOGIprogramthatwillbereferredtothroughoutthismanualfromourwebsite:http://www.
tri-plc.
com/trilogi/ExtendedFileSystem.
zipA.
1IntroductionFMDandNano-10PLCswithr77orlaterfirmwaremaybeusedwithanewmodule:FRAM-RTC-256,which,asidefromadding11KwordsofFRAMandabattery-backedRTCmodule(likesitspredecessor:FRAM-RTC),alsoadds256KbytesofextendedfilespacetothePLC.
WithouttheFRAM-RTC-256,theFMDPLConlyhas60KbytesoffilememorytobeusedforstoringcontrolwebpagesasdescribedinChapter2.
9intheNano-10andFMDPLC'sUserManual.
(NotethedefaultfilespaceonFMDandNano-10PLCbeforefirmwarer77was64Kbytes,butithasbeenreducedto60Ktomakespaceforthenewr77firmware).
FRAM-RTC-256addsanadditional256KbytesoffilespacetothePLC.
Youcanusetheextendedfilespaceforstoringadditionalwebpages.
Butmoreimportantly,aPLCwithanewr77firmwarecanopenalocaldatafileinthisfilespaceandwrite/appenddatatoit.
ThePLCcanthereforelogalargeamountofdataintooneormoredatafiles,whichcanberetrievedforanalysis.
TherearetwowaystoretrievethestoreddatafilesfromthePLC:1.
DownloadthefilefromthePLC'sbuilt-inwebserver:ThefilecreatedbythePLCcanbedownloadedfromthePLC'sbuilt-inwebserverusinganywebbrowser.
Thisallowstheusertoaccessthedatafileatanytimeoftheday.
2.
AutomaticFTPuploadfromthePLCtoanexternalweb-server:YoucanprogramtheFMDorNano-10PLCtomakeanFTPclientconnectiontoanywebserveronthelocalnetworkorontheInternet/Cloudanduploadthedatafileithascreatedtotheweb-serverusinganyfilename.
ImaginewhattheFMDPLCorNano-10PLCcandowiththisnewuploadingcapability!
TheabilitytologdatalocallyandautomaticallyuploadthedatatoawebservertransformstheFMDPLCintoapotentdata-logger!
ThePLCcanbeprogrammedtocapturedaily,weeklyormonthlydataandthenperiodicallyuploadthedatafiletoanInternetwebserverwithaunique,time-stampedfilename(E.
g.
"temperaturelog2012-01-01.
xls").
ThisallowsthePLCtologdatacompletelyunattended.
AppendixAExtendedFileSystemThedatauploadedbythePLCtotheexternalwebservercanthereforebeviewedordownloadedintoaPCusinganywebbrowser,anywhereintheworld.
ThisallowsyoutocarryoutanalysisofpastloggeddatafileforperformanceordiagnosticanalysisatanytimewithouthavingtophysicallyaccessthePLCtoretrievetheloggeddata.
AdvantageofDataUploadingAlthoughitispossibletodirectlyaccessthePLC'sinternalwebservertodownloadthedatafileithascreated,thisrequireactiveactionbytheuserandtoensurethatthedataareretrievedbeforethefileisfullandhastobedeletedbythePLCtocreatespacetolognewdata.
ByprogrammingthePLCtouploadthedataperiodicallythePLCcandeletethefileafterithassuccessfullyuploadedthedatafiletofreeupspacetoacceptnewdata.
InotherwordsthePLCwillneverrunoutofdataspacetologdatasinceitcanstoretheloggedfilesonanyserverincludingtheCloud!
TodirectlyaccessthefilestoredonthePLCfromoutsideoftheLAN,youwillneedtosetuptherouterorfirewallto"forward"thePLC'sserverport(e.
g.
9080)tothePLC.
IfyouhavemultiplePLCsloggingdata,theneachPLCwillneedtohaveadifferentportnumberinordertoproperlyforwardthedata.
Thisnotonlycomplicatesthesetup,butalsoisoftenfrownuponbySystemAdministratorandmaynotevenbepermittedbythecorporatenetworksecuritypolicy.
ThePLCisdesignedtouploaddatatoanywebserverviaFTPpassivemodebyprovidingtheloginusernameandpassword.
UsingFTPpassivemodeallowsthePLCtoopenanetworkconnectiontoanexternalweb-servertouploadafileandthenclosetheconnectionimmediately.
ItdoesnotrequireopeningaportonyourroutertopermitexternalaccesstothePLCfromtheInternet.
Hencethereisnocomplicatedroutersetupinvolvedasthereisnoportforwardingrequired.
ItalsoeliminatesthesecurityriskfromsomeonetryingtotakecontrolofthePLCfromoutsideofyourLANandisgenerallymuchmoreacceptabletotheSystemAdministrator.
IfyouhavemultiplePLCsinuse,youcanprogrameachPLCtouploaddatatoadifferentdirectoryorappendadifferentfilenameprefix,ortodifferentservers,andonceprogrammedallPLCswillhappilylogdataunattendedindefinitely!
A.
2FileStructureandFileNamingofTheExtendedFileSystemAlloftheinformationinchapters2.
9and2.
10oftheNano-10andFMDUser'sManualregardingthebuilt-in60Kbytesofwebserverspacewillapplytotheextended256KbytesofdatafilestorageontheFRAM-RTC-256,withexceptiononthenamingschemewhichwillbeexplainedbelow:AppendixAExtendedFileSystem1.
AllfilesintheExtendedFilespacecanonlyusethefilename"Zxxx.
yyy".
2.
Thexxxpartofthebeginningofthefilenameisa3digitdecimalnumberwhichcanbeanynumberfrom000to127.
3.
The'yyy'partofthefilenameisthe"extension",andonlythefollowingMIMEextensionareacceptedbythePLC:HTM,JPG,GIF,CSS,JS,BIN,TXT,JAR,ZIP,XLSAnyotherextensionnameswillbereplacedwith"".
TheMIMEextensionarerespectedbythewebbrowserwhenyoudownloadafilefromthebuilt-inwebserversoyoushouldalwaysonlystorefileswithoneoftheaboveextension.
4.
Thefilespaceisdividedinto128"slots"witheach"slot"occupying2Kbytes.
Thefile"Z000.
yyy"occupiesthefirstslot,"Z001.
yyy"occupiesthe2ndslot.
.
,andthefile"Z127.
yyy"thelast2Kslot.
5.
Anyfilemayoccupymorethan1slotsoyoucanspecify"Z000.
yyy"tooccupytheentire256Kbytesofthefilespace.
Oryoucanconfigure"Z000.
yyy"tooccupythefirst5slots(10Ktotal)andthenextvalidfileshouldstartfromZ005.
yyywhichcanoccupythenext10slots(20Kbytestotal).
i.
e.
Ifyouwanttoallocate10KbytesoffilespacetofileZ000.
yyyyoucannotnotusenameanyfileZ001,Z002,Z003andZ004,otherwisethesefilewillcorruptthefilespaceofZ000.
yyy6.
Thismeansthattheprogrammerwillhavetodesignthefilespacecarefullyanddeterminehowtobestusethefilestructuretoprovidetherightbalancebetweenthenumberofdatafilesandtheamountofdataspaceallocatedtoeachdatafile.
Note:ThefilenamerestrictiononlyappliestofilesstoredonthePLC'sinternalfilespace.
WhenyouusetheFTPuploadfunctiondescribedlater,youcanspecifyanydestinationfilenameaslongastheyareacceptabletotheexternalFTPserver.
A.
3TransferringFilesToThePLC'sWebServerIfyouareonlyusingtheextendedfilespaceforthepurposeofstoringadditionalwebpagesonthebuilt-inwebserver,thenyoucanusetheFTPclientsoftwaresuchasFileZillaclienttotransfertheprogramtothePLC.
Section2.
9ofthePLCUser'sManualdescribesindetailshowtoconfiguretheFileZillaclienttocommunicatewiththePLC.
Pleasetakenotethatfilesthatarename0.
yyy,1.
yyy……toT.
yyyareonlystoredonthePLC'sonchipflashmemory.
OnlyfilesthatarenamedZ000.
yyy,Z001.
yyy….
Z127.
yyyarestoredontheFRAM-RTC-256asexplainedinthelastsection.
AppendixAExtendedFileSystemA.
4AccessingTheExtendedDataFilesUsingTBASICFMDandNano-10PLCwithr77firmwarecanaccesstheextendeddatafilespace(i.
e.
onlyfilenamesfromZ000.
yyytoZ128.
yyy)fromwithinTBASIC.
ThePLCcanopenanewfileforwritingnewdata(essentiallydeletingtheoldfilecontent),oropenanexistingfileandappenddatatotheendofthefile.
ItcanalsoopenafileandreaddatafromthefileasASCIIstrings.
ItcanachievethisbyusingthePRINT#8andINPUT$(8)functions,whichwillbedescribedindetailsinthefollowingsections.
A.
4.
1OpenAFileForWritingNewDataSyntax:PRINT#8""where"Zxxx.
yyy"isthefilename.
Ifsuccessfullyexecuted,the""commandwillopenthefileandsetthefilepointertothebeginningofthefile.
ThereafterthePLCcanstartwritingASCIIdatatothefileusingthePRINT#8command.
[Note:thePRINT#8commandautomaticallyappendsacarriagereturntotheendofthestringdataunlessthestringdataisterminatedwithasemi-colon(';')].
WhenthePLChascompletedwritingdata,itmustclosethefilebyexecutingthecommand:PRINT#8"".
E.
g.
PRINT#8""PRINT#8"ThecurrentGreenwichMeanTimeis"PRINT#8STR$(TIME[1]);":";STR$(TIME[2]);":";"00"PRINT#8""TheCPUshouldusetheSTATUS(2)commandtocheckwhetherthehasbeensuccessfullyexecutedbeforebeginwritingdatatoit.
STATUS(2)commandreturnsa1if""operationissuccessfulandreturnsa'0'iftheoperationfailed.
Thefollowingaresomepossiblereasonsthatcouldcausethe""commandtofail:a)ApreviouslyopenedFilewasnotclosed.
TheCPUcanonlywritetoasinglefileatatimesoanyopenedfilemustbeclosedbythePRINT#8""commandbeforeanotherfilecanbeopenedforwriting.
b)TheFRAM-RTC-256isnotinstalled.
ThePLCcanonlywritedatatotheextendeddatafilespace(i.
e.
filenameZxxx.
yyy)whichareonlyavailableifanFRAM-RTC-256isinstalled.
AppendixAExtendedFileSystemA.
4.
2OpenAFileForAppendingDataToTheEndOfTheFileSyntax:PRINT#8""where"Zxxx.
yyy"isthefilename.
Ifsuccessfullyexecuted,the""commandwillopenthefileandsetthefilepointertotheendofthefile.
ThereafteranystringdatafollowingaPRINT#8commandwillbeapendedtotheendofthefile.
WhenthePLChascompletedappendingdata,itmustclosethefilebyexecutingthecommand:PRINT#8"".
Asperthe""command,theCPUshouldalsousetheSTATUS(2)commandtocheckwhetherthecommandhasbeensuccessfullyexecutedbeforebeginwritingdatatoit.
Sincethesamereasonsthatcouldcausea""commandtofailwouldalsocausethe""commandtofail,pleaserefertothelastsectiononalistofpossiblecausesoffailure.
ExamplePRINT#8""S=STATUS(2)'Status(2)returns1ifsuccessful.
IFS1RETURN:ENDIFFORI=1to100PRINT#8STR$(I,4)+":ThisistheAppendedfirstline"PRINT#8STR$(I,4)+":ThisistheAppendedsecondline"SETLCD1,1,"Append#"+STR$(I,4)NEXTPRINT#8""'closethefileA.
4.
3DeleteAFileSyntax:PRINT#8""where"Zxxx.
yyy"isthefilenameofthefiletobedeleted.
Thereisnoneedtocloseadeletedfile.
A.
4.
4OpenAFileForReadingSyntax:PRINT#8""where"Zxxx.
yyy"isthefilenameofthefiletobeopenedforreading.
IfthefilehasbeensuccessfullyopenedforreadingafterexecutionofthePRINT#8""command,thePLCcanstarttoretrieveASCIIdatafromthefileline-AppendixAExtendedFileSystemby-lineusingtheINPUT$(8)command.
AlineiseitherastringthatisterminatedwithaCarriageReturncharacter(ASCII13),orisa70-characterlongstring(whichisthemaximumlengthofanystringvariablesA$toZ$)withoutcarriagereturn.
IneithercasethereturnstringdoesnotcontaintheCRcharacteritself.
ThePLCcancheckifafilehasbeensuccessfullyopenedforreadingusingtheSTATUS(2)functionAFTERexecutingthePRINT#8""command.
STATUS(2)willonlyreturna1ifafilehasbeensuccessfullyopened.
ThePLCcandetermineiftheEnd-of-File(EOF)hasbeenreachedusingtheSTATUS(2)functionaftereveryINPUT$(8)commandhasbeenexecuted.
STATUS(2)returnsa255iftheEOFhasbeenreached.
ThePLCshouldthenclosethefilebyexecutingthe"PRINT#8""command.
A$=""S=STATUS(2)IFS0SETLCD1,1,"FailedtoOpenFile"GOTO@100ENDIFC=0PRINT#8A$SETLCD1,1,A$WHILE1A$=INPUT$(8)S=STATUS(2)IFS=255EXIT:ENDIF'S=255meansEOFSETLCD2,1,A$DELAY50'Sothatreadercanreadfromthescreen.
C=C+1ENDWHILESETLCD1,1,"Read"+STR$(C)+"lines"@100PRINT#8""'closetheopenedfileAppendixAExtendedFileSystemA.
5SettingUpTheFileZillaFTPServerOneimportantcapabilityofthenewPLCwithr77firmwareistheabilitytouploadfilecreatedbythePLCtoanexternalserveronalocalareanetworkorontheInternetviatheFTPprotocol.
IfyouhaveaccesstoanFTPusernameandpasswordonyourcompany'sserver(oriftheSysAdminisauthorizedtosetupanaccountforyou)youcancertainlyuseyourownaccountfortesting.
Ifnot,youcandownloadthefreeFilezillaFTPServerandsetitupfortesting.
The"ExtendedFileSystem.
PC6"hasanFTPuploaddemoanditwasconfiguredtoworkwithaFileZillaFTPserver.
UsingFilezillahastheadvantagethatyoucanseetheloginsequenceperformedbythePLCwhenitattemptstoconnecttotheFTPServersothatitiseasiertotroubleshootconnectionproblem.
(Forprofessionalgradetroubleshooting,onehandyprogramtohaveisthe"Wireshark"programwhichisaTCP/IPpacketsnifferthatallowsyoutolookattheactualTCP/IPpacketssentbetweenyourPCandthePLC).
However,itisimportanttosetuptheFilezillaserverprogramproperlytominimizeconnectiontrouble.
A.
5.
1DownloadandSetupFTPServer1.
FirstdownloadtheFileZillaserverinstallerfromthefollowingwebsite:http://filezilla-project.
org/download.
phptype=server2.
Runthe"FileZillaServerInterface"programwhichismeantformanagingtheFTPServersettings.
3.
IftheFileZillaServerisrunningonthesamePCthatyouarerunningtheFileZillaServerInterfaceprogramthenyoucanusethelocalhostIPaddresswhichis127.
0.
0.
1–thePortcanbeanythingsincethisisaclientportthattheInterfaceAppendixAExtendedFileSystemprogramisusingtointeractwiththeFTPServer(don'tbeconfusedwiththeFTPServerlisteningportwhichisbydefault=21).
4.
IfthisisthefirsttimeyouruntheprogramaftersettingupFilezillaFTPServertherewillbenoAdministrationpasswordsoyoucanleaveitblank.
ClickOKtoconnect.
5.
Click"Edit->Settings"andthen"GeneralSettings->Welcomemessage"–leaveonlyonelineofwelcomemessagesothatthePLChaslessworktodo.
ThenclickOKtoacceptthechange.
6.
Click"Edit–>Users"inordertosetupausernameandpasswordforyourtest.
The"ExtendedFileSystem.
PC6"programusesausername="PLC"andpassword="1234"soforaquicktestyoumayliketosetupthesameusernameandpassword:7.
Atthe"General"pageofthesetupscreen,click"Add"buttonatthe"Users"panetoaddausername"PLC".
Sincenogrouphasbeendefinedsimplyleavethedefaultas""inthesecondtextboxasshowninthefollowingdiagram.
AppendixAExtendedFileSystem8.
Nextclick"Sharedfolders"pageandyoumustsetupafolderthatistobeusedtoreceiveuploadedfile.
Click"Add"atthe"Directories"panetoaddthefolder.
YoucanchooseanyfolderonyourPCtobeusedfortheFTPuploadandyoujusthavetorememberthelocationsothatyoucanlookfortheuploadedfilelaterinthetest.
However,makesurethatyoucheckallthecheckboxesfor"Read","Write","Append"etcasshowninthediagram.
9.
Click"OK"tocompletethesetup.
TheFTPservershouldnowbewaitingforconnection.
A.
5.
2TestingConnectionToTheFTPServerUsingTelnetYoucannowtesttheFTPServerusingtheFileZillaclientasmentionedinChapter2.
9ofthePLCUser'sManual.
AppendixAExtendedFileSystemButabetterwaytotestistousethe"Telnet"programonyourPC(ifyouarerunningWindowsVistaorWindows7youmayneedtoenabletheTelnetprogramsinceitisdisabledbydefault–doaquickGooglesearchonhowtoenabletheTelnetclientsoftwareonyourPC).
AlsoyoumaywanttofindouttheIPaddressofyourPCthatisrunningtheFileZillaServer.
IfyouhaveTLServerrunningonyourPCyourIPaddressisreportedontheTLServer'sfrontpanel.
YoucanalsogettheIPaddressfromtheWindows"NetworkConnectionStatus"asshownbelow.
OurtestPChasanIPaddress=192.
168.
1.
168whichwillbeusedinthefollowingtestsaswellasusedinthePLCprogramtoconnecttotheFTPServer.
1.
Firstopenacommandpromptwindowandthentype"telnet192.
168.
1.
16821"-thiswillopenatelnetconnectiontotheFTPserveronourtestPCwithIPaddress192.
168.
1.
168andlisteningatport21.
PleasereplacetheIPaddresswiththeactualIPaddressofyourPC.
Thefollowingscreenshotcapturesthetestsequence.
Notethatthesamecommand/responsesequencewiththeserverisalsoshownontheFileZillaServerInterfaceprogramfrontpanel:AppendixAExtendedFileSystemUSERPLCPASS12342.
Onceyougetthe"230LoggedOn"messageyouknowthattheFTPsetupisdonecorrectly.
NotethatthewelcomemessagefromtheFTPServershowsonlyoneline"220FileZillaServerVersionx.
xx"whichiswhatwehavesetituptobe.
YoucannowdisconnectfromtheFTPserverbytyping"Quit"atthecommandprompt.
3.
ThereisonemorethingsyouneedtodobeforeyouproceedtotesttheFTPuploadfeaturesofthePLCtoavoidconnectionproblem–thatistotemporarilyTURNOFFtheWindowsFirewallandanysoftwarefirewallsetupbyanti-virussoftwareduringyourtest.
Youcanalwaysre-enableyoursoftwarefirewall(s)afterthetestifyouwish.
PCoperatingsystemaredesignedtorunclientprogramnormallyinsteadofactingasaserversoWindowsFirewallbydefaultistoblockallincomingconnectionstotheFTPServer.
ThusitcangiveyoualotofheadachewhenyouaretryingtoconnecttotheFTPserveroperatingbehindtheWindowsFirewall.
Notes:a)ThemainpurposeofWindowsFirewallistoprotectyourPCwhenyouareconnectedtosayapublicwi-finetwork.
ButifyourPCisconnectedtotheInternetviaarouteratworkorathome,therouterhardwareitselfwouldactasafirewalltoisolateyourPCsandasoftwareFirewallisactuallyredundant.
(IfahackertriedtoconnecttoaporttoyourpublicInternetIPaddresswhathereachedwouldbetheportontherouterandhewouldnotbeabletoreachyourPCunlessyouhavespecificallysetuptoforwardallTCP/IPmessagessenttothatporttoaspecificPC).
AppendixAExtendedFileSystemb)IfyoureallywanttousetheFilezillaFTPServerasapermanentserveronaPCtoreceivefiles,andstillwanttohavetheWindowsFirewallenabled,youcanrefertothelastsectioninthischapterwhichdescribeshowtodoit.
AppendixAExtendedFileSystemA.
6UploadingFileFromPLCtoFileZillaFTPServerDirectoryA.
6.
1OverviewofTheFTPProtocolTheFTPprotocolrequirestwosocket-connectionsbetweenthedevicesperformingthefiletransfer.
Oneconnectionisthe"command"channelwhereFTPcommandssuchasSTORorDELEandtheresponsesaresentasplainASCIItextstringsbetweentheFTPclientandtheFTPserver.
Thesecondconnectionisthe"data"channelwhereonlythefilecontentorthefiledirectorydataarebeingtransferred.
Therearetwotransfermodes:"Active"modeand"Passive"mode.
Activemoderequiresthattheserverestablishadataconnectionbacktotheclient.
Passivemodeontheotherhand,requiresthattheclientalsobetheonetoestablishthedataconnection.
i.
e.
Forpassivemode,boththecommandandthedataconnectionsareperformedbytheclient(thePLCinthiscase).
ThePLChasbeendesignedtouseonlypassivemodetotransferfiletotheFTPserver.
PassivemodeispreferredbecausethatistheonlywaytotransferfileiftheFTPServerislocatedontheInternet.
ThealternativeactivemodetransferrequirestheservertomakeadataconnectionbacktothePLCthatissittingbehindarouterfirewall,andthatcanbeproblematicunlesstherouterisspecificallyconfiguredtoforwardthedataporttothePLC.
A.
6.
2PLCFTPUploadProcedureInordertouploadfiletotheFTPServer,thePLCwouldusethePRINT#4""commandtagtoconnecttotheFTPserverport21toestablishthe"command"connectiontotheFTPServer.
ThePLCusesitsPRINT#4tosendandINPUT$(4)toreceiveASCIItextstringsfromtheFTPserverviathecommandchannel.
ThePLCwouldthensendthecommand"PASV"toinformtheFTPserverthatitwantstotransferafileinpassivemode.
AtthispointyoucanusethePRINT#4commandtosendanyvalidFTPcommandtotheserver,includingchangingdirectory(CWDcommand–makesurethedirectoryexist),deletingafile(DELEcommand–bewareofwhatyouaredeleting!
)etc.
WhenthePLCisreadytostartafiletransfertotheFTPserver,theserverwillinturnprovidethePLCwiththeportnumberthatithasopenedforthePLCtoconnecttoestablishadataconnection.
UponreceivingthisportnumberthePLCwillmakeasecondTCPconnectiontothegivenportandthentheactualfiletransferwillbegin.
Anew,networkservicecommandtagnamed"FTPUPLD"handlesthenegotiationbetweentheFTPServerandthePLCaswellashandlingofthedatatransferfromthePLCtotheFTPserver.
Thefollowingisthesyntax:PRINT#4""AppendixAExtendedFileSystemWhere:Zxxx.
yyyisthefilenameoftheextendedfilethatthePLChasaccessto.
The[destinationfilename]canbeanylegalnameacceptabletotheserversoyoucanattachadateortimestamptothefilenameforeasyidentifications.
Whentheabovecommandisrun,thePLCwillsendtheactual"STOR"commandinthebackgroundtotheFTPserverandthenobtaintheportnumberfromtheserveranditwillthenmakeadataconnectiontoit,andfiletransfercanthenbegin.
A.
6.
3MonitoringTheFTPUploadProgressOncethefiletransferbeginsthePLCfirmwarewillhandletherestofthefiletransferuntileitherthefilehasbeencompletelytransferredorthetransferisabortedduetoanetworkorservertrouble.
YoucanmonitortheprogressofthefiletransferusingeithertheSTATUS(4)orSTATUS(20)functions.
STATUS(4)=0:FTPclientwasidleorlastFTPfailed1:FTPdatatransferjuststarted2:1stFTPsegmenttransferred,nowtransferringtherest3:FTPdatatransfercompleted.
STATUS(20)>0:NumberofbytesuploadedtoFTPServer.
Transferisinprogress.
<0:Totalnumberofbytesuploaded.
Transfercompleted.
Forexample,If2,345byteshasbeenuploadedtotheserverandthetransferhasended,STATUS(20)willreturnthenumber=–2345.
Sincefiletransfercantakesubstantialamountoftimetocomplete,itisnotwisetorunalooptowaitforthefiletransfertocompletesincethiswillblockthePLCfromprocessinganyotherpartoftheprogram.
Thedemo"ExtendedFileSystem.
PC6"showsyouhowtosetupamonitoringfunctiontoperiodicallymonitortheprogressofthefiletransferandreportthetransferstatusontheLCDdisplay.
Pleaserefertothecommentsinthecustomfunction"fnConnFTP"and"fnMonFTP"ofthe"ExtendedFileSystem.
PC6"programformoredetaileddescriptionsofeachcommandinvolvedintheFTPfiletransfer.
AppendixAExtendedFileSystemA.
7SettingUpAFTPServerBehindaWindowsFirewall.
PleaserefertothefollowingMicrosoftdocumentdescribingissuesandsolutionsrelatedtoFTPserverbehindtheWindowsFirewall.
http://technet.
microsoft.
com/en-us/library/dd421710(WS.
10).
aspxMicrosoftfocusesmainlyontheFTPserverintheirIISserver(forobviousreasons)insteadofFilezilla.
IfyouaresettingFilezillaasapermanentFTPserverbehindasoftwarefirewallyoucantrytomakethefollowingconfigurationsetup:1)YoumustspecificallysetuparangeofportnumberforPassivemodeuse.
ThesearetheportnumberthatFilezillawillassigntothePLCtomakeadatachannelconnectionwhenitattemptstotransferafileusingpassivemode.
ThefollowingisanexamplewheretwoportnumbersareassignedsothattwoPLCsmayconnecttotheFilezillasimultaneously.
YoucanaddalargerportrangeifmorePLCsmayconnecttotheFTPServersimultaneously.
Next,openupWindowsFirewallandaddtotheExceptionlisttheport21(commandport)andports41000to41001(orwhateverrangelimityouhavesettointheFileZillaSetupscreen).
ThisshouldallowtheFTPServertoreceiveconnectionfromtheseportsthatthePLCwillbeusingtomakethecommandanddataconnections.
AppendixAExtendedFileSystem

bgpto:BGP促销,日本日本服务器6.5折$93/月低至6.5折、$93/月

bgpto怎么样?bgp.to日本机房、新加坡机房的独立服务器在搞特价促销,日本独立服务器低至6.5折优惠,新加坡独立服务器低至7.5折优惠,所有优惠都是循环的,终身不涨价。服务器不限制流量,支持升级带宽,免费支持Linux和Windows server中文版(还包括Windows 10). 特色:自动部署,无需人工干预,用户可以在后台自己重装系统、重启、关机等操作!bgpto主打日本(东京、大阪...

CUBECLOUD:香港服务器、洛杉矶服务器、全场88折,69元/月

CUBECLOUD(魔方云)成立于2016年,亚太互联网络信息中心(APNIC)会员,全线产品均为完全自营,专业数据灾备冗余,全部产品均为SSD阵列,精品网络CN2(GIA) CU(10099VIP)接入,与当今主流云计算解决方案保持同步,为企业以及开发者用户实现灵活弹性自动化的基础设施。【夏日特促】全场产品88折优惠码:Summer_2021时间:2021年8月1日 — 2021年8月8日香港C...

spinservers:10Gbps带宽高配服务器月付89美元起,达拉斯/圣何塞机房

spinservers是一家主营国外服务器租用和Hybrid Dedicated等产品的商家,Majestic Hosting Solutions LLC旗下站点,商家数据中心包括美国达拉斯和圣何塞机房,机器一般10Gbps端口带宽,且硬件配置较高。目前,主机商针对达拉斯机房机器提供优惠码,最低款Dual E5-2630L v2+64G+1.6TB SSD月付89美元起,支持PayPal、支付宝等...

filezillaclient为你推荐
外挂购买外挂什么意思网红名字被抢注想用的微博名被人抢注了 而且是个死号 没发博没粉丝 该怎么办刘祚天你们知道21世纪的DJ分为几种类型吗?(答对者重赏)地陷裂口天上顿时露出一个大窟窿地上也裂开了,一到黑幽幽的深沟可以用什么四字词语来?百花百游“百花竟放贺阳春 万物从今尽转新 末数莫言穷运至 不知否极泰来临”是什么意思啊?www.zjs.com.cn我的信用卡已经申请成功了,显示正在寄卡,怎么查询寄卡信息?www.36ybyb.com有什么网址有很多动漫可以看的啊?我知道的有www.hnnn.net.很多好看的!但是...都看了!我想看些别人哦!还有优酷网也不错...bihaiyinsha以前在碧海银沙游戏城的那个打气球的游戏叫什么?国风商讯国风塑钢质量怎么样www.mm.com找几个有美女图片的网址
独立ip虚拟主机 org域名 host1plus z.com 免费网站监控 godaddy xfce 2017年万圣节 debian源 java空间 数字域名 me空间社区 股票老左 购买国外空间 shopex主机 网购分享 免费的asp空间 lamp是什么意思 云销售系统 双十二促销 更多