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.

Return code<br />

If OK<br />

n >= 0 Number of characters copied into &buffer.<br />

Error<br />

-1: n_port invalid<br />

Line not initialised<br />

No full duplex with Xon/Xoff flow <strong>control</strong><br />

Programming error causing a CPU fault<br />

Access to a prohibited address:<br />

- &buffer parameter error,<br />

- &buffer+nb outside authorised area.<br />

PERIPHERAL<br />

12 - 8 en-938846/7<br />

Transmission to<br />

machine processor<br />

MONITOR<br />

256-CHARACTER<br />

CIRCULAR BUFFER<br />

Figure 12.2 - Reception of a buffer<br />

Function<br />

comin()<br />

Function<br />

comin()<br />

USER PROGRAMME<br />

RECEPTION<br />

BUFFER<br />

RECEPTION<br />

BUFFER<br />

@ %M.n<br />

@ %M.n +1

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

Saved successfully!

Ooh no, something went wrong!