beautypg.com

4 sequence download – Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 207

background image

11 - 8

YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL

11.8.4 Sequence Download

BOOL Download(CHAR*pfile_name, HWND,Char*pProjname,charpProgname)

BOOL STS=TRUE/FALSE

pfile_name[64];

Name of download file with path
(i.e. c:¥test¥test¥main.bin)

pProjname[64];

Project name, no extension name

pProgname[64];

Program name, such as main, no extension name

HWND

Handling number of WIZDOM’s main window

HWND: WIZDOM handling is obtained from the WIZDOM application.

When an error occurs, the following message is displayed in the message box.

Download Status Display

The download status is shown as follows:

Message Contents

Meaning

Ladder Check Sum Error

Sequence sum value is wrong.

Communication Error

An error occurred during communication.

Communication Time Out

There is no response.

Port Open Error

Port is not open.

Download File Open Error

Download file cannot be opened.

Ladder Running

Sequence is executing.

Already Used

It has already been used.