Preview only show first 10 pages with watermark. For full document please download

Fiche Technique - Support

   EMBED


Share

Transcript

Function Block Reference Revision Author Date + Support FTP_Client 1.0 JP Viskovic 05/10/2012 http://support-omron.fr/ OMRON ELECTRONICS S.A.S. 14 Rue de Lisbonne 93561 Rosny-sous-Bois cedex FTP Client for NJ Controlleur Function File Controller Symbol File transfer with an FTP server FTP_Client_NJ.zip Controller NJ3 and NJ5 Principe Function block FTP_GET and FTP_PUT allow to establish a FTP connection on port 21 with a FTP server and to transfer files. Function Block FTP_Client_NJ Input Variables Name Enable Server_IPaddr NJ_IPaddr User Password Path Get_File Put_File Output Variables Name Busy Done Error ErrorID Status FTP Client for NJ Type BOOL STRING STRING STRING STRING STRING range OFF-ON w.x.y.z w.x.y.z 12 charact max 32 charact max 127 charact. max BOOL OFF-ON Type BOOL BOOL BOOL UINT STRING range OFF-ON OFF-ON OFF-ON 0000-FFFF Function ON = FB execution Server IP Address Controller IP Adress IP Login password Complet path of the file ex : ‘MyDocuments’ Or ‘MyDocuments/DocOmron’ GET or PUT command execution Function FB executing the command Execution completed Execution error flag Error Code (see below) Comment on Step or error Error Code of output variable ‘ErrorID’: JPV code 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 140A 140B 140C 140D Errors related to the SD card memory SD Memory Card Access Failure SD memory Card Write-protected SD Memory Card Insufficient Capacity File does not exist Too many files/directories File already in use Open Mode mismatch Offset out of range Directory not empty That file name already exists Write access denied Too many files open Directory does not exist File or directory name is too long code 2000 2001 2002 2003 2004 2006 2007 2008 Errors related to the socket Local IP address setting error TCP/UDP port already in use Address resolution failed Status error Local IP address not set Socket Timeout Socket handle out of range Socket communication resource overflow 05/10/2012 Page 2/2