Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
The data type of ConnectSvr is structure _sFTP_CONNECT_SVR. The specifications are as follows:
Name
ConnectSvr
Adr
PortNo
UserName
Password
*1 A separate DNS or Hosts setting is required to specify a host name.
*2 You can use the following single-byte characters: A to Z, a to z, 0 to 9, - (hyphen), . (period), and _ (underbar).
*3 If you specify 0, TCP port number 21 is used.
*4 You can use the following single-byte characters: A to Z, a to z, 0 to 9, - (hyphen), . (period), and _ (underbar).
You can also use \ and @ for a CPU Unit with unit version 1.16 or later.
*5 The NULL character at the end must be counted in the number of bytes.
*6 For CPU Units with unit version 1.08, specify a text string of one character or more. An error will occur if you
specify a text string that contains only the final NULL character.
The data type of RemoveFileResult[] is structure _sFTP_FILE_RESULT. The specifications are as
follows:
Name
RemoveFile
Result
Name
TxError
RemoveError
Reserved
*1 The file name extension is included.
Using Wildcards to Specify File Names
You can use wildcards to specify the names of the files to delete.
Wildcard specifications are the same as those for the FTPGetFile instruction (page 2-1120). Refer to
the specified page for details.
2-1142
Meaning
Description
Connected
Setting parameters for
FTP server
the connected FTP
settings
server
IP address or host
Address
*1
name
TCP port number of FTP
Port number
server control
connection
User name on FTP
User name
server
Password
FTP server password
Meaning
Description
Deleted file
Transferred file results
results
e*1
Transferred file name
File nam
TRUE: Transfer ended
in an error.
Transfer error
FALSE: Transfer ended
normally.
TRUE: Deletion ended
in an error.
Deletion error
FALSE: Deletion ended
normally.
Reserved
Reserved by the system.
Data type
Valid range
_sFTP_CONN
---
ECT_SVR
STRING
1 to 200 bytes
*3
UINT
0 to 65535
33 bytes
STRING
*4*5*6
max.
33 bytes
STRING
*4*5*6
max.
Data type
Valid range
_sFTP_FILE_
---
RESULT
256 bytes max.
(255 single-byte
alphanumeric
STRING
characters plus
the final NULL
character)
BOOL
Depends on
data type.
BOOL
ARRAY[0..3]
---
Of Byte

NY-series Instructions Reference Manual (W560)

Unit
Default
---
---
*2
---
---
Unit
Default
---
---
---
---
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents