7
COMMUNICATION USING BUILT-IN ETHERNET
PORTS OF CPU MODULE
7.6 File Transfer Function (FTP)
7
- 35
1
O
verv
iew
2
Per
fo
rma
nce
S
p
ecifica
tio
n
3
S
equ
en
ce P
ro
g
ra
m
Co
nfig
ura
tio
n a
nd
E
xecut
io
n Co
nd
iti
o
ns
4
I/O N
unb
er
Assig
n
m
e
nt
5
Me
mor
ie
s a
nd
File
s
Ha
nd
led
by CP
U Mo
du
le
6
Func
tions
7
Co
mmu
nic
a
tion
us
in
g
bu
ilt
-i
n E
th
e
rne
t po
rt
s o
f
CP
U mod
u
le
8
Co
mm
un
icatio
n
w
ith
Int
e
lli
ge
nt
Fun
ction
Mo
du
le
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
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......