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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example<br />

<strong>M238</strong> System Functions<br />

This example describes how to use the structured variable to get the versions<br />

values:<br />

VAR<br />

MyFirmwareVersion : FIRMWARE_VERSION;<br />

MyFwVersion : DWORD;<br />

MyBootVersion : WORD;<br />

MyCoProcVersion : WORD;<br />

END_VAR<br />

MyFirmwareVersion := GetFirmwareVersion();<br />

MyFwVersion := MyFirmwareVersion.FwVersion;<br />

MyBootVersion := MyFirmwareVersion.BootVersion;<br />

MyCoProcVersion := MyFirmwareVersion.AsicVersion;<br />

EIO0000000364 04/2012 29

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

Saved successfully!

Ooh no, something went wrong!