Mitsubishi Electric MELSEC iQ-RJ71EN71 User Manual page 128

Ethernet
Hide thumbs Also See for MELSEC iQ-RJ71EN71:
Table of Contents

Advertisement

Command name
Description
mdir
Function
Specification format
Example
Caution
Similar command
mget
Function
Specification format
Example
Caution
mls
Function
Specification format
Example
Caution
Similar command
mput
Function
Specification format
Example
Caution
open
Function
Specification format
Example 1
Example 2
Caution
put
Function
Specification format
Example 1
Example 2
Caution
1 FUNCTIONS
126
1.9 File Transfer Function (FTP server)
Stores the detailed information (file name, date of creation, volume) of the file stored in the CPU module in the
FTP client side file as log data.
mdir "source drive name":\"destination file path name"
When storing the detailed information of file stored in data memory into 20120702.LOG file
mdir 4:\20120702.LOG
• Always specify "\" immediately after the source drive name.
• Always specify the source drive name when specifying the destination file path name (FTP client side).
• If the destination file path name is not specified, the file is stored with the file name determined by the FTP
client's FTP application.
• The transfer destination is in the currently connected directly when FTP is started and connected.
mls
Reads a file from the CPU module.
When reading multiple files, specify the file name and extension in the file path name with wild cards (*, ?).
When reading multiple files, receive is confirmed before transferring each file.
mget "file path name"
When reading all files with "CSV" extension from files stored in SD memory card
mget 2:\*.CSV
• The read file is stored with the same file name in the FTP client side. The storage destination is in the current
connection directory when the FTP is started and connected.
Stores the file name of the file stored in the CPU module in the FTP client side file as log data.
mls "source drive name":\"destination file path name"
When storing the file name of file stored in SD memory card into 20120702.LOG file
mls 2:\20120702.LOG
• Always specify "\" immediately after the source drive name.
• Always specify the source drive name when specifying the destination file path name (FTP client side).
• If the destination file path name is not specified, the file is stored with the file name determined by the FTP
client's FTP application.
• The transfer destination is in the currently connected directly when FTP is started and connected.
mdir
Writes the file to the CPU module.
When writing multiple files, specify the file name and extension in the file path name with wild cards (*, ?).
When writing multiple files, send is confirmed before transferring each file.
mput "source file path name"
When writing all files with "PRG" extension
mput*.PRG
• The storage destination file name is the same as the FTP client side.
• The transmission destination is the data memory (drive 4 "4:\").
Specifies the host name or IP address and port number on the FTP server side, and connects with the FTP
server.
open "host name" [port number]
open "IP address" [port number]
• Host name: Host name set with Microsoft
• IP address: IP address of the Ethernet-equipped module side
• Port number: Port number to be used (If omitted, port number 21 is used for operation)
When specifying the host name and connecting to the FTP server
open HOST
When specifying the IP address and connecting to the FTP server
open 192.0.1.254
The IP address can be specified to create a connection when starting the FTP.
Writes the file to the CPU module.
put "source file path name" [destination file path name]
When writing the param.PRM file to the SD memory card with the same file name
put param.PRM 2:\param.PRM
When writing the param.PRM file to the SD memory card with a different file name
put param.PRM 2:\param1.PRM
• If the directory is not specified with the source file path name (FTP client side), the file in the current connection
directory when the FTP server is started and connected is written.
• If the destination file path name (FTP server side) is not specified, the file is transferred to the data memory
(drive 4 "4:\").
Windows
hosts file

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents