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.

Read the Reception Buffer COMIN<br />

Syntax<br />

Programming error causing a CPU fault<br />

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

SINT16 COMIN(UINT8 portno, UINT8 *buffer, UINT16 no)<br />

Access to a prohibited address:<br />

- *buffer parameter error,<br />

- *buffer+nb outside authorised area<br />

Send a Buffer COMOUT<br />

Syntax<br />

Programming error causing a CPU fault<br />

SINT8 COMOUT(UINT8 portno, UINT8 *buffer, UINT16 no)<br />

Access to a prohibited address:<br />

- *buffer parameter error,<br />

- *buffer+nb outside authorised area<br />

Read the Status of a Serial Line COMREG<br />

Syntax<br />

16.4.9.5 Managing the Transparent Mode<br />

UINT16 COMREG(UINT8 portno)<br />

The operation and parameters of these <strong>function</strong>s are the same as for the <strong>ladder</strong> <strong>function</strong>s (see Chapter 8).<br />

Send a Character to the Display EMIV<br />

Syntax<br />

void EMIV(UINT8 char)<br />

char: Character or character code (see Sec. 8.3.4.1)

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

Saved successfully!

Ooh no, something went wrong!