Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Sample Programming
This programming deletes all of the files in the /Backup/yyyy-mm-dd directory on the FTP server. It then
deletes the /Backup/yyyy-mm-dd directory too.
Files and directory
are deleted.
All files in the /Backup/yyyy-mm-dd directory
on the FTP server are deleted.
The /Backup/yyyy-mm-dd directory is also deleted.
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
TCP port number
User name
Password
The following procedure is used.
1
The FTPRemoveFile instruction is used to delete all of the files in the /Backup/yyyy-mm-dd
directory on the FTP server. The wildcard specification *.* is used to specify the names of the
files to delete.
2
The FTPRemoveDir instruction is used to delete the /Backup/yyyy-mm-dd directory from the
FTP server.
3
Normal end processing is executed if all processing ends normally. Processing for an error end
is performed if an error occurs.

NY-series Instructions Reference Manual (W560)

FTP server
IP address: 192.168.250.2
TCP port number: 21
User name: FtpUser
Password: 12345678
Value
192.168.250.2
21
FtpUser
12345678
2 Instruction Descriptions
Ethernet
FTP client
Built-in EtherNet/IP port
2
2-1145

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents