01.07.2013 Views

Programming manual M238 | 3 MB - BERGER - POSITEC

Programming manual M238 | 3 MB - BERGER - POSITEC

Programming manual M238 | 3 MB - BERGER - POSITEC

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.

ASI_CmdSetDataExchange<br />

Description<br />

Graphical Representation<br />

AS-Interface Library<br />

This function enables or disables the data exchange between AS-Interface Master<br />

and Slave Modules. The data exchange is active after reset.<br />

IL and ST Representation<br />

To see the general representation in IL or ST language, refer to the chapter Function<br />

and Function Block Representation (see page 227).<br />

I/O Variables Description<br />

The following table describes the input variables:<br />

Input Type Comment<br />

xExecute BOOL Rising edge: action starts.<br />

Falling edge: resets outputs. If a<br />

falling edge occurs before the<br />

function block has completed its<br />

action, the outputs operate in the<br />

usual manner and are only reset if<br />

either the action is completed or in<br />

the event of an error has been<br />

detected. In this case, the<br />

corresponding output values<br />

(xDone,xError, iError) are<br />

present at the outputs for exactly<br />

one cycle.<br />

xDataExchangeActive BOOL TRUE= enables the data<br />

exchange.<br />

FALSE= disables the data<br />

exchange.<br />

EIO0000000384 04/2012 211

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

Saved successfully!

Ooh no, something went wrong!