EasyManuals Logo
Home>Omron>Controller>NX102-12 Series

Omron NX102-12 Series User Manual

Omron NX102-12 Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #425 background imageLoading...
Page #425 background image
12-3
FTP Client Application Example
FTP client functionality is executed with FTP client communications instructions. This section provides
sample programming that uses the FTP client communications instructions.
This program 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.
Built-in EtherNet/IP port
E
thernet
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 /Bac
kup/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 pa-
rameters to connect to the FTP server are given in the following table.
Parameter Value
IP address 192.168.250.2
UDP port number 21
User name FtpUser
Password 12345678
The following procedure is used.
1 The BackupToMemoryCard instruction is used to save backup-related files of a NJ/NX-series
Controller to the root directory on the 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 performed if the operation is normally completed. Error end process-
ing is performed if an error occurs.
LD
Internal
variables
Variable Data type Initial value Comment
FTPPutFile_in-
stance
FTPPutFile Instance of FTPPutFile in-
struction
FTPAddr _sFTP_CON-
NECT_SVR
(Adr := '', PortNo := 0, User-
Name := '', Password := '')
Connected FTP server
settings
12 FTP Client
12-9
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
12-3 FTP Client Application Example
12

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX102-12 Series and is the answer not in the manual?

Omron NX102-12 Series Specifications

General IconGeneral
BrandOmron
ModelNX102-12 Series
CategoryController
LanguageEnglish

Related product manuals