iQF FTP client

PLC - iQF - FTP connection between PC (win10) and FX5 PLC

This description shortly written what setup you have to establish on PLC side and on Win10 side to make data tranfer between PC (FTP server) and PLC (FTP Client). Please us this setup only for testing purpose.
Description contains as an attachment the PLC program

PLC settings:

1.      Setup your PLC Ethernet settings



 

2.      Setup an FTP Client, then apply settings

FTP server: 192.168.3.15

Login name: user

Password: user


3.      Program preparation

a.       Add your global labels to the system


b.      Add the following instructions to the FB Language POU


4.      Put the SD card into the PLC

5.      Download the project to the PLC

 

PC (WIN10) ftp settings:

1.      Type into the windows search bar Turn windows Features on or off

2.      Activate in the information services FTP server


3.      Wait for the activation

4.      Type into the windows search bar Windows Administrative Tools

a.       Start Internet Information Services (IIS) Manager



5.      Add FTP site



a.       Site information


b.   Binding and SSL information


c.       Authentication


6.       Add ftp user to the windows

a.       Windows search bar type Manage your Accounts

b.       Choose Family other users menu point

c.       Add someone else to this PC



                                                              i.      Create a user for this PC, fill out all required data

Because we already set PLC FTP  Client please add here the same username and password


7.      Continue FTP user adding method


8.      Firewall setup

a.       Type into the searchar Windows Defender Firewall

b.      Add FTP to the allowed application which can go through windows firewall


 


If not working then switch windows firewall off


9.     Security setup of the ftp folder



b.      Apply, ok,ok

 

Test

1.      Create a test  file in the ftp folder for example: 1.txt file

2.      Start watch window in GX Works 3

3.      Turn on bFTPGET

      4.   If awControlData[2] contains value 1 then file transfer was succesfull