EasyManua.ls Logo

Omron Sysmac NJ-series - Page 379

Omron Sysmac NJ-series
578 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11-13
11 FTP Client
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
11-3 FTP Client Application Example
11
11-2-2 Restrictions on the FTP Client Communications Instructions
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;

Table of Contents

Other manuals for Omron Sysmac NJ-series

Related product manuals