Omron CJ1W-ETN21 operation manual FTP Server Application Example, Confidential

Models: CJ1W-ETN21

1 242
Download 242 pages 30.9 Kb
Page 96
Image 96

FTP Server Application Example

Section 4-4

4-4 FTP Server Application Example

The following procedure shows how to use the FTP server by connection with the default login name, CONFIDENTIAL. No password is required.

Note The login name and a password must be set in the CPU Bus Setup for the Ethernet Unit in the CPU Unit to use any login name other than

CONFIDENTIAL.

Note When general-purpose FTP software is used, files can be transferred and read using a graphical user interface similar to Explorer.

1,2,3... 1. Make sure that a Memory Card is inserted in the CPU Unit and turn ON the power supply to the PLC. If EM File Memory is to be used, create the EM File Memory.

2.Connect to the FTP server from a computer on the Ethernet by entering the text that is underlined in the following diagram.

IP address of the Ethernet Unit

$ ftp 150.31.2.83

connected to 150.31.2.83

Results

220 **IPaddress** CS1W-ETN21 FTP server(FTP**version**)ready

Name:CONFIDENTIAL Login name

230 Guest logged in.

3.Enter FTP commands (underlined in the following diagram) to read and write files. The following directory tree is used in this example.

/:root

EM

MEMCARD

ABC (subdirectory)

DEF.IOM (file)

File names read

Results

Change to MEMCARD directory

Results

Transfer DEF.IOM from ABC directory

Results

72

Page 96
Image 96
Omron CJ1W-ETN21 operation manual FTP Server Application Example, Confidential