![Omron Sysmac NY512-1300 User Manual Download Page 319](http://html.mh-extra.com/html/omron/sysmac-ny512-1300/sysmac-ny512-1300_user-manual_742451319.webp)
11-9
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
11-3 FTP Client Application Example
All FTP client functionality is executed with FTP client communications instructions. This section pro-
vides sample programming that uses the FTP client communications instructions.
This programming executes an SD Memory Card backup and then uploads all of the backup-related
files to the /Backup/yyyy-mm-dd directory on the FTP server.
The Controller is connected to the FTP server through an EtherNet/IP network. The settings of the
parameters to connect to the FTP server are given in the following table.
The following procedure is used.
1
The BackupToMemoryCard instruction is used to save NY-series Controller backup-related files
to the root directory on the Virtual SD Memory Card.
2
The FTPPutFile instruction is used to upload the backup-related files to the /Backup/yyyy-mm-
dd directory on the FTP server.
The wildcard specification *.* is used to specify the names of the files to transfer.
3
Normal end processing is executed if all processing ends normally. Processing for an error end
is performed if an error occurs.
Parameter
Value
IP address
192.168.250.2
UDP port number
21
User name
FtpUser
Password
12345678
Built-in EtherNet/IP port
Ethernet
FTP server
FTP client
IP address: 192.168.250.2
UDP port number: 21
User name: FtpUser
Password: 12345678
The backup-related files are uploaded
to the /Backup/yyyy-mm-dd directory on the FTP server.
Virtual SD
Memory
Card
Summary of Contents for Sysmac NY512-1300
Page 459: ......