APPENDICES
Appendix 7.5 Size for file writing by dedicated instruction
Binary writing
Word
specification
CSV format
conversion
Byte
specification
Appendix 7.6 Size of data written to file by FTP server function
App - 73
The size of data written to the file by a dedicated instruction can be obtained from the
following.
(1) WFWRITE instruction
WFS = DTN
2
WFS = (Data character string length ( 1) + Comma (1))
LINE = DTN / No. of columns
WFS = (Data character string length ( 2) + Comma (1))
LINE = (DTN 2) / No. of columns
1 Data character string length is 1 to 6 depending on the specified device value.
2 Data character string length is 1 to 4 depending on the specified device value.
WFS: Size of data written to the file by the WFWRITE instruction
DTN: No. of request data to be written (in units of words)
LINE: No. of lines
(2) FTPGET instruction
FCS = File size specified by the FTPGET instruction
FCS: Size of the file to which data are written by the FTPGET instruction (FTP client function)
The size of data written to the file by the FTP server function can be obtained from the
following.
FSS = Size of the file which transfer is specified on the FTP client side
FSS: Size of the file written by the FTP server function
Formula
DTN + Line feed (1)
DTN x 2 + Line feed (1) LINE
Formula
Formula
MELSEC-Q
LINE
App - 73