15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programming error causing a CPU fault<br />

Access to a prohibited address:<br />

- *pOld_Ptr parameter error.<br />

16.4.9.12 Directory Management<br />

Only the user directory is accessible. Three primitives are available to read the contents of this directory.<br />

Open User Directory USER_OPEN_DIR<br />

Syntax<br />

Parameters<br />

Inputs: None<br />

Outputs: None<br />

REMARK A directory is open for read only.<br />

16 - 30 en-938846/7<br />

SINT32 USER_OPEN_DIR()<br />

Close User Directory USER_CLOSE_DIR<br />

Syntax<br />

SINT32 USER_CLOSE_DIR()<br />

Description<br />

Closes the user directory opened by the primitive «USER_OPEN_DIR».<br />

Parameters:<br />

Inputs: None<br />

Outputs: None<br />

Read User Directory USER_READ_DIR<br />

Syntax<br />

SINT32 USER_READ_DIR(UINT8 *pBuf, UINT32 No_Requested, UINT32*No_Read)<br />

Parameters<br />

Inputs: pBuf: Data receive buffer.<br />

No_Requested: Number of bytes to be read.<br />

Outputs: No_Read: Number of bytes effectively read. If this number is less than the number requested, the<br />

end of the directory was reached.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!