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

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

Advertisement

If an error occurs when deleting the source file after the upload, the value of PutFileResult[].RemoveEr-
ror changes to TRUE.
With an NY-series Controller, files are downloaded into the shared folder (Virtual SD Memory Card).
Before downloading files to the Virtual SD Memory Card, you must make the settings for the Virtual SD
Memory Card. Refer to the NY-series Industrial Panel PC / Industrial Box PC Software User's Manual
(Cat. No. W558) for details on a Virtual SD Memory Card.
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 PutFileResult[] is structure _sFTP_FILE_RESULT. The specifications are as follows:
Name
PutFileResult
Name
TxError
RemoveError
Reserved
*1 The file name extension is included.

NY-series Instructions Reference Manual (W560)

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
Uploaded file
Transferred file results
results
*1
Transferred file name
File name
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.
2 Instruction Descriptions
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
Unit
Default
2
---
---
*2
---
---
Unit
Default
---
---
---
---
0
2-1131

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents