![Omron Sysmac NY512-1300 User Manual Download Page 323](http://html.mh-extra.com/html/omron/sysmac-ny512-1300/sysmac-ny512-1300_user-manual_742451323.webp)
11-13
11 FTP Client
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
11
-3 FT
P Clien
t Ap
plication
Examp
le
11
FTPPutFile_instance(
Execute := TRUE, // Execution
ConnectSvr := FTPAddr, // Connected FTP server
SvrDirName := '/Backup/yyyy-mm-dd',// FTP server directory name
LocalDirName := '/', // Local directory name
FileName := '*.*', // File name
PutFileResult := PutResult) ; // Uploaded file results
IF (FTPPutFile_instance.Done = TRUE) THEN
Stage := INT#0; // Normal end
ELSIF (FTPPutFile_instance.Error = TRUE) THEN
Stage := INT#20; // Error end
END_IF;
0: // Processing after normal end
DoFTPTrigger:=FALSE;
Trigger :=FALSE;
ELSE // Processing after error end
DoFTPTrigger:=FALSE;
Trigger :=FALSE;
END_CASE;
END_IF;
Summary of Contents for Sysmac NY512-1300
Page 459: ......