![Ascon tecnologic CU-02 Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/ascon-tecnologic/cu-02/cu-02_user-manual_2981523033.webp)
27
Chapter 5
CPU TFTP File Access
5-1
TFTP Protocol Access
The CU-02 unit allows the user to access to the device using the TFTP (Trivial File
Transfer Protocol). With this protocol it is possible to upload or download device
configuration, the IEC61131 program, the retained variables and error log files.
For security reasons, the name and the number of the accessible files are limited
and fixed. The following table lists the accessible files:
To connect the unit the user needs the IP address of the device (see
“ETHERNET
Setup Menu” on page 12
for details) and the logic port used, whic is always
69
for
the TFTP. The TFTP protocol has only two different services:
•
GET
•
PUT
The GET service allows the user to upload a file from the CU-02 unit, while the
PUT service allows files to be downloaded.
Using the TFTP client present in the Windows installation (please see
C:\Windows\System32\tftp.exe
) the possible commands are:
•
To GET a file from the MP01
tftp –i <remote host address> get <remote file_name><local file name>
•
To PUT a file to the MP01
tftp –i <remote host address> put <local file name><remote file_name>
For example, if the user wants to GET the configuration file from the CU-02 unit,
and store it in a local file named “
configuration.bin
”, the command is:
tftp -i 192.168.5.11 get /fs1/sys_file configuration.bin
where the IP address of the MP01 is 192.168.5.11.
If the user wants to PUT the IEC61131 program file to the CU-02 unit, using the
source file “
Sigma2_CU-02.prs
”, the command will be:
tftp -i 192.168.5.11 put Sigma2_CU-02.prs /fs1/restore_file
Please note that the application binary file that contains the program compiled
with OpenPCS is located in the project folder “
project_root/$GEN$/
Resource
” and has always the name “
Sigma2_CU-02.prs
”.
File Name
Description
/fs1/restore_file
Name of the IEC61131 program file
/fs1/sys_file
Name of the configuration file
/fs1/errlog_file
Name of the RUNTIME errors file
/fs2/retain
Name of the classic retained variable file
/fs2/perc_ret
Name of the % retained variable file
Содержание CU-02
Страница 1: ...sigmadue Control Unit CU 02 User Manual M U CPU CB CU 02 5 14 04 Cod J30 478 1A CU02 E...
Страница 26: ...Sigmadue sigmaPAC CU 02 User manual 20...
Страница 32: ...Sigmadue sigmaPAC CU 02 User manual 26...
Страница 44: ...Sigmadue sigmaPAC CU 02 User manual 38...
Страница 46: ...Sigmadue sigmaPAC CU 02 User manual 40...