7
COMMUNICATION USING BUILT-IN ETHERNET
PORTS OF CPU MODULE
7.6 File Transfer Function (FTP)
7
- 25
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
Remark
To access the CPU module via a router, set the "Subnet mask pattern" and the
"Default router IP address" settings as well. (
(b) Operation on external device (FTP client) side
The procedure and required processing on the external device side when using
the FTP server function of Built-in Ethernet port QCPU are described below.
FTP operation commands used in each operation and their input methods are
also described. (<ret> indicates an input of the CR, Enter or Return key.)
Figure 7.26 FTP client side operation procedure
Start
Start up FTP client.
(ftp<ret>)
(open IP address of the QnUDE(H)CPU<ret>)
(quote password-unlock Remote password<ret>)
(quote password-lock
<ret>)
(bye<ret>)
NO
NO
File write
File read
(binary<ret>)
(dir<ret> or Is<ret>)
(binary<ret>)
(dir<ret> or Is<ret>)
(quote keyword-set
File password<ret>)
(get File name<ret>)
(quote keyword-set
File password<ret>)
(delete File name<ret>
rename Current file name
New file name<ret>)
(put File name<ret>)
NO
YES
YES
YES
NO
YES
NO
NO
YES
NO
YES
YES
NO
YES
Log-in to the QnUDE(H)CPU.
Unlock the remote password.
Lock the remote password.
Disconnect the connection
with the QnUDE(H)CPU.
End
Is the FTP
targeted for the remote
password check?
Is the FTP
targeted for the remote
password check?
Has the file
transfer operation
completed?
File read or file write?
Notify that the file will
not be converted.
Notify that the file will
not be converted.
Check the file list in the CPU.
Is it OK to overwrite?
Does the write
target file exist?
Check the file list in the CPU.
Enter the file password.
Enter the file password.
Write the file.
Read the file.
Delete the file with the same
name. Or change the file name.
Does the read
target file exist?
Is a file
password set for
the target file?
Is a file
password set for
the target file?