7
COMMUNICATION USING BUILT-IN ETHERNET
PORTS OF CPU MODULE
7.6 File Transfer Function (FTP)
7 - 35
1
Overview
2
Performance
Specification
3
Sequence Program
Configuration and
Execution Conditions
4
I/O Nunber Assignment
5
Memories and Files
Handled by CPU Module
6
Functions
7
Communication using
built-in Ethernet ports of
CPU module
8
Communication with
Intelligent Function
Module
open
[Function]
Connects to the FTP server based on a specified host name or IP address
and port number on the FTP server side.
[Specification format]
open Host name [Port number]
open IP address [Port number]
Host name: Host name set in Microsoft Windows hosts file
IP address: Built-in Ethernet port QCPU IP address
Port number: Port number to be used
[Specification example1]
When connecting to the FTP server by specifying a host name
open HOST
[Specification example2]
When connecting to the FTP server by specifying an IP address
open 192.0.1.254
[Note]
Connection is also possible by specifying an IP address when FTP is
started up.
put
[Function] Writes a file to the Built-in Ethernet port QCPU.
[Specification format]
put Transfer source file path name [Transfer destination file path name]
[Specification example1]
When writing the MAINSEQ1.QDR file to the SRAM card with the same file
name
put MAINSEQ1.QDR1:\MAINQDR1.QDR
[Specification example2]
When writing the MAINSEQ.QDR file to the SRAM card with a different file
name
put MAINSEQ.QDR1:\MAINQDR1.QDR
[Note]
• When the transfer destination file path name (FTP client side) is not
specified, the files on the current directory of which when FTP is started
up and connected to the server are written.
• When the transfer destination file path name (FTP server side) is not
specified, the files are saved in the memory in which the parameter files
used during the current operation are stored.
pwd
[Function] Displays the current directory name of the Built-in Ethernet port
QCPU.
[Specification format] pwd
[Note] "\" is displayed as the execution result of the "pwd" command.
quit
[Function] Disconnects the FTP server connection and ends the FTP function.
[Specification format] quit
[Identical function] bye