01.07.2013 Views

Library manual M238 system functions | 2 MB - BERGER - POSITEC

Library manual M238 system functions | 2 MB - BERGER - POSITEC

Library manual M238 system functions | 2 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.

<strong>M238</strong> System Variables<br />

Example<br />

The following example shows the use of some System Variables:<br />

VAR<br />

myCtr_Serial : DWORD;<br />

myCtr_ID : WORD;<br />

myCtr_FramesRx : UDINT;<br />

END_VAR<br />

myCtr_Serial := PLC_R.i_dwSerialNumber;<br />

myCtr_ID := PLC_R.i_wVendorID;<br />

myCtr_FramesRx := SERIAL_R[0].i_udiFramesReceivedOK;<br />

14 EIO0000000364 04/2012

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

Saved successfully!

Ooh no, something went wrong!