Ftp Client Application Example - Omron NY532-5400 User Manual

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

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.
FTP server
The backup-related files are uploaded
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.
Parameter
IP address
UDP port number
User name
Password
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.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
IP address: 192.168.250.2
UDP port number: 21
User name: FtpUser
Password: 12345678
Virtual SD
Memory
Card
Value
192.168.250.2
21
FtpUser
12345678
Ethernet
FTP client
Built-in EtherNet/IP port
11 FTP Client
11
11-9

Advertisement

Table of Contents
loading

Table of Contents